I have an app I'm working on where my main nib file has a UITabBarController and on one of the tabs I have a navigation controller and then if you drill down about two views, I have a view with various labels I am trying to populate with info from my sql db. Now in my initWithNibAndObjectInfo for the view with the label I need to change, I init my nib and then copy the other params I'm passing to some member variables. These get updated with the correct info when I debug, however the label on the view does not update with the text in those variables.
I have opened my nib for the view I am working on and connected the IBOutlets to their respective labels however no luck. I am thinking that it just may be the fact that my label text needs to be updated elsewhere since I am drilled down into a few view controllers, however this is just an assumption. Any help would be great! Thanks!
I have an app I'm working on where my main nib file has a UITabBarController and on one of the tabs I have a navigation controller and then if you drill down about two views, I have a view with various labels I am trying to populate with info from my sql db. Now in my initWithNibAndObjectInfo for the view with the label I need to change, I init my nib and then copy the other params I'm passing to some member variables. These get updated with the correct info when I debug, however the label on the view does not update with the text in those variables.
I have opened my nib for the view I am working on and connected the IBOutlets to their respective labels however no luck. I am thinking that it just may be the fact that my label text needs to be updated elsewhere since I am drilled down into a few view controllers, however this is just an assumption. Any help would be great! Thanks!
Wow...finally got it working. Just want to post this incase anyone else runs into the issue. Apparently this whole time my issue was that I was trying to set the value of the label in my overloaded init method. When I put the code in the viewDidLoad, the label worked as it should.