On Apr 30, 2010, at 11:40 AM, Bill Appleton wrote: > yep, i'm working on that > > stupid questions: > > do i have to gather & append key events into my array? your example just > sends the current event, so if i do option-key-whatever with multiple key > events will that work?
Nope, the text system handles all that for you. > and do i need to release the array? you are just sending a new array to > interpretkeyevents & forgetting it I didn’t send alloc, new, retain, or copy to the array, so I don’t need to release it. Objects created via convenience constructors like arrayWith... do not need to be released. Charles_______________________________________________ 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