Skip to content

Instantly share code, notes, and snippets.

@chuck0523
Created July 14, 2016 03:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chuck0523/4cfddc7985b53e158934576e40e3d19c to your computer and use it in GitHub Desktop.
Save chuck0523/4cfddc7985b53e158934576e40e3d19c to your computer and use it in GitHub Desktop.
import UIKit
class FirstViewController: UIViewController {
init() {
super.init(nibName: nil, bundle: nil)
self.view.backgroundColor = UIColor.cyanColor()
self.tabBarItem = UITabBarItem(tabBarSystemItem: UITabBarSystemItem.Featured, tag: 1)
}
required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
}
required override init(nibName nibNameOrNil: String!, bundle nibBundleOrNil: NSBundle!) {
super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
}
override func viewDidLoad() {
super.viewDidLoad()
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment