You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// - action: The action to perform. The first arg is the loaded image, the second arg is the cache type loaded from. If `action` is `nil`, the call has no effect.
708
722
/// - Returns: A view that triggers `action` when this image load successes.
self.imageHandler.successBlock ={ image, _, cacheType in
725
+
action(image, cacheType)
726
+
}
727
+
returnself
728
+
}
729
+
730
+
/// Provide the action when image load successes.
731
+
/// - Parameters:
732
+
/// - action: The action to perform. The first arg is the loaded image, the second arg is the loaded image data, the third arg is the cache type loaded from. If `action` is `nil`, the call has no effect.
733
+
/// - Returns: A view that triggers `action` when this image load successes.
/// - action: The action to perform. The first arg is the loaded image, the second arg is the cache type loaded from. If `action` is `nil`, the call has no effect.
/// - action: The action to perform. The first arg is the loaded image, the second arg is the loaded image data, the third arg is the cache type loaded from. If `action` is `nil`, the call has no effect.
/// - action: The action to perform. The first arg is the loaded image, the second arg is the cache type loaded from. If `action` is `nil`, the call has no effect.
270
282
/// - Returns: A view that triggers `action` when this image load successes.
self.imageManager.successBlock ={ image, _, cacheType in
285
+
action(image, cacheType)
286
+
}
287
+
returnself
288
+
}
289
+
290
+
/// Provide the action when image load successes.
291
+
/// - Parameters:
292
+
/// - action: The action to perform. The first arg is the loaded image, the second arg is the loaded image data, the third arg is the cache type loaded from. If `action` is `nil`, the call has no effect.
293
+
/// - Returns: A view that triggers `action` when this image load successes.
0 commit comments