Checking for Presence of Objective-C Framework Checking for Presence of Objective-C Framework objective-c objective-c

Checking for Presence of Objective-C Framework


What you will want to do is use a weak link to the CoreData foundation. Once you do that you can use runtime checks to make sure that CoreData is available. Constant variables can be checked for existence at runtime as well. If you were to use preprocessor (#if #ifdef) checks you would then have two separate framework versions to distribute with each release.