I am not using a UIViewController from a storyboard and I want to have a custom init function where I pass in an NSManagedObjectID of
UIViewController
init
NSManagedObjectID
To improve the occulus's answer:
init() { super.init(nibName: nil, bundle: nil) }