forum

Home / DeveloperSection / Forums / How to create optional methods in a protocol

How to create optional methods in a protocol

Tarun Kumar143726-Sep-2015

I noticed that in creating protocols we can define methods as optional in the iPhone SDK, for example UIActionSheetDelegate protocol.

How can I define a protocol of my own, and set as optional of few of the methods?


Updated on 27-Sep-2015

Can you answer this question?


Answer

1 Answers

Liked By