- Mastering macOS Programming
- Stuart Grimshaw
- 28字
- 2025-04-04 19:10:25
Class considerations
When declaring a class to conform to a protocol, any superclass declarations must come first:
class MyClass: NSObject, ClassyProtocol
{
func addClassToClassesList()
{
//
}
}