Let's say I have a class called colorPicker which holds a delegate to notify about color changes.
Does the property for this delegate need to be set to retain
or assign
? WHY?
@interface ColorPicker : UIView
@property (nonatomic, retain) NSObject <ColorPickerDelegate> *delegate;
@end