Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions Example/BAShimmerButton/BAViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -49,22 +49,8 @@ - (void)viewDidLoad {

}

//- (void)hidebut {
// BAShimmerButton * button = (BAShimmerButton*)[self.view viewWithTag:105];
// [self addCircularMask:button];
// [button wiggleButton];//@NO skips the animation
//}
- (void)viewDidLayoutSubviews {
if(self.firstLoad && [self.buttonExamples count] > 0){
// NSInteger tag = 105;
// BAShimmerButton * button = (BAShimmerButton*)[self.view viewWithTag:tag];
// [self addCircularMask:button];
// button.backgroundColor = [UIColor colorWithHex:0x22313F];
// button.shimmerColor = [UIColor colorWithHex:0x3498db];
// button.iconOffImageColor = [UIColor colorWithHex:0xfffffff];
// button.iconImage = [UIImage imageNamed:@"icon"];
// [button showButtonWithAnimation:@NO];//@NO skips the animation

for(int i = 0; i < [self.buttonExamples count]; i++) {
NSInteger tag = 101 + i;
BAShimmerButton * button = (BAShimmerButton*)[self.view viewWithTag:tag];
Expand Down
Loading