WHAT IS USE OF @SYNTHESIZE?

Sunil Singh

Total Post:84

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

    Post:84

    Points:420
    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, the compiler will generate the getter and setter automatically for you, @dynamic: you have to write them yourself.

      Modified On Mar-28-2018 12:24:07 AM

Answer

NEWSLETTER

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