Re: Sample Code for "weak-linking" to a framework using NSAddressOfSymbol
Re: Sample Code for "weak-linking" to a framework using NSAddressOfSymbol
- Subject: Re: Sample Code for "weak-linking" to a framework using NSAddressOfSymbol
- From: Finlay Dobbie <email@hidden>
- Date: Sat, 9 Nov 2002 13:27:39 +0000
On Friday, November 8, 2002, at 10:41 pm, Dan Wood wrote:
I'd like to be able to have code that accesses the address book
framework, but still allow running under 10.1. I've seen mentions on
the archives of using NSAddressOfSymbol to manually load and execute
code as a possible solution -- but nothing really tangible!
Weak-linking was only introduced in 10.2, so it will only be useful in
the future.
To do what you need to do, you could put all your code for dealing with
the Address Book framework in a bundle and conditionally load that at
runtime.
-- Finlay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.