On 2010 Sep 21, at 21:21, k...@highrolls.net wrote:
> However, must I retain [sender draggedImage] so the code becomes:
> 
> id thisObstacle = [[obstacle alloc] initWithImage:[[sender draggedImage] 
> retain] andLocation:[sender draggingLocation]];

No.  Your 'obstacle' should retain its 'image' as an instance variable if it 
needs to.  

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to