Kacper Czapp

Results 7 comments of Kacper Czapp

```swift extension NSMutableAttributedString { func setLineSpacing(_ spacing: CGFloat) { let paragraphStyle = NSMutableParagraphStyle() paragraphStyle.lineSpacing = spacing let attributes: [NSAttributedString.Key: Any] = [ NSAttributedString.Key.paragraphStyle: paragraphStyle ] let range = (string as...

I've come up with this adaptation of swift 4 structured template: ```sh ... import Foundation import SwiftUI ... {% macro recursiveBlock table item %} {% for string in item.strings %}...

> Why return `Text` instead of `LocalizedStringKey` though? Prevents you from using `Button(L10n.FeaturedPage.seeAll)` (or something like that). `LocalizedStringKey` does not take a table name (`.strings` file) as a parameter, but...

> I just pushed a little sample project here: https://github.com/kevinrmblr/SwiftUILocalizationTest. > It includes some different (partially) working options, and a button :). Your solution still requires to include placeholder(s) in...

Can't wait to see this feature in SwiftGen! Writing apps which require UI tests or automation using Fastlane Snapshot will become a whole lot easier if this was implemented