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 is dealloc?

1 Answers  


Is reference counting garbage collection?

1 Answers  


How to call function in objective-c?

1 Answers  


What are the three main types of property?

1 Answers  


Who calls dealloc method? Can we implement dealloc in arc? If yes, what is the need to do that?

1 Answers  


What is method swizzling in objective c and why would you use it?

1 Answers  


Is objective c faster than swift?

1 Answers  


What is a category extension?

1 Answers  


How to implement in app purchase in ios objective c?

1 Answers  


How do you write an objective summary?

1 Answers  


What are objective c properties?

1 Answers  


Is objective c type safe language?

1 Answers  


Categories