Although Swift class works without inheritance, but in order to use NSCoding you must inherit from NSObject.
class Command: NSObject, NSCoding {
...
}
Too bad the compiler error is not very informative 🙁
Although Swift class works without inheritance, but in order to use NSCoding you must inherit from NSObject.
class Command: NSObject, NSCoding {
...
}
Too bad the compiler error is not very informative 🙁