How to make a Cocoa application without a .xib
file
To create a Cocoa app without a .xib
file, remove the NSMainNibFile
key from the Info.plist
, and replace the @NSApplicationMain
annotation on your AppDelegate
class with a custom main.swift
file that manually sets up the application and its delegate. 2017-03-17