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...


Distinguish between @synthesize and @dynamic in objective –c?



Distinguish between @synthesize and @dynamic in objective –c?..

Answer / Shagun Chahal

In Objective-C, both @synthesize and @dynamic are used for implementing accessor methods. However, the main difference is that @synthesize generates the accessor methods automatically when a property is declared, while @dynamic indicates that the accessor methods should not be synthesized automatically and must be implemented manually by the developer.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

Why create a custom view?

1 Answers  


What is kvc and kvo? Give an example of using kvc to set value.

1 Answers  


What optional binding?

1 Answers  


What is an objective statement?

1 Answers  


Is objective-c is used in window also?

1 Answers  


How does dispatch_once manages to run only once?

1 Answers  


Is objective c similar to java?

1 Answers  


What is an nsobject?

1 Answers  


What is the purpose of the protocol?

1 Answers  


What is protocol in networking?

1 Answers  


Why is objective c used?

1 Answers  


Why swift is faster than objective c?

1 Answers  


Categories