Bouke / SwiftInitializerGenerator

Xcode Source Code Extension to Generate Swift Initializers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong example in the readme

FlorianBasso opened this issue · comments

struct MyStruct { public var a: String public var b: Int public init(a: String, b: String) { self.a = a self.b = b } }

should be
struct MyStruct { public var a: String public var b: Int public init(a: String, b: Int) { self.a = a self.b = b } }

b is an Int not a String

Ah yes, an oversight. Thanks!