Created
April 8, 2017 11:23
-
-
Save RameshAran/1821195e847d6a9118362dbe900c70b5 to your computer and use it in GitHub Desktop.
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
import Foundation | |
class SessionManager { | |
public static let sharedInstance = SessionManager() | |
let dataManager: StoreDataManager | |
private init() { | |
self.dataManager = StoreDataManager() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Swift Singleton Example