On 08.06.2009, at 03:09, Bryan Henry wrote:


As someone already said, if your action method is specific enough to the type of sender object

I should have been clearer about that. Yes, I am only talking about action methods that are pretty specific and that will not get connected to other types of senders.


On 08.06.2009, at 03:34, Andy Lee wrote:

I never thought of trying this before, but it seems that having a more narrowly defined sender also limits the kind of controls IB lets you connect *from*, at least in the Cocoa IB and presumably in the iPhone IB as well.


Wow, this is neat, I never noticed that before because I always used "id" in the past... It does work the same in Cocoa Touch.

That this functionality exists actually suggests to me that using a more specific sender type is legitimate.




_______________________________________________

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