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’s the contrast between active, inactive, not-running, background and suspended execution states?

1 Answers  


How to initialize nsmutabledictionary in objective c?

1 Answers  


What is atomic in objective c?

1 Answers  


What are the advantages of swift over objective c?

1 Answers  


What is synthesize objective c?

1 Answers  


What is enum in objective c?

1 Answers  


Can you retain delegates?

1 Answers  


What is immutable infrastructure?

1 Answers  


What is category in objective c?

1 Answers  


What are the different types of identifiers?

1 Answers  


What is hashable?

1 Answers  


What is class extension?

1 Answers  


Categories