Reorganized Project Changed Namescape

This commit is contained in:
Brandon Withrow
2017-02-07 15:14:48 -08:00
parent c5ee28dedd
commit b79d34bd40
106 changed files with 2147 additions and 2055 deletions

View File

@@ -18,7 +18,7 @@
@end
@implementation LACharacterCell {
LAAnimationView *animationView_;
LOTAnimationView *animationView_;
NSString *character_;
}
@@ -74,7 +74,7 @@
return;
}
character_ = sanitizedCharacter;
LAAnimationView *animationView = [LAAnimationView animationNamed:sanitizedCharacter];
LOTAnimationView *animationView = [LOTAnimationView animationNamed:sanitizedCharacter];
animationView_ = animationView;
animationView_.contentMode = UIViewContentModeScaleAspectFit;
[self.contentView addSubview:animationView_];

View File

@@ -22,7 +22,7 @@ typedef enum : NSUInteger {
@property (nonatomic, assign) ViewBackgroundColor currentBGColor;
@property (nonatomic, strong) UIToolbar *toolbar;
@property (nonatomic, strong) UISlider *slider;
@property (nonatomic, strong) LAAnimationView *laAnimation;
@property (nonatomic, strong) LOTAnimationView *laAnimation;
@end
@@ -186,7 +186,7 @@ typedef enum : NSUInteger {
self.laAnimation = nil;
[self resetAllButtons];
self.laAnimation = [[LAAnimationView alloc] initWithContentsOfURL:[NSURL URLWithString:URL]];
self.laAnimation = [[LOTAnimationView alloc] initWithContentsOfURL:[NSURL URLWithString:URL]];
self.laAnimation.contentMode = UIViewContentModeScaleAspectFit;
[self.view addSubview:self.laAnimation];
[self.view setNeedsLayout];
@@ -197,7 +197,7 @@ typedef enum : NSUInteger {
self.laAnimation = nil;
[self resetAllButtons];
self.laAnimation = [LAAnimationView animationNamed:named];
self.laAnimation = [LOTAnimationView animationNamed:named];
self.laAnimation.contentMode = UIViewContentModeScaleAspectFit;
[self.view addSubview:self.laAnimation];
[self.view setNeedsLayout];

View File

@@ -129,14 +129,14 @@
- (id<UIViewControllerAnimatedTransitioning>)animationControllerForPresentedController:(UIViewController *)presented
presentingController:(UIViewController *)presenting
sourceController:(UIViewController *)source {
LAAnimationTransitionController *animationController = [[LAAnimationTransitionController alloc] initWithAnimationNamed:@"vcTransition1"
LOTAnimationTransitionController *animationController = [[LOTAnimationTransitionController alloc] initWithAnimationNamed:@"vcTransition1"
fromLayerNamed:@"outLayer"
toLayerNamed:@"inLayer"];
return animationController;
}
- (id<UIViewControllerAnimatedTransitioning>)animationControllerForDismissedController:(UIViewController *)dismissed {
LAAnimationTransitionController *animationController = [[LAAnimationTransitionController alloc] initWithAnimationNamed:@"vcTransition2"
LOTAnimationTransitionController *animationController = [[LOTAnimationTransitionController alloc] initWithAnimationNamed:@"vcTransition2"
fromLayerNamed:@"outLayer"
toLayerNamed:@"inLayer"];
return animationController;

View File

@@ -11,7 +11,7 @@
@interface LottieRootViewController () <UITableViewDelegate, UITableViewDataSource>
@property (nonatomic, strong) LAAnimationView *lottieLogo;
@property (nonatomic, strong) LOTAnimationView *lottieLogo;
@property (nonatomic, strong) UIButton *lottieButton;
@property (nonatomic, strong) UITableView *tableView;
@property (nonatomic, strong) NSArray *tableViewItems;
@@ -23,7 +23,7 @@
- (void)viewDidLoad {
[super viewDidLoad];
[self _buildDataSource];
self.lottieLogo = [LAAnimationView animationNamed:@"LottieLogo1"];
self.lottieLogo = [LOTAnimationView animationNamed:@"LottieLogo1"];
self.lottieLogo.contentMode = UIViewContentModeScaleAspectFill;
[self.view addSubview:self.lottieLogo];