Some things I have found on the internet to help with my work.
class BaseClass {
func abstractFunction() { preconditionFailure("This method must be overridden") } } class SubClass : BaseClass { override func abstractFunction() { // Override } }