Re: linker error nonsense?
Re: linker error nonsense?
- Subject: Re: linker error nonsense?
- From: Jens Alfke <email@hidden>
- Date: Tue, 27 Oct 2015 19:16:10 -0700
- X_v_e_cd: e7689f8f623a4b06a6180744256759b2
- X_v_r_cd: d2c2a5190bf6f475cad8fdcdd48eb24f
On Oct 27, 2015, at 6:43 PM, Roland King < email@hidden> wrote:
Numbers: you can't
Well, realistically you use the +initialize method; something like:
@implementation …
static Foo* MyConstantFoo;
+ (void) initialize { if (!MyConstantFoo) MyConstantFoo = ….. ; }
—Jens |
_______________________________________________
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