Re: Multiple methods named...
Re: Multiple methods named...
- Subject: Re: Multiple methods named...
- From: Michael Bauer <email@hidden>
- Date: Sun, 17 Feb 2013 07:01:29 -0500
I must misunderstand what you are trying to accomplish. From the description of Strict Selector Matching:
"Warn if multiple methods with differing argument and/or return types are found for a given selector when attempting to send a message using this selector to a receiver of type "id" or "Class". When this setting is disabled, the compiler will omit such warnings if any differences found are confined to types which share the same size and alignment. "
To me it seems that this is what you are trying to accomplish: use the same method name passed to a type id whose class is determined at runtime and each method from the respective class would do something different.
FWIW I just used a default command line template for the project.
Regards,
-mike
_______________________________________________
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