OSX Weak Linking - check if a class exists and use that class

Posted by psychotik on Stack Overflow See other posts from Stack Overflow or by psychotik
Published on 2010-06-16T21:28:08Z Indexed on 2010/06/16 21:32 UTC
Read the original article Hit count: 398

I'm trying to create a universal iPhone app, but it uses a class defined only in a newer version of the SDK. The framework exists on older systems, but a class defined in the framework doesn't.

I know I want to use some kind of weak linking, but any documentation I can find talks about runtime checks for function existence - how do I check that a class exists?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about osx