question about protocol
question about protocol
- Subject: question about protocol
- From: bigpig <email@hidden>
- Date: Mon, 14 Mar 2016 18:12:03 +0800
Hi everyone
I get confused in SDWebImage code.The author declare a custom protocol “SDWebImageOperation” and have only a method “- (void)cancel”.Then some class comply with this protocol and implement the method “cancel”.But this protocol does not do anything,why write this way.why not every class which comply with this protocol implement a interface named cancel.
Thanks!!!!!!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden