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:
@@ -11,6 +11,10 @@
|
||||
#import <AsyncDisplayKit/ASLayoutSpec.h>
|
||||
#import <AsyncDisplayKit/ASRelativeSize.h>
|
||||
|
||||
/**
|
||||
* An ASStaticLayoutSpecChild object wraps an ASLayoutable object and provides position and size information,
|
||||
* to be used as a child of an ASStaticLayoutSpec.
|
||||
*/
|
||||
@interface ASStaticLayoutSpecChild : NSObject
|
||||
|
||||
@property (nonatomic, readonly) CGPoint position;
|
||||
@@ -21,20 +25,33 @@
|
||||
*/
|
||||
@property (nonatomic, readonly) ASRelativeSizeRange size;
|
||||
|
||||
/**
|
||||
* Initializer.
|
||||
*
|
||||
* @param position The position of this child within its parent spec.
|
||||
*
|
||||
* @param layoutableObject The backing ASLayoutable object of this child.
|
||||
*
|
||||
* @param size The size range that this child's size is trstricted according to.
|
||||
*/
|
||||
+ (instancetype)newWithPosition:(CGPoint)position layoutableObject:(id<ASLayoutable>)layoutableObject size:(ASRelativeSizeRange)size;
|
||||
|
||||
/**
|
||||
Convenience with default size is Unconstrained in both dimensions, which sets the child's min size to zero
|
||||
and max size to the maximum available space it can consume without overflowing the spec's bounds.
|
||||
* Convenience initializer with default size is Unconstrained in both dimensions, which sets the child's min size to zero
|
||||
* and max size to the maximum available space it can consume without overflowing the spec's bounds.
|
||||
*
|
||||
* @param position The position of this child within its parent spec.
|
||||
*
|
||||
* @param layoutableObject The backing ASLayoutable object of this child.
|
||||
*/
|
||||
+ (instancetype)newWithPosition:(CGPoint)position layoutableObject:(id<ASLayoutable>)layoutableObject;
|
||||
|
||||
@end
|
||||
|
||||
/*
|
||||
A layout spec that positions children at fixed positions.
|
||||
|
||||
Computes a size that is the union of all childrens' frames.
|
||||
/**
|
||||
* A layout spec that positions children at fixed positions.
|
||||
*
|
||||
* Computes a size that is the union of all childrens' frames.
|
||||
*/
|
||||
@interface ASStaticLayoutSpec : ASLayoutSpec
|
||||
|
||||
|
||||
Reference in New Issue
Block a user