Re: "weak link" framework refs for 10.1 compatibility?
Re: "weak link" framework refs for 10.1 compatibility?
- Subject: Re: "weak link" framework refs for 10.1 compatibility?
- From: Ondra Cada <email@hidden>
- Date: Mon, 11 Nov 2002 14:52:52 +0100
On Monday, November 11, 2002, at 12:23 , Bill Cheeseman wrote:
Wow -- you sure? With the method it is just natural, but with constants
it
should not work, so far as I understand how the linker behaves :-O :-O
These are enumeration constants in a typedef.
Ah. I havent checked -- I live in 10.1, so to speak ;), and had no 10.2 at
hand at the moment. Also, I did never suppose that such an experienced
programmer as Marco is would use such a self-evidently nonsensical example
as using a constant from a header... Sigh.
I thought the issue with dyld was just external constants
Of course (that includes classes, too, but the problem can be worked
around by using NSClassFromString). What I was puzzled at was whether
there is not some dirty trick like to default unknown externals to NULL
and letting the app still run: it would be quite dangerous, but convenient.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.