Skip navigation.
 
mlRe: folder content as model for NSTableView
FROM : Torsten Curdt
DATE : Fri Feb 15 23:53:48 2008

On 15.02.2008, at 20:56, j o a r wrote:

>
> On Feb 15, 2008, at 11:30 AM, Torsten Curdt wrote:
>

>> I'd assume I would have to come up with a FolderController 
>> extending either NSObjectController or NSController. Or extend 
>> NSArrayController and fill the array from the folder.

>
>
> I wouldn't subclass these classes for that purpose. Create a class 
> that represents a folder at a given path and give the instances of 
> that class a "contents" property, then bind that property to the 
> array controller of your table view.


Hm... but the controller is for NSArray's only ...and the class that 
represents the folder is no NSArray. Or did you mean to subclass 
NSArray?

cheers
--
Torsten

Related mailsAuthorDate
mlfolder content as model for NSTableView Torsten Curdt Feb 15, 20:30
mlRe: folder content as model for NSTableView j o a r Feb 15, 20:56
mlRe: folder content as model for NSTableView Kyle Sluder Feb 15, 20:56
mlRe: folder content as model for NSTableView Torsten Curdt Feb 15, 23:50
mlRe: folder content as model for NSTableView Torsten Curdt Feb 15, 23:53
mlRe: folder content as model for NSTableView Jean-Daniel Dupas Feb 15, 23:59
mlRe: folder content as model for NSTableView j o a r Feb 16, 00:10
mlRe: folder content as model for NSTableView Kyle Sluder Feb 16, 03:10
mlRe: folder content as model for NSTableView Torsten Curdt Feb 19, 00:14