I am using some Mono functionality along with Cocoa. So, when my applications starts, I want to check whether Mono framework (along with particular version or above) is available on my Mac or not. Is there any method to look for a framework on Mac?
I am using some Mono functionality along with Cocoa. So, when my applications starts, I want to check whether Mono framework (along with particular version or above) is available on my Mac or not. Is there any method to look for a framework on Mac?
If I remember correctly, Mono installs a .framework file inside the system Library, along with other things. If that is indeed the case, use NSFileManager to check wether that framework exists in the computer.
If you're linking against the framework directly, you'd have to change it to a weak link, or write a little wrapper app that checks it directly, and launches the main app if found.
If you're linking against the framework directly, you'd have to change it to a weak link, or write a little wrapper app that checks it directly, and launches the main app if found.