We have a piece of code that we have in the main source of a project as well as a static library in another project.

                SEL action = NSSelectorFromString(aServiceName);
                if ([self respondsToSelector:action])
                {
                        [self performSelector:action];
                }


In the project where the above code is part of the main project - it works great. In the static library it does nothing. To be clear - respondsToSelector: returns true. So why would respondsToSelector return true, but performSelector do nothing? ALso I get no error of any kind in the console.

Alex Kac - President and Founder
Web Information Solutions, Inc.

"In the Country of the Blind, the one-eyed man is king."
--Desiderius Erasmus





_______________________________________________

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