Swift Developer Question:
Download Questions PDF

Can you please explain the difference between between @synthesize and @dynamic in Objective –C?

Answer:

@synthesize – It generates the getter and setter methods for the property.
@dynamic – It notifies the compiler that the getter and setter are implemented at some other place.

Download Swift Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain me why do we use swift?Do you know the Adapter And Memento Pattern?