mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-21 18:13:26 +00:00
Reorganized Project Changed Namescape
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
@interface ViewController ()
|
||||
|
||||
@property (nonatomic, strong) LAAnimationView *lottieLogo;
|
||||
@property (nonatomic, strong) LOTAnimationView *lottieLogo;
|
||||
|
||||
@end
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
|
||||
self.lottieLogo = [LAAnimationView animationNamed:@"LottieLogo1"];
|
||||
self.lottieLogo.contentMode = LAViewContentModeScaleAspectFill;
|
||||
self.lottieLogo = [LOTAnimationView animationNamed:@"LottieLogo1"];
|
||||
self.lottieLogo.contentMode = LOTViewContentModeScaleAspectFill;
|
||||
self.lottieLogo.frame = self.view.bounds;
|
||||
self.lottieLogo.autoresizingMask = NSViewWidthSizable | NSViewHeightSizable;
|
||||
|
||||
|
||||
1111
Example/Pods/Pods.xcodeproj/project.pbxproj
generated
1111
Example/Pods/Pods.xcodeproj/project.pbxproj
generated
File diff suppressed because it is too large
Load Diff
@@ -10,9 +10,9 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#import "LAAnimationTransitionController.h"
|
||||
#import "LAAnimationView.h"
|
||||
#import "LAAnimationView_Compat.h"
|
||||
#import "LOTAnimationTransitionController.h"
|
||||
#import "LOTAnimationView.h"
|
||||
#import "LOTAnimationView_Compat.h"
|
||||
#import "Lottie.h"
|
||||
|
||||
FOUNDATION_EXPORT double LottieVersionNumber;
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#import "LAAnimationTransitionController.h"
|
||||
#import "LAAnimationView.h"
|
||||
#import "LAAnimationView_Compat.h"
|
||||
#import "LOTAnimationTransitionController.h"
|
||||
#import "LOTAnimationView.h"
|
||||
#import "LOTAnimationView_Compat.h"
|
||||
#import "Lottie.h"
|
||||
|
||||
FOUNDATION_EXPORT double LottieVersionNumber;
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>SchemeUserState</key>
|
||||
<dict>
|
||||
<key>lottie-ios-Example.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>SuppressBuildableAutocreation</key>
|
||||
<dict>
|
||||
<key>6003F589195388D20070C39A</key>
|
||||
<dict>
|
||||
<key>primary</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>6003F5AD195388D20070C39A</key>
|
||||
<dict>
|
||||
<key>primary</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -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_];
|
||||
|
||||
@@ -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];
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user