Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
View Controller for Testing with Storyboard
class ExampleViewController: UITableViewController {
@IBOutlet var someTextLabel: UITextLabel!
class func loadFromStoryboard() -> ExampleViewController
let controller = UIStoryboard(name:"Main", bundle:NSBundle(forClass:self))
as! ExampleViewController
return controller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment