MFLFillableTextLoader
Loading slash progress indicator based on filling stroked text.
Install / Use
/learn @MattFoley/MFLFillableTextLoaderREADME
MFLFillableTextLoader
Loading/progress indicator based on filling stroked text.

Code Example
You can create an MFLFillableTextLoader either in a xib or in code. Here is a short code example:
//Main text that will be stroked and filled.
self.loader = [[MFLFillableTextLoader alloc] initWithString:@"Loading..."
font:[UIFont boldSystemFontOfSize:28]
alignment:NSTextAlignmentCenter
withFrame:CGRectMake(0, 0, 320, 400)];
//Subheading displayed describing load
NSAttributedString *details = [[NSAttributedString alloc] initWithString:@"Never tell me the odds."];
[self.loader setDetailText:details];
//Set the font used for the percentage of the load displayed.
[self.loader setProgressFont:[UIFont systemFontOfSize:18]];
//Properties used for stroking/filling the text.
[self.loader setStrokeColor:UIColorFromRGB(0xe5b13a)];
[self.loader setStrokeWidth:4];
Usage
After creation, you can then add it to a UIView as a subview, and update the progress as you need to. It will automatically update it's fill.
[self.view addSubview:self.loader];
[self.loader setProgress:<Progress 0.0 - 1.0>];
Further Customization
You can find a much more detailed example in the sample project found in this repo, with examples of both xib creation and in code, as well as an example animation to use.
Related Skills
node-connect
351.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
