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

Re: NSTextView actions


  • Subject: Re: NSTextView actions
  • From: Randall Meadows <email@hidden>
  • Date: Thu, 30 Oct 2008 19:34:31 -0600

On Oct 30, 2008, at 7:23 PM, Randall Meadows wrote:

When I hit, for example, the Page Up area of the scroll bar, it animates to it's new position; my reflection updates only a very small portion of this change. It doesn't at all when I hit the Page Up key, though. Is the animation process taking long enough that the very next line of code is executed before it's done, and therefore I don't capture any (or most) of the scroll? If so, is there some deterministic way I can tell when the scroll animation has completed, so I can update my view?

Just for grins, I changed my call to update the reflection to use

performSelector:withObject:afterDelay:

instead, and while that does help the paging issue, it completely breaks dragging the knob; doing that now, it doesn't update at all until I release the mouse to end the drag.

It also did nothing when I press the Page Up/Dn or arrow keys, either. So that's obviously not the solution.
_______________________________________________


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: NSTextView actions
      • From: Randall Meadows <email@hidden>
References: 
 >NSTextView actions (From: Randall Meadows <email@hidden>)

  • Prev by Date: Re: When and how often do you mix C++ with Objective C in your project?
  • Next by Date: Re: Silicon Valley CocoaHeads ... ?
  • Previous by thread: NSTextView actions
  • Next by thread: Re: NSTextView actions
  • Index(es):
    • Date
    • Thread