How to define optional methods in Swift protocol? How to define optional methods in Swift protocol? ios ios