Re: View-based outline view problem
Re: View-based outline view problem
- Subject: Re: View-based outline view problem
- From: Shane Stanley <email@hidden>
- Date: Fri, 11 Jul 2014 23:33:07 +1000
In case anyone's following along, I followed Ken's suggestion and made a subclass of NSTextField, and moved my textView:willChangeSelectionFromCharacterRange:toCharacterRange: delegate method there.
I also followed Bill's suggestion of overriding becomeFirstResponder so that I could disallow editing of some names. For the editable names I had to include [self selectText:self] before returning YES, or the field rather than the text was selected.
I presume I now need to replace outlineView:setObjectValue:forTableColumn:byItem: with an action method triggered by the text field.
Thanks for the tips.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
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