Skip to content
Generate floating bubbles
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
HYBubbleButtonDemo.xcodeproj
HYBubbleButtonDemo
HYBubbleButtonDemoTests
screenshot
.gitignore
LICENSE
README.md

README.md

HYBubbleButton

screenshot

@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;
You can’t perform that action at this time.