Monthly Archives: September 2020

How do I make protocol methods optional in Objective-C?

Imagine you have a protocol in Obective-C. What if you want to make some properties or methods optional? You can use the optional keyword. Not all objects to implement the protocol will have the -speed method. Trying to call -speed … Continue reading

Posted in Software | Tagged , | Leave a comment