JWMessageBubble
仿QQ消息提示数的粘性小球
Install / Use
/learn @CoderJWYang/JWMessageBubbleREADME
JWMessageBubble
###仿QQ中消息提示数的粘性小球
###How to use
// 创建对象,并设置添加位置大小以及所处父视图
GooView *bubble = [[GooView alloc] initWithFrame:CGRectMake(100, 100, 10, 10) superView:self.view];
// 显示信息
bubble.messageCount = @"100";
// 颜色
bubble.bigCircleColor = [UIColor redColor];
// 圆半径
bubble.bigCircleRadius = 20;
// 弹性系数
bubble.viscosity = 0.1;
[bubble setup];
###Properties
// 父控件view
@property (nonatomic, strong) UIView *superView;
// 消息数量
@property (nonatomic, strong) NSString *messageCount;
// 大圆的半径
@property (nonatomic, assign) CGFloat bigCircleRadius;
// 大圆的颜色
@property (nonatomic, strong) UIColor *bigCircleColor;
// 弹性系数
@property (nonatomic, assign) CGFloat viscosity;
###MyBlog http://www.jianshu.com/p/58a36d93aaf6
Related Skills
node-connect
339.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate 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
339.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
