• 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
Binding an NSTextField to an NSString *
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Binding an NSTextField to an NSString *


  • Subject: Binding an NSTextField to an NSString *
  • From: Hua Ying Ling <email@hidden>
  • Date: Tue, 23 Mar 2004 10:12:21 -0500

Hi,

I'm having problems binding an NSTextField's value to an NSString * using an NSObjectController. When I make this binding, the text field always seems to report NULL. I've tried allocating a string in the init method of the content provider for the NSObjectController but that doesn't seem to help. According to Apple's docs here: <http://developer.apple.com/documentation/Cocoa/Reference/ CocoaBindingsRef/index.html#//apple_ref/doc/uid/10000189i> NSTextField should accept an NSString for it's value.

What am I doing wrong?
Thanks
~Hua Ying
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: Programmatically relaunching app
  • Next by Date: Re: Programmatically relaunching app
  • Previous by thread: Repost : Nested Modal Window in Cocoa framework.Is it a bug in Cocoa framework?Anyone from Apple listening?
  • Next by thread: Re: Binding an NSTextField to an NSString *
  • Index(es):
    • Date
    • Thread