Skip to content

Commit 094f0ba

Browse files
committed
Update the code comment about the callback queue information
1 parent 124ff1f commit 094f0ba

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Storage/FirebaseStorageUI/UIImageView+FirebaseStorage.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN
7171
* @param storageRef A Firebase Storage reference containing an image.
7272
* @param placeholder An image to display while the download is in progress.
7373
* @param completionBlock A closure to handle events when the image finishes downloading.
74-
* The closure is not guaranteed to be invoked on the main thread.
74+
* The closure is guaranteed to be invoked on the main queue.
7575
*/
7676
- (void)sd_setImageWithStorageReference:(FIRStorageReference *)storageRef
7777
placeholderImage:(nullable UIImage *)placeholder
@@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN
8989
* exceeds this size, an error will be raised in the completion block.
9090
* @param placeholder An image to display while the download is in progress.
9191
* @param completionBlock A closure to handle events when the image finishes downloading.
92-
* The closure is not guaranteed to be invoked on the main thread.
92+
* The closure is guaranteed to be invoked on the main queue.
9393
*/
9494
- (void)sd_setImageWithStorageReference:(FIRStorageReference *)storageRef
9595
maxImageSize:(UInt64)size
@@ -109,7 +109,7 @@ NS_ASSUME_NONNULL_BEGIN
109109
* @param placeholder An image to display while the download is in progress.
110110
* @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values.
111111
* @param completionBlock A closure to handle events when the image finishes downloading.
112-
* The closure is not guaranteed to be invoked on the main thread.
112+
* The closure is guaranteed to be invoked on the main queue.
113113
*/
114114
- (void)sd_setImageWithStorageReference:(FIRStorageReference *)storageRef
115115
maxImageSize:(UInt64)size
@@ -132,7 +132,7 @@ NS_ASSUME_NONNULL_BEGIN
132132
* @param progressBlock A closure to handle the progress change during the image downloading. The closure args are `receivedSize` `expectedSize` and `storageRef`
133133
* The progress block is executed on a background queue.
134134
* @param completionBlock A closure to handle events when the image finishes downloading.
135-
* The closure is not guaranteed to be invoked on the main thread.
135+
* The closure is guaranteed to be invoked on the main queue.
136136
*/
137137
- (void)sd_setImageWithStorageReference:(FIRStorageReference *)storageRef
138138
maxImageSize:(UInt64)size
@@ -159,7 +159,7 @@ NS_ASSUME_NONNULL_BEGIN
159159
* @param progressBlock A closure to handle the progress change during the image downloading. The closure args are `receivedSize` `expectedSize` and `storageRef`
160160
* The progress block is executed on a background queue.
161161
* @param completionBlock A closure to handle events when the image finishes downloading.
162-
* The closure is not guaranteed to be invoked on the main thread.
162+
* The closure is guaranteed to be invoked on the main queue.
163163
*/
164164
- (void)sd_setImageWithStorageReference:(FIRStorageReference *)storageRef
165165
maxImageSize:(UInt64)size

0 commit comments

Comments
 (0)