@@ -45,31 +45,6 @@ typedef CALayer *(^ASDisplayNodeLayerBlock)();
4545 */
4646- (id )init ;
4747
48- /* *
49- * @abstract Alternative initializer with a view class.
50- *
51- * @param viewClass Any UIView subclass, such as UIScrollView.
52- *
53- * @return An ASDisplayNode instance whose view will be of class viewClass.
54- *
55- * @discussion If viewClass is not a subclass of _ASDisplayView, it will still render synchronously and -layout and
56- * touch handling methods on the node will not be called.
57- * The view instance will be created with alloc/init.
58- */
59- - (id )initWithViewClass : (Class )viewClass ;
60-
61- /* *
62- * @abstract Alternative initializer with a layer class.
63- *
64- * @param layerClass Any CALayer subclass, such as CATransformLayer.
65- *
66- * @return An ASDisplayNode instance whose layer will be of class layerClass.
67- *
68- * @discussion If layerClass is not a subclass of _ASDisplayLayer, it will still render synchronously and -layout on the
69- * node will not be called.
70- * The layer instance will be created with alloc/init.
71- */
72- - (id )initWithLayerClass : (Class )layerClass ;
7348
7449/* *
7550 * @abstract Alternative initializer with a block to create the backing view.
@@ -263,8 +238,8 @@ typedef CALayer *(^ASDisplayNodeLayerBlock)();
263238/* *
264239 * @abstract Whether this node's view performs asynchronous rendering.
265240 *
266- * @return Defaults to YES, except for synchronous views (ie, those created with -initWithViewClass : /
267- * -initWithLayerClass :), which are always NO.
241+ * @return Defaults to YES, except for synchronous views (ie, those created with -initWithViewBlock : /
242+ * -initWithLayerBlock :), which are always NO.
268243 *
269244 * @discussion If this flag is set, then the node will participate in the current asyncdisplaykit_async_transaction and
270245 * do its rendering on the displayQueue instead of the main thread.
0 commit comments