Re: Resizing custom subclassed NSTextView
Re: Resizing custom subclassed NSTextView
- Subject: Re: Resizing custom subclassed NSTextView
- From: Joe White <email@hidden>
- Date: Thu, 09 Jun 2011 15:53:23 +0100
Oh man, this sounds exactly what I need. Thanks for the pointer!
Cheers,
Joe
On 9 June 2011 15:37, Ross Carter <email@hidden> wrote:
> 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.
>
>
--
Joe White
Production Department, RjDj
Tel : +44 7515 731499
Reality Jockey Ltd.
Floor B “The Mission”
55 Holywell Lane
London
EC2A 3PQ
_______________________________________________
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