Bouke / SwiftInitializerGenerator

Xcode Source Code Extension to Generate Swift Initializers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't work using some code density

Maxatma opened this issue · comments

For struct using code density:

public struct Advert: Codable {
    public let location: Location
    public let imageId, unitId, name: String

}

it gonna create initializer like this:

public init(location: Location, imageId, unitId, name: String,

which is not legal.

The format is not supported, as per "Known limitations" in the readme. I'm willing to accept a PR that adds this though!