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?



What do you mean by @synthesize and @dynamic in the objective-c?..

Answer / Mohit Srivastava

@syntheize is a directive used in Objective-C to generate accessor methods for instance variables, while @dynamic is used to declare that the implementation of a method or property will be provided at runtime. In other words, @synthesize generates getter and setter methods automatically, while @dynamic tells the compiler not to generate these methods and leaves their implementation to a subclass.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What are the size classes?

1 Answers  


How to declare variable in objective c?

1 Answers  


What is the difference between #import and #include in objective-c?

1 Answers  


What does the gc () method?

1 Answers  


What is .m file in objective c?

1 Answers  


When to use nsautoreleasepool??

1 Answers  


What are the two types of tangible property?

1 Answers  


How declare methods in objective c?

1 Answers  


What does @synchronized() do?

1 Answers  


Explain the difference between atomic and nonatomic synthesized properties.

1 Answers  


Mention what is the primary use of the category in the objective-c?

1 Answers  


What is nonatomic and strong in objective c?

1 Answers  


Categories