mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-19 22:22:06 +00:00
Update AppIconTableViewCell.m
This commit is contained in:
parent
18ee4e871f
commit
d63ee3a9f3
1 changed files with 7 additions and 3 deletions
|
|
@ -8,11 +8,15 @@
|
|||
[self setUpAnimation];
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
}
|
||||
|
||||
- (void)setupUI {
|
||||
self.contentView.backgroundColor = [UIColor colorWithRed:240.0/255.0 green:240.0/255.0 blue:240.0/255.0 alpha:1.0];
|
||||
self.contentView.backgroundColor = [UIColor colorWithRed:240/255.0 green:240/255.0 blue:240/255.0 alpha:1.0];
|
||||
|
||||
self.bgCardView.backgroundColor = [UIColor whiteColor];
|
||||
self.bgCardView.layer.cornerRadius = 8.0;
|
||||
self.bgCardView.layer.cornerRadius = 8;
|
||||
self.bgCardView.layer.masksToBounds = YES;
|
||||
self.bgCardView.layer.shadowColor = [UIColor blackColor].CGColor;
|
||||
self.bgCardView.layer.shadowOffset = CGSizeZero;
|
||||
|
|
@ -27,7 +31,7 @@
|
|||
- (void)playAnimation {
|
||||
self.animationView.hidden = NO;
|
||||
self.animationView.animation = [Animation named:@"tick"];
|
||||
self.animationView.loopMode = LOTAnimationLoopModePlayOnce;
|
||||
self.animationView.loopMode = AnimationPlayOnce;
|
||||
|
||||
[self.animationView playWithCompletion:^(BOOL finished) {
|
||||
self.animationView.hidden = YES;
|
||||
|
|
|
|||
Loading…
Reference in a new issue