• 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: [Moderator] Re: "Select All" first in table view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Moderator] Re: "Select All" first in table view


  • Subject: Re: [Moderator] Re: "Select All" first in table view
  • From: "I. Savant" <email@hidden>
  • Date: Thu, 10 May 2007 11:43:32 -0400

On 5/10/07, cocoa-dev-admins <email@hidden> wrote:
Please keep this specific to Cocoa.

Yes, the UI design approach part is best for that yahoo list mmalc keeps referencing (though its name slips my mind), but, specifically to Cocoa - :-) - the take-home messages is this:

 If you want to still use Core Data / Bindings, you can still use the
array controller for the model data source (since it does a lot of the
heavy lifting for you), but use the table data source methods to
populate the table. Bindings and table data sources can be (and often
are, in more complicated apps) mixed. With some things (like this
one), it's necessary.

 Specifically, I'd just create a subclass of NSArrayController that
serves as both array controller and datasource, so it's trivial to
call -reloadData on the table in response to content changes and
sorting.

--
I.S.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >"Select All" first in table view (From: Micha Fuhrmann <email@hidden>)
 >Re: "Select All" first in table view (From: "I. Savant" <email@hidden>)
 >Re: "Select All" first in table view (From: Sam Stigler <email@hidden>)
 >Re: "Select All" first in table view (From: "I. Savant" <email@hidden>)
 >Re: "Select All" first in table view (From: Sam Stigler <email@hidden>)
 >Re: "Select All" first in table view (From: "I. Savant" <email@hidden>)
 >[Moderator] Re: "Select All" first in table view (From: cocoa-dev-admins <email@hidden>)

  • Prev by Date: Re: "Select All" first in table view
  • Next by Date: Re: Accessing Text fields my cocoa app through AppleScripts
  • Previous by thread: [Moderator] Re: "Select All" first in table view
  • Next by thread: Re: "Select All" first in table view
  • Index(es):
    • Date
    • Thread