Users Pricing

forum

home / developersection / forums / how to create optional methods in a protocol

How to create optional methods in a protocol

Tarun Kumar 1730 26 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?


Tarun Kumar

Other


1 Answers