- Mastering macOS Programming
- Stuart Grimshaw
- 28字
- 2021-07-02 22:54:37
Class considerations
When declaring a class to conform to a protocol, any superclass declarations must come first:
class MyClass: NSObject, ClassyProtocol
{
func addClassToClassesList()
{
//
}
}