i want to create arrays with different *names (the text out of a textField should be the name of the array) when an IBAction
function is called. How do i get the text out of the text field and make it the *name of the array?
- (IBAction)createButton:(id)sender {
NSMutableString *string = [[NSMutableString alloc] init];
[string setString:[textField text]];
NSMutableArray *string = [[NSMutableArray alloc] init];
}
Create a NSDictionary and use the string as key, and array as value.