Re: CoreData,Bindings,AutoComplete,NSComboBox
Re: CoreData,Bindings,AutoComplete,NSComboBox
- Subject: Re: CoreData,Bindings,AutoComplete,NSComboBox
- From: Adam Gerson <email@hidden>
- Date: Wed, 13 Feb 2008 19:06:46 -0500
Hey John,
It wasn't just that I didn't get the results I wanted, but unfortunately
I allowed time machine to overwrite the .nib file. It was an error
message about the nib being unreadable in some way when I open it.
I would also like to report that I solved my problem with some help.
You are not supposed to use a data source if you want to auto compleate
to occur from the content of a binding. All I had to do was check auto
complete and not check use data source and bind the content value to my
array controller and it worked.
Thats a cool feature built in for free.
Adam
Jonathan Hess wrote:
On Feb 12, 2008, at 11:53 PM, Adam Gerson wrote:
I had this working and then my .nib file got corrupted and I had to
restore from a time machine backup (thank you), so I know its
possible. However, I am unable to recreate my what I did.
Hey Adam -
When you say the NIB file was corrupted, I bet you mean that it wasn't
producing the results you wanted, as opposed to the file on disk being
unreadable by Interface Builder. Is that the case? If so, do you have
an suggestions for how you would have liked Interface Builder to help
you diagnose the inadvertent changes that were made to your document?
If Interface Builder indeed corrupted your file in the sense that it
wasn't readable by Interface Builder, could you please file a bug
<http://bugreport.apple.com/> so that we can fix the issue as soon as
possible?
Good Luck -
Jon Hess
I have an NSComboBox column in a table view. The column's value
binding is connected to a "url" property in an array controller and
works just fine. In the attribute tab of the inspector for the
NSComboBox cell I clicked on "Autocompletes" and "Uses Data Source".
The I added an additional binding to the cell and the NSCombobox
autocompleted from any value that had been entered into the
ArrayController previously. It was impressive, jump out of my seat
magic. I can not make it happen again.
I feel like Sean Connery in Medicine Man
http://www.imdb.com/title/tt0104839/
I know I have a complicated, multi layered situation here. I guess a
more generic question could be: if I set an NSCombCon to
"Autocompletes" and "Uses Data Source", what binding do I set up to
feed the datasource?
Any help with this would be appreciated,
Adam
_______________________________________________
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
_______________________________________________
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