New iOS Project

Kip Landergren

(Updated: )

My checklist flow for creating a new iOS 13 project using Xcode, SwiftLint, and git.

Contents#

Purpose#

Consistent creation of iOS projects.

Preconditions#

Valid Name#

Convention is to use CamelCase. SwiftLint will throw warnings unless rule is excluded.

Steps#

Basics#

(Optional) Remove Storyboard#

Sample SceneDelegate.swift function code:

func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
  if let windowScene = scene as? UIWindowScene {
    window = UIWindow(windowScene: windowScene)
    window?.rootViewController = MainViewController()
    window?.makeKeyAndVisible()
  }
}

(Optional) Add SwiftLint#

Refer to instructions in the Xcode Integration section of the SwiftLint Reference.

On Completion#