• 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: Custom control and cells
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom control and cells


  • Subject: Re: Custom control and cells
  • From: Georg Seifert <email@hidden>
  • Date: Sat, 10 Jul 2010 20:07:42 +0200

Am 10.07.2010 um 03:42 schrieb Michael Ash:

> On Fri, Jul 9, 2010 at 6:22 PM, Georg Seifert <email@hidden> wrote:
>> Hi,
>> The thing is, I want to replicate the NSCollectionView but using cells instead of views. The NSCollectionView has a lot of problems like performance  and I couldn’t find a way to get the rect of the view of an item (both fixed in Snow Leopard but I have to support Leopard).
>
> If I were writing this today, I would use views. I would make it so
> that it only had enough subviews to occupy the currently visible area.
> The rest of the collection view would be empty. As the user scrolled,
> I would create new views for the newly exposed items and add them
> dynamically. If view creation is too slow for this, I would implement
> some sort of view reuse mechanism that could load new data into the
> views that have scrolled off screen. This is basically how UITableView
> works on the iPhone, and if it can get good performance on that
> platform, you ought to be able to do great on any Mac that can run OS
> X.
>
I understand.

Jumping through some more holes, I did manage to implement most things I needed.

On thing I can’t figure out, is how to implement extending the selection with the shift key. Only the command modifier works by default.

Georg

> Mike
> _______________________________________________
>
> 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

_______________________________________________

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

References: 
 >Custom control and cells (From: Georg Seifert <email@hidden>)
 >Re: Custom control and cells (From: Corbin Dunn <email@hidden>)
 >Re: Custom control and cells (From: Georg Seifert <email@hidden>)
 >Re: Custom control and cells (From: Michael Ash <email@hidden>)

  • Prev by Date: Dynamically Positioning Resized WebView
  • Next by Date: Re: Using NSFetchRequest to fetch NSManagedObject subclasses
  • Previous by thread: Re: Custom control and cells
  • Next by thread: Mobileme syncing of core data persistent store
  • Index(es):
    • Date
    • Thread