Re: Help with text input
Re: Help with text input
- Subject: Re: Help with text input
- From: Charles Srstka <email@hidden>
- Date: Fri, 30 Apr 2010 11:57:22 -0500
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 (email@hidden)
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:
This email sent to email@hidden