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 an extension?



What is an extension?..

Answer / Krati Vishnoi

In Objective-C, an extension is a way of adding methods and properties to existing classes without modifying the original implementation files. Extensions help you separate your code into smaller parts, making it more readable and manageable. To create an extension, simply place the additional code inside a curly brace block following the @interface declaration for the class in a .m or .h file.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What is the difference between method and type?

1 Answers  


What are the characteristics of the category?

1 Answers  


What are the important data types found in objective-c?

1 Answers  


What is toll-free bridging? When is it useful?

1 Answers  


Is objective c object oriented?

1 Answers  


Is swift based on objective c?

1 Answers  


How do you define a block?

1 Answers  


How to convert data to string in objective c?

1 Answers  


What do you mean by @synthesize and @dynamic in the objective-c? And also explain what do you mean by synthesized in objective-c?

1 Answers  


What is the difference between underscore and self (i.e self.xx and _xx) ?

1 Answers  


What is a delegate in objective c?

1 Answers  


Explain what is data encapsulation in objective-c?

1 Answers  


Categories