I understand in the delegate pattern for iOS you want the reference to the delegate to be weak, but if I for instance have this:
@property (nonatomic, weak) NSMutableArray *delegates;
and in this array are instances of
id<myDelegateCallback>
The Array has a strong retain of the items inside.
Do I alloc/init the array inside the class that has this as it's property or do I set the array to an instance owned by another class?
Or is this not a good implementation of the Delegate pattern? I understand I can use Notifications and such, but wanted to know if this would actually work without any ARC issues.