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...


How do you define a protocol?



How do you define a protocol?..

Answer / Manoj Kumar Tiwari

"To define a protocol in Objective-C, you use the `@protocol` directive. Here's an example of defining a simple protocol:n```n@protocol MyProtocoln// Optional methods and properties go heren@endn```

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What are the three subatomic particles?

1 Answers  


What is property in objective c?

1 Answers  


What is extern objective c?

1 Answers  


What is objective c runtime?

1 Answers  


How different is objective c from swift?

1 Answers  


Is objective c superset of c?

1 Answers  


Can I write some c++ function in same .m file?

1 Answers  


What are the blocks? How will you use them?

1 Answers  


What are the main objectives of training?

1 Answers  


What is an objective statement?

1 Answers  


What is the use of synchronized() block in objective c?

1 Answers  


Is method and function same?

1 Answers  


Categories