SwiftInitGenerator icon indicating copy to clipboard operation
SwiftInitGenerator copied to clipboard

Don't accept Access control

Open anthonyBertrant opened this issue 7 years ago • 2 comments

Hi, first, thanks for your extension, it's great and you're doing a good job ! But, it's very sad that your extension don't take into account the keyword (set) for access control on varaibles. private(set) var nom: String private(set) var desc: String private(set) var latitude: Double

Will get public init() { }

Instead of public init(nom: String, desc: String) { self.nom = nom self.desc = desc }

anthonyBertrant avatar Apr 11 '19 17:04 anthonyBertrant

Hi Anthony! I'll try figure it out in next release. Sorry, for late answer

atimca avatar Jun 18 '19 11:06 atimca

Hello again) Sorry for latency. However, I finally fixed this bug) Release 0.1.0

atimca avatar Sep 12 '19 13:09 atimca