I have the same question as vince (NSCoding required initializer in inherited classes in Swift)
I've a class 'Source' and a subclass 'RSSSource'. Theses classes conforms to NSObject
and NSCoding
which I want to be able to persist with NSKeyedArchiver
.
I don't know how to create the required convenience init?(coder aDecoder: NSCoder)
in the subclass. I would like to call the convenience init
of the superclass.
PS: I know that I should post a comment on his thread but I can't. (reputation too low)