Change NImageFetchViewDelegate for a completion
Closed this issue · 1 comments
josecriane commented
We must refactor NImageFetchView to use a completion instead this protocol:
@protocol NImageFetchViewDelegate <NSObject>
@optional
/** Called when the requested image has been loaded and set on the image view */
- (void)imageViewDidSetRequestedImage:(NImageFetchView*)imageView;
/** Called if the image request failed */
- (void)imageView:(NImageFetchView*)imageView requestFailedWithError:(NSError*)error;
@end
albertopeam commented
If you don't mind I will start it