WHAT IS USE OF @SYNTHESIZE?

Sunil Singh

Total Post:167

Points:835
Posted by  Sunil Singh
iPhone  Ios  Ipad 
 601  View(s)
Ratings:
Rate this:
  1. Sunil Singh

    Post:167

    Points:835
    What is use of @Synthesize?

    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!