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 @synthesize and @dynamic in the objective-c? And also explain what do you mean by synthesized in objective-c?



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

Answer / Kapil Kumar Verma

@synthesize and @dynamic are directives used in Objective-C for property access.
@synthesize is a compiler directive that automatically generates the accessor methods (getters and setters) for properties defined in the interface.
@dynamic, on the other hand, is a compiler directive that tells the compiler not to generate the implementation for certain properties at compile time. Instead, the implementation will be provided during runtime by another class or category.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

Explain what is the principle distinction between the function calls and messages?

1 Answers  


What is delegate? Can delegates be retained?

1 Answers  


What are benefits of collections views?

1 Answers  


How to create thread in objective c?

1 Answers  


Tell me something about objective-c blocks?

1 Answers  


What is dot notation?

1 Answers  


What is property in objective c?

1 Answers  


What are static attributes?

1 Answers  


What is typedef objective c?

1 Answers  


What is kvc and kvo?

1 Answers  


What is the purpose of the protocol?

1 Answers  


What is a delegate in objective c?

1 Answers  


Categories