Explain the types of protocol?



Explain the types of protocol?..

Answer / Ankit Rastogi

{"types of protocol": "In Objective-C, there are two main types of protocols: Protocols with methods (protocols that define a set of methods to be adopted by classes) and Protocols without methods (used mainly for declaring properties and methods that should conform to certain requirements)."}

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What is the major difference between objective c and swift?

1 Answers  


Explain the difference in xib/storyboard vs nib?

1 Answers  


Can you retain delegates?

1 Answers  


What are objective c properties?

1 Answers  


What is meant by not thread safe?

1 Answers  


What does the gc () method?

1 Answers  


What are the advantages of using objective-c?

1 Answers  


What are nsautoreleasepool and how can we use them?

1 Answers  


What is the difference between nsdictionary and nsmutabledictionary?

1 Answers  


What is autoclosure?

1 Answers  


Why do we require class extension?

1 Answers  


What is the primary use of the category in the objective-c?

1 Answers  


Categories