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 do you mean by category and when to use it?



What do you mean by category and when to use it?..

Answer / Shalini Gupta

In Objective-C, a category is a way to add new methods or properties to an existing class without modifying its original source code. This is useful when you want to extend the functionality of an existing class without affecting its original implementation. For example, you can create a category for UIView and add custom drawing methods to it.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What objective-c program consists of?

1 Answers  


Can you please explain the way messaging works in objective-c?

1 Answers  


What is difference between array and nsarray?

1 Answers  


What is the difference between #import and #include in objective-c?

1 Answers  


What are the advantages of using objective-c?

1 Answers  


Is objective c hard?

1 Answers  


What is ivar objective c?

1 Answers  


What is synthesized in objective-c?

1 Answers  


What is a dispatch method?

1 Answers  


What are blocks and how are they used?

1 Answers  


Is c and objective c the same?

1 Answers  


What is a protocol in objective c?

1 Answers  


Categories