mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
[appledoc] Fix all remaining warnings.
This commit is contained in:
@@ -32,16 +32,33 @@ extern BOOL CGPointIsNull(CGPoint point);
|
||||
*/
|
||||
@property (nonatomic, readonly) NSArray *sublayouts;
|
||||
|
||||
/**
|
||||
* Initializer.
|
||||
*
|
||||
* @param layoutableObject The backing ASLayoutable object.
|
||||
*
|
||||
* @param size The size of this layout.
|
||||
*
|
||||
* @param position The posiion of this layout within its parent (if available).
|
||||
*
|
||||
* @param sublayouts Sublayouts belong to the new layout.
|
||||
*/
|
||||
+ (instancetype)newWithLayoutableObject:(id<ASLayoutable>)layoutableObject
|
||||
size:(CGSize)size
|
||||
position:(CGPoint)position
|
||||
sublayouts:(NSArray *)sublayouts;
|
||||
|
||||
/**
|
||||
* Convenience that has CGPointNull position.
|
||||
* Convenience initializer that has CGPointNull position.
|
||||
* Best used by ASDisplayNode subclasses that are manually creating a layout for -calculateLayoutThatFits:,
|
||||
* or for ASLayoutSpec subclasses that are referencing the "self" level in the layout tree,
|
||||
* or for creating a sublayout of which the position is yet to be determined.
|
||||
*
|
||||
* @param layoutableObject The backing ASLayoutable object.
|
||||
*
|
||||
* @param size The size of this layout.
|
||||
*
|
||||
* @param sublayouts Sublayouts belong to the new layout.
|
||||
*/
|
||||
+ (instancetype)newWithLayoutableObject:(id<ASLayoutable>)layoutableObject
|
||||
size:(CGSize)size
|
||||
@@ -51,6 +68,10 @@ extern BOOL CGPointIsNull(CGPoint point);
|
||||
* Convenience that has CGPointNull position and no sublayouts.
|
||||
* Best used for creating a layout that has no sublayouts, and is either a root one
|
||||
* or a sublayout of which the position is yet to be determined.
|
||||
*
|
||||
* @param layoutableObject The backing ASLayoutable object.
|
||||
*
|
||||
* @param size The size of this layout.
|
||||
*/
|
||||
+ (instancetype)newWithLayoutableObject:(id<ASLayoutable>)layoutableObject size:(CGSize)size;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user