mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-24 04:58:59 +00:00
add NS_SWIFT_NAME annotations for swiftier constructors
This commit is contained in:
@@ -13,10 +13,9 @@ typedef void (^LOTAnimationCompletionBlock)(BOOL animationFinished);
|
||||
|
||||
@interface LOTAnimationView : LOTView
|
||||
|
||||
+ (instancetype)animationNamed:(NSString *)animationName;
|
||||
+ (instancetype)animationNamed:(NSString *)animationName inBundle:(NSBundle *)bundle;
|
||||
+ (instancetype)animationFromJSON:(NSDictionary *)animationJSON;
|
||||
|
||||
+ (instancetype)animationNamed:(NSString *)animationName NS_SWIFT_NAME(init(name:));
|
||||
+ (instancetype)animationNamed:(NSString *)animationName inBundle:(NSBundle *)bundle NS_SWIFT_NAME(init(name:bundle:));
|
||||
+ (instancetype)animationFromJSON:(NSDictionary *)animationJSON NS_SWIFT_NAME(init(json:));
|
||||
|
||||
- (instancetype)initWithContentsOfURL:(NSURL *)url;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user