Fix appledoc warnings.

This commit is contained in:
Huy Nguyen 2015-09-15 00:58:48 +03:00
parent 83aac39ef2
commit 7dc9b7fc40
4 changed files with 11 additions and 9 deletions

View File

@ -8,6 +8,10 @@
#import <AsyncDisplayKit/AsyncDisplayKit.h> #import <AsyncDisplayKit/AsyncDisplayKit.h>
/**
* ASCollectionNode is a node based class that wraps an ASCollectionView. It can be used
* as a subnode of another node, and provide room for many (great) features and improvements later on.
*/
@interface ASCollectionNode : ASDisplayNode @interface ASCollectionNode : ASDisplayNode
- (instancetype)initWithCollectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER; - (instancetype)initWithCollectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;

View File

@ -99,16 +99,11 @@
- (void)beginUpdates; - (void)beginUpdates;
/** /**
* Concludes a series of method calls that insert, delete, select, or reload rows and sections of the table view. * Concludes a series of method calls that insert, delete, select, or reload rows and sections of the table view, with animation enabled and no completion block.
* You call this method to bracket a series of method calls that begins with beginUpdates and that consists of operations * You call this method to bracket a series of method calls that begins with beginUpdates and that consists of operations
* to insert, delete, select, and reload rows and sections of the table view. When you call endUpdates, ASTableView begins animating * to insert, delete, select, and reload rows and sections of the table view. When you call endUpdates, ASTableView begins animating
* the operations simultaneously. This method is must be called from the main thread. It's important to remeber that the ASTableView will * the operations simultaneously. This method is must be called from the main thread. It's important to remeber that the ASTableView will
* be processing the updates asynchronously after this call is completed. * be processing the updates asynchronously after this call is completed.
*
* @param animated NO to disable all animations.
* @param completion A completion handler block to execute when all of the operations are finished. This block takes a single
* Boolean parameter that contains the value YES if all of the related animations completed successfully or
* NO if they were interrupted. This parameter may be nil. If supplied, the block is run on the main thread.
*/ */
- (void)endUpdates; - (void)endUpdates;

View File

@ -85,7 +85,7 @@
* End updates. * End updates.
* *
* @param rangeController Sender. * @param rangeController Sender.
* * @param animated NO if all animations are disabled. YES otherwise.
* @param completion Completion block. * @param completion Completion block.
*/ */
- (void)rangeController:(ASRangeController * )rangeController endUpdatesAnimated:(BOOL)animated completion:(void (^)(BOOL))completion; - (void)rangeController:(ASRangeController * )rangeController endUpdatesAnimated:(BOOL)animated completion:(void (^)(BOOL))completion;
@ -104,6 +104,8 @@
* *
* @param rangeController Sender. * @param rangeController Sender.
* *
* @param nodes Inserted nodes.
*
* @param indexPaths Index path of inserted nodes. * @param indexPaths Index path of inserted nodes.
* *
* @param animationOptions Animation options. See ASDataControllerAnimationOptions. * @param animationOptions Animation options. See ASDataControllerAnimationOptions.
@ -115,6 +117,8 @@
* *
* @param rangeController Sender. * @param rangeController Sender.
* *
* @param nodes Deleted nodes.
*
* @param indexPaths Index path of deleted nodes. * @param indexPaths Index path of deleted nodes.
* *
* @param animationOptions Animation options. See ASDataControllerAnimationOptions. * @param animationOptions Animation options. See ASDataControllerAnimationOptions.

View File

@ -9,11 +9,10 @@
*/ */
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#import <AsyncDisplayKit/ASLayoutSpec.h>
@protocol ASLayoutable; @protocol ASLayoutable;
#import <AsyncDisplayKit/ASLayoutSpec.h>
@interface ASLayoutOptions : NSObject <ASStackLayoutable, ASStaticLayoutable, NSCopying> @interface ASLayoutOptions : NSObject <ASStackLayoutable, ASStaticLayoutable, NSCopying>
+ (void)setDefaultLayoutOptionsClass:(Class)defaultLayoutOptionsClass; + (void)setDefaultLayoutOptionsClass:(Class)defaultLayoutOptionsClass;