Re: How do I create a NSArray of NSString constants?
Re: How do I create a NSArray of NSString constants?
- Subject: Re: How do I create a NSArray of NSString constants?
- From: Scott Mitchell <email@hidden>
- Date: Mon, 27 Jun 2005 10:51:41 -0600
On Jun 27, 2005, at 10:39 AM, James Housley wrote:
NSArray* GB_Period_Number_Strings_Array = [NSArray
arrayWithObjects:@"GB_Submit_Period1", @"GB_Submit_Period2",
@"GB_Submit_Period3", @"GB_Submit_Period4", @"GB_Submit_Period5",
@"GB_Submit_Period6", @"GB_Submit_Period7", @"GB_Submit_Period8",
@"GB_Submit_Period9", @"GB_Submit_Period10", @"GB_Submit_Period11",
@"GB_Submit_Period12", nil];
Thanks. I should have known to do that. But I am still having a
problem. I get the error below, on the line above that you gave me.
/Users/scottmitchell/gradebook/Main Sources/GBConstants.m:340: error:
initializer element is not constant
Any ideas why I would be getting that now?
Thanks,
Scott Mitchell
Macintosh Software Engineer
Excelsior Software
http://www.excelsiorsoftware.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden