How to change default tint color in XCode interface builder?

How does one change the global default tint color in XCode interface builder?


In the File inspector tab of the Utility panel, the right one, you can find controls about size classes, auto layout and the global tint of your storyboard.

Interface Builder Way: Select the Storyboard or Xib file you want to set the default tint on.

Then in Utilities on the first tab File Inspector look for the Interface Builder Document section and you will see a Global Tint like the image below shows.

(not enough reputation to post images)


Obj-C: [[[[UIApplication sharedApplication] delegate] window] setTintColor:[UIColor orangeColor]];

Swift: UIWindow(frame: UIScreen.mainScreen().bounds).tintColor = UIColor.orangeColor()

You can set default tint color for whole window:

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        window = UIWindow(frame: UIScreen.mainScreen().bounds)
        window?.tintColor = UIColor(red: 1, green: 0, blue: 0, alpha: 1)
        return true

You can set the default appearance settings with:

UIButton.appearance().tintColor = UIColor.orangeColor()

If you place it in:


and only it'll apply application wide. Unless you change it lower down in the chain i.e. in UIViewController's


Need Your Help

Does string concatenation use StringBuilder internally?

c# compiler-construction string concatenation

Three of my coworkers just told me that there's no reason to use a StringBuilder in place of concatenation using the + operator. In other words, this is fine to do with a bunch of strings: myString...