mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-23 14:05:33 +00:00
Adds missing nullability annotations.
This commit is contained in:
parent
e31bc42005
commit
eb8f209b16
@ -9,6 +9,8 @@
|
|||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#import <CoreGraphics/CoreGraphics.h>
|
#import <CoreGraphics/CoreGraphics.h>
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@class LOTLayerGroup;
|
@class LOTLayerGroup;
|
||||||
@class LOTLayer;
|
@class LOTLayer;
|
||||||
@class LOTAssetGroup;
|
@class LOTAssetGroup;
|
||||||
@ -20,13 +22,15 @@
|
|||||||
withFramerate:(NSNumber * _Nullable)framerate
|
withFramerate:(NSNumber * _Nullable)framerate
|
||||||
withAssetGroup:(LOTAssetGroup * _Nullable)assetGroup;
|
withAssetGroup:(LOTAssetGroup * _Nullable)assetGroup;
|
||||||
|
|
||||||
@property (nonatomic, readonly) NSString *referenceID;
|
@property (nonatomic, readonly, nullable) NSString *referenceID;
|
||||||
@property (nonatomic, readonly) NSNumber *assetWidth;
|
@property (nonatomic, readonly, nullable) NSNumber *assetWidth;
|
||||||
@property (nonatomic, readonly) NSNumber *assetHeight;
|
@property (nonatomic, readonly, nullable) NSNumber *assetHeight;
|
||||||
|
|
||||||
@property (nonatomic, readonly) NSString *imageName;
|
@property (nonatomic, readonly, nullable) NSString *imageName;
|
||||||
@property (nonatomic, readonly) NSString *imageDirectory;
|
@property (nonatomic, readonly, nullable) NSString *imageDirectory;
|
||||||
|
|
||||||
@property (nonatomic, readonly) LOTLayerGroup *layerGroup;
|
@property (nonatomic, readonly, nullable) LOTLayerGroup *layerGroup;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_END
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#import <CoreGraphics/CoreGraphics.h>
|
#import <CoreGraphics/CoreGraphics.h>
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@class LOTLayer;
|
@class LOTLayer;
|
||||||
@class LOTAssetGroup;
|
@class LOTAssetGroup;
|
||||||
|
|
||||||
@ -16,7 +18,7 @@
|
|||||||
|
|
||||||
- (instancetype)initWithLayerJSON:(NSArray *)layersJSON
|
- (instancetype)initWithLayerJSON:(NSArray *)layersJSON
|
||||||
withBounds:(CGRect)bounds
|
withBounds:(CGRect)bounds
|
||||||
withFramerate:(NSNumber *)framerate
|
withFramerate:(NSNumber * _Nullable)framerate
|
||||||
withAssetGroup:(LOTAssetGroup * _Nullable)assetGroup;
|
withAssetGroup:(LOTAssetGroup * _Nullable)assetGroup;
|
||||||
|
|
||||||
@property (nonatomic, readonly) NSArray <LOTLayer *> *layers;
|
@property (nonatomic, readonly) NSArray <LOTLayer *> *layers;
|
||||||
@ -25,3 +27,5 @@
|
|||||||
- (LOTLayer *)layerForReferenceID:(NSString *)referenceID;
|
- (LOTLayer *)layerForReferenceID:(NSString *)referenceID;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_END
|
||||||
|
@ -16,7 +16,7 @@ typedef enum : NSUInteger {
|
|||||||
|
|
||||||
@interface LOTAnimationState : NSObject
|
@interface LOTAnimationState : NSObject
|
||||||
|
|
||||||
- (instancetype)initWithDuration:(CGFloat)duration layer:(CALayer *)layer frameRate:(NSNumber *)framerate;
|
- (instancetype _Nonnull)initWithDuration:(CGFloat)duration layer:(CALayer * _Nullable)layer frameRate:(NSNumber * _Nullable)framerate;
|
||||||
|
|
||||||
- (void)setAnimationIsPlaying:(BOOL)animationIsPlaying;
|
- (void)setAnimationIsPlaying:(BOOL)animationIsPlaying;
|
||||||
- (void)setAnimationDoesLoop:(BOOL)loopAnimation;
|
- (void)setAnimationDoesLoop:(BOOL)loopAnimation;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user