Le 6 mars 09 à 20:47, Joar Wingfors a écrit :
On Mar 6, 2009, at 11:21 AM, Paul Sanders wrote:
Yes, that one gets me every time. Why, when you do
@selector(oops_i_forgot_the_colon) does the compiler not flag it as
an error
(or at least a warning). Can you put any old thing in the brackets
there?
Of course you can put anything. Else how would you be able to create a
method and a selector at runtime ?
I'd suggest using:
-Wundeclared-selector
j o a r
_______________________________________________
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/devlists%40shadowlab.org
This email sent to devli...@shadowlab.org
_______________________________________________
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