The @synthesize directive is used to generate getter and setter methods for a property in Objective-C. It is used to create the backing instance variable for a property and implements the getter and setter methods for that variable.
Synthesize example:
@synthesize name = _name;
This will create a backing instance variable with the name _name and will generate getter and setter methods for the property name.