Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

straber

macrumors member
Original poster
Jul 3, 2012
60
0
RESOLVED: I solved the problem, it was because I hadn't implemented the function that specifies the height for the table cells.

I'm starting my first simple iPad app in Xcode. Creating the app I chose 'Single View Application' since there will only be one screen. I chose device family iPad and unchecked 'use storyboards.' Xcode created the appDelegate, and a 'ViewController' .h .m and .xib for me.

I set up a couple IBOutlets in the .h like this

Code:
@property (nonatomic, retain) IBOutlet UITableView *sidebarTable;
@property (nonatomic, retain) IBOutlet UITextField *testTextView;

Then dragged controls to the .xib and made the connections and hit run to see what it looks like but all I get is a black screen.

In ViewController.m I set breakpoints in ViewDidLoad, ViewWillAppear and ViewDidAppear and the program breaks at the first 2, but never hits ViewDidAppear. Does anyone know why it would load the view but never make it appear?

Thanks in advance,

Sean
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.