SwiftFormat
SwiftFormat copied to clipboard
Private Properties At The Top Of Class Definition
Is there a way to declare private properties at the top? I mean I would like to have private properties at the top of class definition..
class A {
//MARK: - Private
private let item1: Int
private let item2: Int
//MARK: - Life Cycle...
}
I don't want to see public methods at the top and private properties after that.
This is a reasonable idea that I could imagine supporting in the organizeDeclarations rule, but it isn't currently supported