SwiftGen / SwiftGen

The Swift code generator for your assets, storyboards, Localizable.strings, … — Get rid of all String-based APIs!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

String format specifier for unsigned int not working

vandyshev opened this issue · comments

String Plural with NSStringFormatValueTypeKey equal u generates a func with Int argument. There should be UInt.

case "d", "i", "o", "u", "x":
self = .int

https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFStrings/formatSpecifiers.html#//apple_ref/doc/uid/TP40004265