in Technology by (1.8m points)
Explain what is @synthesize in Objective-C?

1 Answer

0 votes
by (1.8m points)

@synthesize creates a getter and a setter for the variable. This lets you specify some attributes for your variables and when you @synthesize that property to the variable you generate the getter and setter for the variable.

Related questions

0 votes
asked Nov 10, 2020 in Technology by JackTerrance (1.8m points)