• 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
Re: IB TextField Bindings and dragging text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IB TextField Bindings and dragging text


  • Subject: Re: IB TextField Bindings and dragging text
  • From: Andy Lee <email@hidden>
  • Date: Sun, 02 Aug 2009 16:35:36 -0400

On Aug 2, 2009, at 3:17 PM, Steve Cronin wrote:
NSDictionary *bindDict = [self infoForBinding:@"value"];
[[bindDict objectForKey:@"NSObservedObject"] setValue:newString forKeyPath:[bindDict objectForKey:@"NSObservedKeyPath"]];

You should probably use NSObservedObjectKey and NSObservedKeyPathKey instead of hard-coded strings.


--Andy


_______________________________________________

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


References: 
 >IB TextField Bindings and dragging text (From: Steve Cronin <email@hidden>)
 >Re: IB TextField Bindings and dragging text (From: Steve Cronin <email@hidden>)

  • Prev by Date: Re: incorrect checksum for freed object
  • Next by Date: From NSTextView to address an NSTextField
  • Previous by thread: Re: IB TextField Bindings and dragging text
  • Next by thread: From NSTextView to address an NSTextField
  • Index(es):
    • Date
    • Thread