Reputation: 16730
My goal is to develop a verry simple file browser using NSOutline view. I already know how to do this normally, but I am totally lost on how to set this up using the binding approach.
When using regular approach i can easily find out the children that are in the parent directory by writing code in the delegate call methods to find the file/folder count and names.. however, with the binding approach, I have to build the NSMutableArray before hand.. so, is there some where i can determine the Child contents of a folder? Any help/direction appreciated.
Upvotes: 1
Views: 124
Reputation: 22939
I have created a little sample project which does just that.
Book
).Check out besi/mac-quickies on github. Most of the stuff is either done in IB or can be found in the AppDelegate
Upvotes: 1