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

Is objective c compiled?

1 Answers  


what is gcd? What are advantages over nsthread?

1 Answers  


Can you write setter method for a retain property?

1 Answers  


What is the difference between polymorphism and abstraction?

1 Answers  


What is the latest version of objective-c?

1 Answers  


What is abstract class in objective c?

1 Answers  


How to use objective c file in swift?

1 Answers  


Is objective c the same as c++?

1 Answers  


Explain application life cycle or application states?

1 Answers  


What is difference between array and nsarray?

1 Answers  


What is the principle distinction between the function calls and messages?

1 Answers  


Does copy increase retain count?

1 Answers  


Categories