• 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: Accessor called once, fires twice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessor called once, fires twice


  • Subject: Re: Accessor called once, fires twice
  • From: "John C. Randolph" <email@hidden>
  • Date: Wed, 20 Feb 2002 12:22:04 -0800

On Wednesday, February 20, 2002, at 01:42 AM, Bill Cheeseman wrote:

on 02-02-19 5:38 PM, Bill Cheeseman at email@hidden wrote:

All of a sudden, my "set" accessor logs
the new value TWICE when I click on the slider.

A night's sleep brought understanding. These are continuous sliders.
Apparently it is not possible to click quickly enough nor hold the mouse
still enough to avoid firing a continuous slider's action method twice.

I wonder why that is.

It's probably firing on both the mousedown and the mouseup events.

-jcr

John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Accessor called once, fires twice (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: NSLayoutManager question
  • Next by Date: Re: Apps crashs when clicking on menu
  • Previous by thread: Re: Accessor called once, fires twice
  • Next by thread: Re: Accessor called once, fires twice
  • Index(es):
    • Date
    • Thread