• 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: lastKeyViewTraversingSubviewsBeginningWithView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lastKeyViewTraversingSubviewsBeginningWithView


  • Subject: Re: lastKeyViewTraversingSubviewsBeginningWithView
  • From: Joe Ranieri <email@hidden>
  • Date: Sun, 21 Feb 2010 08:38:19 -0500

On 2/21/10 5:53 AM, Arved von Brasch wrote:
Hi Cocoa List,

I'm occasionally seeing the following warning from the runtime while testing my application:

warning: _lastKeyViewTraversingSubviewsBeginningWithView: encountered 5000 views!!!

It usually occurs when a NSCollectionView is being refreshed, but not every time.

I've tried Googling for this error with no help, and it doesn't seem to appear in the documentation either.

Anyone know what it means, or what the likely cause could be?  It doesn't seem to be affecting anything during testing.

My test data has just over 5000 items, but the collection view is only ever displaying just over 1000 items.

Thanks in advance,

Arved

I believe that NSCollectionView creates all of the item views up front, and doesn't lazily create them or destroy them. So, there really are 5000+ subviews. You should take a look at the collection view's subviews to see.


-- Joe Ranieri
_______________________________________________

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: lastKeyViewTraversingSubviewsBeginningWithView
      • From: "Arved von Brasch" <email@hidden>
References: 
 >lastKeyViewTraversingSubviewsBeginningWithView (From: Arved von Brasch <email@hidden>)

  • Prev by Date: Problem with one-way Core Data relationship not persisting
  • Next by Date: Re: Extract keys, values from 'usrf' Record Type NSAppleEventDescriptor?
  • Previous by thread: lastKeyViewTraversingSubviewsBeginningWithView
  • Next by thread: Re: lastKeyViewTraversingSubviewsBeginningWithView
  • Index(es):
    • Date
    • Thread