Re: [iPhone] Toolbar button and "Touch Down"
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