More objective-C cleanup

This commit is contained in:
Adlai Holler
2015-09-16 15:41:56 -07:00
parent 30ed0bd64a
commit a7240bac27
6 changed files with 8 additions and 8 deletions

View File

@@ -45,4 +45,4 @@ NS_ASSUME_NONNULL_BEGIN
@end @end
NS_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END

View File

@@ -22,4 +22,4 @@ NS_ASSUME_NONNULL_BEGIN
@end @end
NS_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END

View File

@@ -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.
/** /**

View File

@@ -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

View File

@@ -138,4 +138,4 @@ NS_ASSUME_NONNULL_BEGIN
@end @end
NS_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END

View File

@@ -24,4 +24,4 @@ NS_ASSUME_NONNULL_BEGIN
@end @end
NS_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END