• 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: Dave DeLong <email@hidden>
  • Date: Tue, 16 Nov 2010 10:29:31 -0700

Which means you'd probably have to do it programmatically, or just have an IBOutlet to the UIButton inside the UIBarButtonItem.

Dave

On Nov 16, 2010, at 10:26 AM, Jonathon Kuo wrote:

> On Nov 16, 2010, at 9:12 AM, Matt Neuburg wrote:
>
>> 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.
>
> I agree: that's how I expected it to work, too, but that's not how it does work (Xcode 3.2.4). If I drag a Round Rect Button onto the Toolbar, it instantly gets promoted to a UIBarButtonItem (really!), and I can't set "Touch Down" on it, nor can I change the class of it in IB. That's why I'm confused...
_______________________________________________

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

References: 
 >Re: [iPhone] Toolbar button and "Touch Down" (From: Matt Neuburg <email@hidden>)
 >Re: [iPhone] Toolbar button and "Touch Down" (From: Jonathon Kuo <email@hidden>)

  • Prev by Date: Re: [iPhone] Toolbar button and "Touch Down"
  • Next by Date: Re: Core Data: During Migration, should use Primitive Accessors only?
  • Previous by thread: Re: [iPhone] Toolbar button and "Touch Down"
  • Next by thread: Re: [iPhone] Toolbar button and "Touch Down"
  • Index(es):
    • Date
    • Thread