mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
More objective-C cleanup
This commit is contained in:
@@ -45,4 +45,4 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
NS_ASSUME_NONNULL_END
|
||||||
|
|||||||
@@ -22,4 +22,4 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
NS_ASSUME_NONNULL_END
|
||||||
|
|||||||
@@ -585,7 +585,7 @@ typedef void (^ASDisplayNodeDidLoadBlock)(ASDisplayNode *node);
|
|||||||
@property (atomic, assign) CGFloat contentsScale; // default=1.0f. See @contentsScaleForDisplay for more info
|
@property (atomic, assign) CGFloat contentsScale; // default=1.0f. See @contentsScaleForDisplay for more info
|
||||||
@property (atomic, assign) CATransform3D transform; // default=CATransform3DIdentity
|
@property (atomic, assign) CATransform3D transform; // default=CATransform3DIdentity
|
||||||
@property (atomic, assign) CATransform3D subnodeTransform; // default=CATransform3DIdentity
|
@property (atomic, assign) CATransform3D subnodeTransform; // default=CATransform3DIdentity
|
||||||
@property (atomic, copy, nullable) NSString *name; // default=nil. Use this to tag your layers in the server-recurse-description / pca or for your own purposes
|
@property (atomic, copy, nullable) NSString *name; // default=nil. Use this to tag your layers in the server-recurse-description / pca or for your own purposes
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @abstract The node view's background color.
|
* @abstract The node view's background color.
|
||||||
@@ -593,9 +593,9 @@ typedef void (^ASDisplayNodeDidLoadBlock)(ASDisplayNode *node);
|
|||||||
* @discussion In contrast to UIView, setting a transparent color will not set opaque = NO.
|
* @discussion In contrast to UIView, setting a transparent color will not set opaque = NO.
|
||||||
* This only affects nodes that implement +drawRect like ASTextNode.
|
* This only affects nodes that implement +drawRect like ASTextNode.
|
||||||
*/
|
*/
|
||||||
@property (atomic, retain, nullable) UIColor *backgroundColor; // default=nil
|
@property (atomic, retain, nullable) UIColor *backgroundColor; // default=nil
|
||||||
|
|
||||||
@property (atomic, retain, null_resettable) UIColor *tintColor; // default=Blue
|
@property (atomic, retain, null_resettable) UIColor *tintColor; // default=Blue
|
||||||
- (void)tintColorDidChange; // Notifies the node when the tintColor has changed.
|
- (void)tintColorDidChange; // Notifies the node when the tintColor has changed.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -72,4 +72,4 @@ extern void ASDisplayNodeEnableHierarchyNotifications(ASDisplayNode *node);
|
|||||||
|
|
||||||
ASDISPLAYNODE_EXTERN_C_END
|
ASDISPLAYNODE_EXTERN_C_END
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
NS_ASSUME_NONNULL_END
|
||||||
|
|||||||
@@ -138,4 +138,4 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
NS_ASSUME_NONNULL_END
|
||||||
|
|||||||
@@ -24,4 +24,4 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
NS_ASSUME_NONNULL_END
|
||||||
|
|||||||
Reference in New Issue
Block a user