• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How do I create a NSArray of NSString constants?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How do I create a NSArray of NSString constants? (From: Scott Mitchell <email@hidden>)
 >Re: How do I create a NSArray of NSString constants? (From: James Housley <email@hidden>)

  • Prev by Date: Re: How to find the manual (or at least the header)
  • Next by Date: Re: How do I create a NSArray of NSString constants?
  • Previous by thread: Re: How do I create a NSArray of NSString constants?
  • Next by thread: Re: How do I create a NSArray of NSString constants?
  • Index(es):
    • Date
    • Thread