Subscripts
Pre-release
Pre-release
- Supports most subscript features *
- Adds fixes for Swift 5
- The app bundle is now notarized by Apple
* Missing subscript features include closure arguments and generic parameters.
Breaking Changes
- Dummies now generate a
fatalError()if a default value cannot be found for the return type. - Swift 5 no longer allows for IUOs in arrays (
[Int!]). They are now generated as optionals ([Int?]).
Example:
protocol P {
var property: Int! { set get }
}
Swift 4
...
var invokedProperty: Int?
var invokedPropertyList = [Int!]()
...
Swift 5
...
var invokedProperty: Int?
var invokedPropertyList = [Int?]()
...