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: Bill Cheeseman <email@hidden>
- Date: Mon, 11 Nov 2002 06:23:00 -0500
on 02-11-10 7:11 PM, Ondra Cada at email@hidden wrote:
>
On Saturday, November 9, 2002, at 04:40 , Marco Scheurer wrote:
>
>
> Is that true? The following code, in a category of NSTextField, compiled
>
> on 10.2 does not break on 10.1.x (text field is not rounded).
>
>
>
> - (void) beRounded
>
> {
>
> if (IsJaguarOrLater()) {
>
> [self setBezeled:YES];
>
> [self setBezelStyle:NSTextFieldRoundedBezel];
>
> }
>
> }
>
>
>
> Not only the NSTextFieldRoundedBezel constant, but also the setBezelStyle
>
> method are new to 10.2.
>
>
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. That's different from an
external constant, isn't it? I thought the issue with dyld was just external
constants.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
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.