Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is protocol in objective-c?



What is protocol in objective-c?..

Answer / Rajeev Srivastava

In Objective-C, a protocol is a collection of methods that should be implemented by any class or category that conforms to the protocol. Protocols allow for objects of different classes to work together because they agree to implement the same set of methods. Protocols are defined using the 'protocol' keyword and methods are enclosed in curly braces '{' and '}'. A protocol can also declare properties with the '@property' directive.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What are the classifications of property?

1 Answers  


What does @synchronized() do?

1 Answers  


What is a nsstring?

1 Answers  


Is objective c compiled?

1 Answers  


What does the m mean in xcode?

1 Answers  


What does mean in xcode?

1 Answers  


What is the difference between c and objective c?

1 Answers  


What is property and its types?

1 Answers  


What does nonatomic mean?

1 Answers  


Why create a custom view?

1 Answers  


What is differences between nsnull and nil in objective c?

1 Answers  


What does r mean in xcode?

1 Answers  


Categories