Re: One IBAction, multiple results from multiple methods
Re: One IBAction, multiple results from multiple methods
- Subject: Re: One IBAction, multiple results from multiple methods
- From: "Paul Sanders" <email@hidden>
- Date: Thu, 26 Feb 2009 17:49:16 -0000
> It would've been REALLY nice to put something like the following into
> my .h file and have IB autodiscover it:
> #define IBTag KEYCODE_A 0
> #define IBTag KEYCODE_Z 6
> ...etc
> And then have the tag field autocomplete those in IB.
Yes, that's a much better suggestion than the one I made. I have updated my
bug report. #define's wouldn't work, but const IBTag's would (where IBTag
is defined as an int):
const IBTag KEYCODE_A 0
const IBTag KEYCODE_Z 6
_______________________________________________
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
_______________________________________________
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