Reputation: 362
I have a View with one label that I'm trying to update with some text. I'm sure the issue is something simple, but I can't seem to narrow it down.
I'm pulling some Parse data to populate the label, but the issue is not with the Parse data because even if I just attempt to assign some static text the label is not working. I'm guessing there's something that I'm overlooking when the connections. I have the label connected to the header file with via IBOutlet. I have the view in the storyboard's class set to the proper file.
Here's some screenshots of my configuration. If you see my error please let me know! :-)
Upvotes: 0
Views: 2954
Reputation: 15335
Try with the attribute as "STRONG" instead of weak .
@property (strong, nonatomic) IBOutlet UILabel *performerLabelList;
Upvotes: 0
Reputation: 69469
Your are calling to the self.performerLabelTest.text
before the view is loaded.
Call the self.performerLabelTest.text
after or in the viewDidLoad
.
Upvotes: 2
Reputation: 6445
Your label is connected to the Performer view(not to the UILabel) in connection panel. Just change that in connection panel.
Upvotes: 0