Created
November 6, 2016 21:02
-
-
Save anonymous/020882fabc8c2df7c2ef39d78cd5964b to your computer and use it in GitHub Desktop.
Stuff to put in each new app project.
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
# Add a carthage Cartfile | |
github "username/Project" ~> 1.0 | |
git "https://github.com/username/Project.git" "branch" | |
# Update carthage | |
carthage update --platform ios | |
# Run script | |
/usr/local/bin/carthage copy-frameworks | |
$(SRCROOT)/Carthage/Build/iOS/[framework] | |
# Also AppDelegate.swift didFinishLaunchingWithOptions | |
window = UIWindow(frame: UIScreen.main.bounds) | |
if let window = window { | |
let viewController = ViewController() | |
window.rootViewController = viewController | |
window.backgroundColor = UIColor.white | |
window.makeKeyAndVisible() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment