Users Pricing

forum

home / developersection / forums / creating our own optional methods in protocol

Creating our own optional methods in protocol

Anonymous User 1751 30 Oct 2015
I have notice that optional methods in several protocols are defined in the iPhone SDK, such as the UIActionSheetDelegate protocol.
So my problem is that can I define a protocol of my own, and set a few of the methods as optional?

I am a content writter !


1 Answers

Tarun Kumar 30 Oct 2015 Accepted Answer