M milktooth macrumors member Original poster Oct 30, 2009 32 0 Nov 5, 2009 #1 I had assumed that it was done by setHidden:YES in the MainViewController.m XCode tells me that 'showButton' is undeclared but I have no problems setting the outlet in IB. Apologies for my ignorance. How do I set the hidden property?
I had assumed that it was done by setHidden:YES in the MainViewController.m XCode tells me that 'showButton' is undeclared but I have no problems setting the outlet in IB. Apologies for my ignorance. How do I set the hidden property?
dejo Moderator emeritus Sep 2, 2004 15,982 452 The Centennial State Nov 5, 2009 #2 milktooth said: XCode tells me that 'showButton' is undeclared but I have no problems setting the outlet in IB. Click to expand... Got some code of your defining showButton as a property that you can show us?
milktooth said: XCode tells me that 'showButton' is undeclared but I have no problems setting the outlet in IB. Click to expand... Got some code of your defining showButton as a property that you can show us?
KoolStar macrumors demi-god Oct 16, 2006 825 9 Kentucky Nov 5, 2009 #3 Did you make sure you connected the Button in IB. to the IBOutlet you created in the code. If so you should have access to its properties.
Did you make sure you connected the Button in IB. to the IBOutlet you created in the code. If so you should have access to its properties.
M milktooth macrumors member Original poster Oct 30, 2009 32 0 Nov 6, 2009 #4 Looks like the original poster needs to get more sleep.