> On 28 Oct 2015, at 09:39, Patrick J. Collins <[email protected]>
> wrote:
>
>> That is because initializing static variables like that is only valid in
>> C++, not in C.
>
> I did not realize that... What is the "proper" way to define constants
> with NSStrings and NSNumbers as values in a non-c++ scenario?
Strings :
NSString * MyConstantString = @“My Constant String Contents”;
Numbers:
you can't
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com
This email sent to [email protected]