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


Can we create dynamic classes in objective c? If yes, explain how to create with a valid use case?



Can we create dynamic classes in objective c? If yes, explain how to create with a valid use case?..

Answer / Atif

Yes, we can create dynamic classes in Objective-C using runtime functionality. To do this, we can allocate memory for the class structure and set the isa pointer of the allocated structure to the metaclass of the superclass. A common use case would be creating subclasses at runtime based on user preferences or data.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What is a function file?

1 Answers  


What is the difference between nsdictionary and nsmutabledictionary?

1 Answers  


How do you insert a block?

1 Answers  


How to use objective c file in swift?

1 Answers  


What is .h and .m file in xcode?

1 Answers  


What are static attributes?

1 Answers  


What are the classifications of property?

1 Answers  


How do you define a protocol?

1 Answers  


Distinguish between @synthesize and @dynamic in objective –c?

1 Answers  


What is the difference between function and objective?

1 Answers  


Mention whether nsobject is a parent class or derived class.

1 Answers  


What is an example of category?

1 Answers  


Categories