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

What’s the contrast between active, inactive, not-running, background and suspended execution states?

1 Answers  


How do you write a good objective?

1 Answers  


What do you mean by dot notation?

1 Answers  


How to reverse array in objective c?

1 Answers  


What is the function of the category?

1 Answers  


what is gcd? What are advantages over nsthread?

1 Answers  


Which language does apple use?

1 Answers  


What is posing in objective c?

1 Answers  


What is meant by not thread safe?

1 Answers  


Is objective c similar to c++?

1 Answers  


What are the 5 principles of object oriented programming?

1 Answers  


Can I write some c++ function in same .m file? Will it compile? If no, what changes should I do to compile it?

1 Answers  


Categories