InflectorKit
InflectorKit copied to clipboard
Efficiently Singularize and Pluralize Strings
Results
2
InflectorKit issues
Sort by
recently updated
recently updated
newest added
Would it be possible to remove the `ENABLE_BITCODE` flag set in the podspec? It's not possible to compile it alongside other libraries that use bitcode.
``` import InflectorKit let inflector = StringInflector.default inflector.addPluralRule(#"^(equipment)$"#, replacement: #"$1s"#) for singular in ["Equipment", "equipment"] { print("\(singular) → \(singular.pluralized)") } /* Prints: Equipment → Equipments equipment → equipment */ ```...