setText to a UITextView & reading labels from file
I'm very new to iOS development so, yeah.... bear with me.
Im making an app that, when opened, provides a main menu that is composed of 4 buttons (and a view controller to match) [this main menu is similar to the DropBox main menu with the pictures]
The main menu leads to a UITableView of names. Right now I have the names entered manually like:
skits = [[NSArray alloc] initWithObjects:
@"Falling Rock",
@"Medicrane",
@"Candy Store",
@"Construction",
nil];
I would like to have the names read from a .rtf file for easier editing.
How would I go about doing that?
From that, the UITableView leads to a UITextView that displays the info.
How can I read the text for the UITextView from a file?
Can I read the same rtf file for all of the different choices in the
UITableView? (maybe separate them by slashes or different
headers in the file?)
I could always type the paragraphs in the code but since there are hundreds, id rather not.
|