Re: Resizing custom subclassed NSTextView
Re: Resizing custom subclassed NSTextView
- Subject: Re: Resizing custom subclassed NSTextView
- From: Ross Carter <email@hidden>
- Date: Thu, 09 Jun 2011 10:37:19 -0400
On Jun 9, 2011, at 6:11 AM, Joe White wrote:
> I think it would solve all my problems if I was able to do auto-completion, etc... with NSTextField. I don't have enough knowledge of the Cocoa API to make an informed decision yet.
If you are not familiar with the field editor, I recommend you read up on it. When you are editing a NSTextField, it gets replaced by a NSTextView. You can create your own NSTextView subclass and return it when the window asks for a field editor. NSTextField merely displays the content when it is not being edited. You don't lose any editing power by using NSTextField.
_______________________________________________
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