Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: respondsToSelector - #import OR compiler warnings?



On Mon, Dec 29, 2008 at 11:49 PM, Steve Cronin <email@hidden> wrote:
> Call me finicky if you want but I love spanking clean compiles.

Not finicky; appropriately cautious.  But this is going to happen
whenever you start deciding to invoke methods based on
-respondsToSelector:.  The compiler needs to know some aspects of the
selector's type signature in order to generate the correct code.
Otherwise it's going to start passing arguments on the stack when they
should be in floating-point registers or making other such mistakes.

--Kyle Sluder
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >respondsToSelector - #import OR compiler warnings? (From: Steve Cronin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.