In previous versions when you press New File, in iOS --> Cocoa Touch --> there was Objective-C protocol, but now I can't find it there!?
The group of methods that are fundamental to all Objective-C objects.
Protocols are implemented in the classes conforming to the protocol. A simple example would be a network URL handling class, it will have a protocol with methods like processCompleted delegate method that intimates the calling class once the network URL fetching operation is over. A syntax of protocol is shown below.
Familiar problem after update.
Step one: press CMD+N and choose Objective-C File in menu
Step two: press Next and choose file type.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With