Ok my problem:
I have function to create a Label:
- (void)crateBall:(NSInteger *)nummer {
UILabel *BallNummer = [[UILabel alloc] initWithFrame:CGRectMake(50, 100, 200, 100)];
BallNummer.text = [NSString stringWithFormat:@"%i", nummer];
[self.view addSubview:BallNummer];
}
Now i wanna access the label in a other function to change text, frame ect.
The number of these labels is dynamic so i don't wanna declare each one in the .h file. (i dont mean the number .text = 123 i mean the number of labels in the view)
I hope you understand my English. Thanks for Help :D
Greetings from Switzerland!