• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: folder content as model for NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: folder content as model for NSTableView


  • Subject: Re: folder content as model for NSTableView
  • From: Torsten Curdt <email@hidden>
  • Date: Fri, 15 Feb 2008 23:53:48 +0100


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
_______________________________________________

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


  • Follow-Ups:
    • Re: folder content as model for NSTableView
      • From: j o a r <email@hidden>
References: 
 >folder content as model for NSTableView (From: Torsten Curdt <email@hidden>)
 >Re: folder content as model for NSTableView (From: j o a r <email@hidden>)

  • Prev by Date: Re: duplicate interface error (solved)
  • Next by Date: Re: r/w resource forks
  • Previous by thread: Re: folder content as model for NSTableView
  • Next by thread: Re: folder content as model for NSTableView
  • Index(es):
    • Date
    • Thread