NSTreeController/Outline View Problem
NSTreeController/Outline View Problem
- Subject: NSTreeController/Outline View Problem
- From: Dave <email@hidden>
- Date: Sun, 24 May 2015 12:23:11 +0100
Hi,
I need to add a hierarchical display to my application and found the Apple Sample Code SourceView which is 90% of what I want. I’ve changed the NIB of my existing Window so that it contains the NSTreeController and the necessary Views, this is just recreated from looking at the Source View project.
I’ve wired up the Outlets and Bindings so that they match SourceView, but a couple of the binding have a grey “!” next to them in XCode/IB. I take “!” to be a warning of some kind, but clicking it doesn’t give me any further information. There are two of these:
One in in window.view.SplitView.ClipView.OutlineView.NameColumn - in the Bindings Panel in IB, I have Bind to OutlineControler checked, Controller Key: arrangedObjects, Model Key Path: nodeTitle.
However, I get “!” next to the “nodeTitle”. When I look at this is Source View, it’s ok.
I have the same problem with another Binding on window.view.TextField (this is the URL Text Field) - - in the Bindings Panel in IB, I have Bind to OutlineControler checked, Controller Key: arrangedObjects, Model Key Path: urlString. This again shows a grey “!” next to it.
As far as I can tell, everything else is wired up in the same way as SourceView.
Does anyone have any idea on what the grey “!” means and how to fix it?
Thanks a lot
All the Best
Dave
_______________________________________________
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