• 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: [iPhone] Toolbar button and "Touch Down"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iPhone] Toolbar button and "Touch Down"


  • Subject: Re: [iPhone] Toolbar button and "Touch Down"
  • From: Matt Neuburg <email@hidden>
  • Date: Tue, 16 Nov 2010 09:12:58 -0800

On Mon, 15 Nov 2010 10:02:44 -0800, Jonathon Kuo <email@hidden> said:
>Interesting idea, probably a little beyond me. :)

Nonsense. This is perfectly standard and easy. A UIButton can send an action message on TouchDown. It makes no difference that the UIButton is inside a UIBarButton. How much plainer can it be? m.

>On Nov 12, 2010, at 8:53 PM, Dave DeLong wrote:
>>>
>> What about initing a barButtonItem with a custom view (that view being a UIButton that has the target/action set on the appropriate touch down inside [the end zone! - sorry, couldn't resist]), and then setting the target/action of the barButtonItem itself to nil?

--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/default.html#applescriptthings_______________________________________________

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: [iPhone] Toolbar button and "Touch Down"
      • From: Jonathon Kuo <email@hidden>
  • Prev by Date: Re: Get current caret position
  • Next by Date: Garbage Collection, Standard Out, NSTask
  • Previous by thread: Re: [iPhone] Toolbar button and "Touch Down"
  • Next by thread: Re: [iPhone] Toolbar button and "Touch Down"
  • Index(es):
    • Date
    • Thread