Re: NSDocument not receiving notifications from NSTextField
Re: NSDocument not receiving notifications from NSTextField
- Subject: Re: NSDocument not receiving notifications from NSTextField
- From: Martin Linklater <email@hidden>
- Date: Tue, 28 Feb 2006 15:39:35 +0000
Indeed I am doing something stupid. The notification is controlTextDidEndEditing.
duh.
On Tuesday, February 28, 2006, at 03:35PM, Martin Linklater <email@hidden> wrote:
>Hi. I'm a noob, so be gentle... I have an NSDocument which contains some NSTextFields. I want the NSDocument to handle the editing notifications from the NSTextField. So, during the NSDocument's windowControllerDidLoadNib method I'm setting the delegate of the NSTextField to self:
>
>[textField setDelegate:self];
>
>Yet the NSDocument isn't receiving any of the editing notifications from the NSTextView (textDidEndEditing etc).
>
>Am I doing something stupid here ? Thanks.
>
>---
>http://homepage.mac.com/mslinklater
> _______________________________________________
>Do not post admin requests to the list. They will be ignored.
>Cocoa-dev mailing list (email@hidden)
>Help/Unsubscribe/Update your Subscription:
>
>This email sent to email@hidden
>
>
---
http://homepage.mac.com/mslinklater
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden