Skip to content

Commit 5def541

Browse files
committed
Hint added for unzipping delegate callbacks and threads.
1 parent 51b0068 commit 5def541

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cocos2d/CCPackageManagerDelegate.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,15 @@
5151

5252
/**
5353
* Only called when the process of unzipping finished successfully
54+
* Note: This method will most likely return on a different thread than the main thread depending on the queue set for unzipping.
5455
*
5556
* @param package The package for which the unzip process finished
5657
*/
5758
- (void)packageUnzippingFinished:(CCPackage *)package;
5859

5960
/**
6061
* Only called when the process of unzipping failed
62+
* Note: This method will most likely return on a different thread than the main thread depending on the queue set for unzipping.
6163
*
6264
* @param package The package for which the unzip process failed
6365
* @param error Pointer to an error object
@@ -67,6 +69,8 @@
6769
@optional
6870
/**
6971
* Called whenever the process of unzipping reports a progress in bytes
72+
* Note: This method will most likely return on a different thread than the main thread depending on the queue set for unzipping.
73+
*
7074
*
7175
* @param package The package for which the unzip progress occured
7276
* @param unzippedBytes Unzip progress in bytes

0 commit comments

Comments
 (0)