• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSDocument not receiving notifications from NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDocument not receiving notifications from NSTextField


  • Subject: NSDocument not receiving notifications from NSTextField
  • From: Martin Linklater <email@hidden>
  • Date: Tue, 28 Feb 2006 13:09:49 +0000

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

  • Follow-Ups:
    • Re: NSDocument not receiving notifications from NSTextField
      • From: Martin Linklater <email@hidden>
  • Prev by Date: vCard -> loss of Identity
  • Next by Date: Create semi-transparent NSImage
  • Previous by thread: Re: vCard -> loss of Identity
  • Next by thread: Re: NSDocument not receiving notifications from NSTextField
  • Index(es):
    • Date
    • Thread