Skip navigation.
 
mlRe: folder content as model for NSTableView
FROM : Kyle Sluder
DATE : Fri Feb 15 20:56:28 2008

On Fri, Feb 15, 2008 at 2:30 PM, Torsten Curdt <<email_removed>> 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.


Or go old-school and provide a data source.  Probably easier in this situation.

>  In general the problem I see is that the model could change
>  "underneith". A file could have been deleted/added outside the
>  application and not through the controller. Of course I could poll
>  the directory for changes ...or is there a way to register to receive
>  file modification events?


New in Leopard: FSEvents.  Tiger and below have fseventsd, but it's private.

--Kyle Sluder

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