KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How do I make static initializers in objective-c (if I have the term correct). Basically I want to do something like this: static NSString* gTexts[] = { @"A string.", @"Another string.", } But I want to do this more struct-like, i.e. have not just an NSString for each element in this array, but instead an NSString plus one NSArray that contains a variable number of MyObjectType where MyObjectType would contain an NSString, a couple ints, etc.
Tags (comma-separated)
Save Edits
Cancel