I have the following codes:
class ILProperty {
var value: T?
init(_ value: T) {
self.value = value
}
}
typealias ILStringProper
Here is another quote from Apple documentation
Unlike subclasses in Objective-C, Swift subclasses do not inherit their superclass initializers by default. Swift’s approach prevents a situation in which a simple initializer from a superclass is inherited by a more specialized subclass and is used to create a new instance of the subclass that is not fully or correctly initialized.
In the Swift Programming Language document from apple look section "Initializer Inheritance and Overriding".
I do n understand your frustration but Swift's way of dealing with initializer is conceptually better.