mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-11 08:50:24 +00:00
Fix internal Linter warnings #trivial (#340)
* Fix internal Linter warnings * Remove explicit copy for block as let us just use the default one
This commit is contained in:
parent
786ac15e15
commit
13c467b2f4
@ -122,7 +122,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
*
|
*
|
||||||
* @warning Subclasses must not override this; it returns the last cached layout and is never expensive.
|
* @warning Subclasses must not override this; it returns the last cached layout and is never expensive.
|
||||||
*/
|
*/
|
||||||
@property (nullable, nonatomic, readonly, assign) ASLayout *calculatedLayout;
|
@property (nullable, nonatomic, readonly, strong) ASLayout *calculatedLayout;
|
||||||
|
|
||||||
#pragma mark - View Lifecycle
|
#pragma mark - View Lifecycle
|
||||||
/** @name View Lifecycle */
|
/** @name View Lifecycle */
|
||||||
|
|||||||
@ -646,12 +646,12 @@ extern NSInteger const ASDefaultDrawingPriority;
|
|||||||
#if TARGET_OS_IOS
|
#if TARGET_OS_IOS
|
||||||
@property (nonatomic, assign, getter=isExclusiveTouch) BOOL exclusiveTouch; // default=NO
|
@property (nonatomic, assign, getter=isExclusiveTouch) BOOL exclusiveTouch; // default=NO
|
||||||
#endif
|
#endif
|
||||||
@property (nonatomic, assign, nullable) CGColorRef shadowColor; // default=opaque rgb black
|
@property (nonatomic, nullable) CGColorRef shadowColor; // default=opaque rgb black
|
||||||
@property (nonatomic, assign) CGFloat shadowOpacity; // default=0.0
|
@property (nonatomic, assign) CGFloat shadowOpacity; // default=0.0
|
||||||
@property (nonatomic, assign) CGSize shadowOffset; // default=(0, -3)
|
@property (nonatomic, assign) CGSize shadowOffset; // default=(0, -3)
|
||||||
@property (nonatomic, assign) CGFloat shadowRadius; // default=3
|
@property (nonatomic, assign) CGFloat shadowRadius; // default=3
|
||||||
@property (nonatomic, assign) CGFloat borderWidth; // default=0
|
@property (nonatomic, assign) CGFloat borderWidth; // default=0
|
||||||
@property (nonatomic, assign, nullable) CGColorRef borderColor; // default=opaque rgb black
|
@property (nonatomic, nullable) CGColorRef borderColor; // default=opaque rgb black
|
||||||
|
|
||||||
// UIResponder methods
|
// UIResponder methods
|
||||||
// By default these fall through to the underlying view, but can be overridden.
|
// By default these fall through to the underlying view, but can be overridden.
|
||||||
|
|||||||
@ -163,7 +163,7 @@ withDownloadIdentifier:(id)downloadIdentifier;
|
|||||||
/**
|
/**
|
||||||
@abstract A block which receives the cover image. Should be called when the objects cover image is ready.
|
@abstract A block which receives the cover image. Should be called when the objects cover image is ready.
|
||||||
*/
|
*/
|
||||||
@property (nonatomic, strong, readwrite) void (^coverImageReadyCallback)(UIImage *coverImage);
|
@property (nonatomic, readwrite) void (^coverImageReadyCallback)(UIImage *coverImage);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@abstract Returns whether the supplied data contains a supported animated image format.
|
@abstract Returns whether the supplied data contains a supported animated image format.
|
||||||
@ -209,7 +209,7 @@ withDownloadIdentifier:(id)downloadIdentifier;
|
|||||||
/**
|
/**
|
||||||
@abstract Should be called when playback is ready.
|
@abstract Should be called when playback is ready.
|
||||||
*/
|
*/
|
||||||
@property (nonatomic, strong, readwrite) dispatch_block_t playbackReadyCallback;
|
@property (nonatomic, readwrite) dispatch_block_t playbackReadyCallback;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@abstract Return the image at a given index.
|
@abstract Return the image at a given index.
|
||||||
|
|||||||
@ -72,7 +72,7 @@ typedef NS_ENUM(NSUInteger, ASLayoutElementType) {
|
|||||||
/**
|
/**
|
||||||
* @abstract A size constraint that should apply to this ASLayoutElement.
|
* @abstract A size constraint that should apply to this ASLayoutElement.
|
||||||
*/
|
*/
|
||||||
@property (nonatomic, assign, readonly) ASLayoutElementStyle *style;
|
@property (nonatomic, strong, readonly) ASLayoutElementStyle *style;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @abstract Returns all children of an object which class conforms to the ASLayoutElement protocol
|
* @abstract Returns all children of an object which class conforms to the ASLayoutElement protocol
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user