Friday, May 18, 2012

Creating a Table View in Xcode 4


In your nib file, drag in a table view.
In your Nib file, connect the dataSource and delegate to the File's Owner

Thursday, May 10, 2012

Hide Top Status Bar in ObjC

The status bar is the bar at the top of an iPhone giving you info such as signal, time, and battery life. You might need an app that is completely full screen, or you might need some views to adjust to full screen. Add this line in with methods or ViewDidLoad and watch the magic:

Monday, May 7, 2012

Access Method in Another Class ObjC

You will need to create an appDelegate of the class that the method is located in:

First Class

Second Class

Sunday, May 6, 2012

Switching Views in Obj-C

You will have some action to trigger the view switch. In this example I'm just using a button. Be sure to hookup this button as I don't go over it ;p

Blog Archive