Skip to content

Commit 1bb7d5e

Browse files
committed
found a couple more main actor blocks/methods
1 parent 872827b commit 1bb7d5e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Source/ASCollectionNode.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ NS_ASSUME_NONNULL_BEGIN
266266
* Boolean parameter that contains the value YES if all of the related animations completed successfully or
267267
* NO if they were interrupted. This parameter may be nil. If supplied, the block is run on the main thread.
268268
*/
269-
- (void)performBatchAnimated:(BOOL)animated updates:(nullable AS_NOESCAPE void (^)(void))updates completion:(nullable void (^)(BOOL finished))completion NS_SWIFT_UI_ACTOR;
269+
- (void)performBatchAnimated:(BOOL)animated updates:(nullable AS_NOESCAPE void (^)(void))updates completion:(nullable NS_SWIFT_UI_ACTOR void (^)(BOOL finished))completion NS_SWIFT_UI_ACTOR;
270270

271271
/**
272272
* Perform a batch of updates asynchronously, optionally disabling all animations in the batch. This method must be called from the main thread.

Source/ASDisplayNode.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ typedef NS_ENUM(NSInteger, ASLayoutEngineType) {
922922
- (void)transitionLayoutWithSizeRange:(ASSizeRange)constrainedSize
923923
animated:(BOOL)animated
924924
shouldMeasureAsync:(BOOL)shouldMeasureAsync
925-
measurementCompletion:(nullable void(^)(void))completion NS_SWIFT_UI_ACTOR;
925+
measurementCompletion:(nullable NS_SWIFT_UI_ACTOR void(^)(void))completion NS_SWIFT_UI_ACTOR;
926926

927927

928928
/**
@@ -939,7 +939,7 @@ typedef NS_ENUM(NSInteger, ASLayoutEngineType) {
939939
*/
940940
- (void)transitionLayoutWithAnimation:(BOOL)animated
941941
shouldMeasureAsync:(BOOL)shouldMeasureAsync
942-
measurementCompletion:(nullable void(^)(void))completion NS_SWIFT_UI_ACTOR;
942+
measurementCompletion:(nullable NS_SWIFT_UI_ACTOR void(^)(void))completion NS_SWIFT_UI_ACTOR;
943943

944944
/**
945945
* @abstract Cancels all performing layout transitions. Can be called on any thread.

Source/ASTableNode.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ NS_ASSUME_NONNULL_BEGIN
196196
* Boolean parameter that contains the value YES if all of the related animations completed successfully or
197197
* NO if they were interrupted. This parameter may be nil. If supplied, the block is run on the main thread.
198198
*/
199-
- (void)performBatchAnimated:(BOOL)animated updates:(nullable AS_NOESCAPE void (^)(void))updates completion:(nullable void (^)(BOOL finished))completion NS_SWIFT_UI_ACTOR;
199+
- (void)performBatchAnimated:(BOOL)animated updates:(nullable AS_NOESCAPE void (^)(void))updates completion:(nullable NS_SWIFT_UI_ACTOR void (^)(BOOL finished))completion NS_SWIFT_UI_ACTOR;
200200

201201
/**
202202
* Perform a batch of updates asynchronously with animations in the batch. This method must be called from the main thread.
@@ -207,7 +207,7 @@ NS_ASSUME_NONNULL_BEGIN
207207
* Boolean parameter that contains the value YES if all of the related animations completed successfully or
208208
* NO if they were interrupted. This parameter may be nil. If supplied, the block is run on the main thread.
209209
*/
210-
- (void)performBatchUpdates:(nullable AS_NOESCAPE void (^)(void))updates completion:(nullable void (^)(BOOL finished))completion NS_SWIFT_UI_ACTOR;
210+
- (void)performBatchUpdates:(nullable AS_NOESCAPE void (^)(void))updates completion:(nullable NS_SWIFT_UI_ACTOR void (^)(BOOL finished))completion NS_SWIFT_UI_ACTOR;
211211

212212
/**
213213
* Returns YES if the ASCollectionNode is still processing changes from performBatchUpdates:.

0 commit comments

Comments
 (0)