Bouke / SwiftInitializerGenerator

Xcode Source Code Extension to Generate Swift Initializers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Initialization appears outside of struct for some reason

o-zaporozhchenko opened this issue · comments


public struct Some: Codable {
	public var count: Int!
	public var tag: String!
}

    public init(count: Int!, tag: String!) {
        self.count = count
        self.tag = tag
    }

As i understand, it should be like on animation, created inside struct.

It could be due to your selection; are you selecting only this part? (> < denote the start and end of the selection):

        >public var count: Int!
	public var tag: String!<