Re: NSString bindings are one-way in Xcode 3.0
Re: NSString bindings are one-way in Xcode 3.0
- Subject: Re: NSString bindings are one-way in Xcode 3.0
- From: Daniel Hazelbaker <email@hidden>
- Date: Tue, 6 Nov 2007 08:27:13 -0800
I don't know why XCode 3.0 / IB 3.0 would cause this problem, but I
have seen this when you type text in a bound textfield (or view) and
then click your "OK/Save/etc." button without moving the focus off the
text field first. I don't know if you are having the same problem,
but the way I have always solved it in the past (probably not the
correct way) is to set the text field/view to "Continuously Updates
Value" in the binding.
Daniel Hazelbaker
On Nov 6, 2007, at 7:33 AM, Bob Smith wrote:
An application that I've been working on since Xcode 1.0 makes
extensive use of NSStrings to hold and save data. I've incorporated
bindings of many NSStrings to NSTextViews; in Xcode 2.(most recent)
all was well. When I compile and run in Xcode 3.0, the bindings
operate in only one direction: if the NSString is changed
programatically, the change appears as expected in the interface;
however if the change is made in the Text View, the change is not
transmitted to the application's container NSString.
Since 10/27 I'm unable to figure this out.
Bob Smith
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden