· Properties are a feature in Objective-C that allow us to automatically generate accessors
· The @synthesize directive automatically generates the setters and getters for us, so all we have to implement for this class is the dealloc method.
· @synthesize will generate getter and setter methods for your property. @dynamic just tells the compiler that the getter and setter methods are implemented not by the class itself but somewhere else (like the superclass)
· Uses for @dynamic are e.g. with subclasses of NSManagedObject (CoreData) or when you want to create an outlet for a property defined by a superclass that was not defined as an outlet:
· The @synthesize directive automatically generates the setters and getters for us, so all we have to implement for this class is the dealloc method.
· @synthesize will generate getter and setter methods for your property. @dynamic just tells the compiler that the getter and setter methods are implemented not by the class itself but somewhere else (like the superclass)
· Uses for @dynamic are e.g. with subclasses of NSManagedObject (CoreData) or when you want to create an outlet for a property defined by a superclass that was not defined as an outlet: