In my swift app I am trying to make it so that a button tap switches view controllers. This is the code I am using:
presentViewController(pythTheoremViewController.self, animated: true, completion: nil)
This returns the error "Cannot invoke 'presentViewController' with an argument list of type')pythTheoremViewController.Type, animated: Bool, completion: nil)
What does this mean and how do I fix it?