How can I put two types of NS in the same class - Xcode Swift OSX

0

How could I put NSTexField, NSViewController together in the same cocoa class?

import Cocoa
import Foundation


class Licencia: NSTextField , NSViewController {}
    
asked by Javier 24.04.2018 в 10:56
source

1 answer

0

Swift and Objective-C are unique inheritance, you can not have more than one superclass for a class.

    
answered by 24.04.2018 в 21:39