Re: IB TextField Bindings and dragging text
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