• 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: Slow scrolling after NSPopup implementation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slow scrolling after NSPopup implementation


  • Subject: Re: Slow scrolling after NSPopup implementation
  • From: Kyle Sluder <email@hidden>
  • Date: Fri, 15 May 2009 07:24:27 -0400

On Fri, May 15, 2009 at 7:10 AM, Steven Hamilton <email@hidden> wrote:
> Hmm, so we're saying that -tableView:willDisplayCell:forTableColumn:row:
> cannot be used to set the value I want displayed in an NSPopupCell in a
> column? I must use -tableView:willDisplayCell:forTableColumn:row: instead
> which, as far as I can see, will be called just as often.

I am saying no such thing.  Please restrict your interpretation of my
replies as applying solely to the performance characteristics and
correctness of the approach you originally provided, namely that is is
slow and potentially incorrect.

> I'm also not relying on having the columns called in order. I can't see
> where you can see that but perhaps it was in my explanation. The popup is
> also not setting any content via bindings. It's done manually via the -
> (void)tableView:(NSTableView *)tableView setObjectValue:(id)newValue
> forTableColumn:(NSTableColumn *)tableColumn row:(int)row method.

In your first post you said you bound the table column to an
NSArrayController.  And in your data source code you're setting a
property to which your array controller's selectionIndexes property is
bound, with the goal of selecting the correct item in the pop up list.
 Correct?

--Kyle Sluder
_______________________________________________

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: Slow scrolling after NSPopup implementation
      • From: Steven Hamilton <email@hidden>
    • Re: Slow scrolling after NSPopup implementation
      • From: Steven Hamilton <email@hidden>
References: 
 >Slow scrolling after NSPopup implementation (From: Steven Hamilton <email@hidden>)
 >Re: Slow scrolling after NSPopup implementation (From: Kyle Sluder <email@hidden>)
 >Re: Slow scrolling after NSPopup implementation (From: Steven Hamilton <email@hidden>)
 >Re: Slow scrolling after NSPopup implementation (From: Kyle Sluder <email@hidden>)
 >Re: Slow scrolling after NSPopup implementation (From: Steven Hamilton <email@hidden>)

  • Prev by Date: Re: Slow scrolling after NSPopup implementation
  • Next by Date: Re: Slow scrolling after NSPopup implementation
  • Previous by thread: Re: Slow scrolling after NSPopup implementation
  • Next by thread: Re: Slow scrolling after NSPopup implementation
  • Index(es):
    • Date
    • Thread