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 
>> <newsli...@autonomy.caltech.edu> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to