This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Singelton { | |
static let sharedInstance = Singelton() | |
private init(){} | |
} | |
// Learned from this great blog post | |
// http://krakendev.io/blog/the-right-way-to-write-a-singleton |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ToggleStatusBarViewController.swift | |
// UIKitExamples | |
// | |
// Created by Renate Wünschl on 22.07.15. | |
// Copyright (c) 2015 cocoanib. All rights reserved. | |
// | |
import UIKit |
NewerOlder