On Oct 15, 2013, at 14:50:51, Steve Mills <smi...@makemusic.com> wrote:
> NSArray* items = [self itemArray]; > > for(NSMenuItem* item in items) > blah; > > [items release]; Ah, this one won't work (I didn't try it before when I wrote my original message) because itemArray actually does return a new *immutable* array, but it's not release-able. Doing so produces a crash. -- Steve Mills office: 952-818-3871 home: 952-401-6255 cell: 612-803-6157 _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com