Last active
February 25, 2021 15:21
-
-
Save chrispaynter/7302d11df50c26d82432403f21fb9a26 to your computer and use it in GitHub Desktop.
Medium - Simple Swinject boilerplate
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 Cocoa | |
@main | |
class AppDelegate: NSObject, NSApplicationDelegate { | |
let appManager = AppManager(); | |
func applicationDidFinishLaunching(_ aNotification: Notification) { | |
appManager.run() | |
} | |
} |
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 AppManager { | |
let fileSystem: FileSystemManager = FileSystemManager(); | |
let statusBar: StatusBarManager = StatusBarManager(); | |
// other code | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment