Runtime check if weak frameworks are loaded
Runtime check if weak frameworks are loaded
- Subject: Runtime check if weak frameworks are loaded
- From: email@hidden
- Date: Wed, 15 Mar 2006 21:34:11 +0100
To weak link against a framework, I've followed to advices on:
http://developer.apple.com/documentation/MacOSX/Conceptual/
BPFrameworks/Concepts/WeakLinking.html
So I'm using -weak_framework Foo and checking for successful loading
with
#include <Foo/foo.h>
if (::fooMethod == NULL)
return;
This code works fine for while but since I switched from Xcode 1.5 to
2.2 and
from gcc3.3 to gcc4 fooMethod is never NULL neither Foo.framework
exists or not.
What could it be the reason?
-kaarle
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden