Olivier Halligon
Olivier Halligon
Btw if you end up with a working template suitable for most JSON-Schemas, I think we would gladly add it to the list of templates bundled in SwiftGen, seems like...
What do you have in mind @ilyapuchka ? Exposing accessibility labels as enums? For every and all UIView that is an accessibilityElement? That's gonna be a huge one, right?
I'm not sure I'm following actually (but I have to admit that I sadly haven't used accessibility enough yet). For example I don't see the point of having your enum...
That's what I'm talking about: - I think only the accessibilityIdentifier would be useful as constants - I'm not sure how to organize this stuff properly, as accessibility elements can...
Agreed that SwiftGen shouldn't make a difference if accessibilityIDs come from storyboards or XIBs. Note that due to a bug in the Swift compiler as for now, there is a...
Yeah it depends on internal implementation of the UIKit class and the way the swift compiler optimizes each chunk of code so it's not a stable assumption anyway to rely...
@ilyapuchka triaging issues rn and still wondering what you expect from that feature, especially how you expect the generated code to look and how parsing XIBs and Storyboards will look...
@tbaranes Nothing have been started yet, especially if I have to be honest because I don't do much XCUITest and don't have a use accessibility labels, so I'm not sure...
@Lutzifer haven't found the time to implement it yet, nope 😅 Actually I think it could be a nice starter PR, given that a similar code exists for SwiftLint (see...
Side question: should we use multiline strings in the `inline-swift4` template if we detect (via a Stencil tag) a `\n` in the string? (Which we currently can't because of SwiftGen/StencilSwiftKit#109...