@interface HYBubbleButton : UIButton
- (instancetype)initWithFrame:(CGRect)frame
maxLeft:(CGFloat)maxLeft
maxRight:(CGFloat)maxRight
maxHeight:(CGFloat)maxHeight;
@property (nonatomic, assign)CGFloat maxLeft;
@property (nonatomic, assign)CGFloat maxRight;
@property (nonatomic, assign)CGFloat maxHeight;
@property (nonatomic, assign)CGFloat duration;
@property (nonatomic, strong)NSArray *images;
- (void)generateBubbleWithImage:(UIImage *)image;
// you have to set images first.
- (void)generateBubbleInRandom;
-
Notifications
You must be signed in to change notification settings - Fork 9
Generate floating bubbles
License
nathanwhy/HYBubbleButton
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Generate floating bubbles
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published