Home > DeveloperSection > Interviews > What is use of @Synthesize?

Posted on    April-21-2015 2:33 AM

 iPhone iPhone  Ios  Ipad 
Ratings:
 1 Answer(s)
  408  View(s)
Rate this:

Sunil Singh
Sunil Singh

Total Post:32

Points:160
Posted on    April-21-2015 2:33 AM

We can use generated code like nonatomic, atmoic, retain without writing any lines of code. We also have getter and setter methods. To use this, you have 2 other ways: @synthesize or @dynamic: @synthesize, compiler will generate the getter and setter automatically for you, @dynamic: you have to write them yourself.


Don't want to miss updates? Please click the below button!

Follow MindStick