Skip to content

Provides Xcode String Catalogs and relevant localization features for Linux & Windows

License

Notifications You must be signed in to change notification settings

RandomHashTags/swift-string-catalogs

Repository files navigation

Xcode string catalogs are very powerful, but their accessibility is not available on other platforms other than Apple. This package fixes that.

Usage

let decoder:JSONDecoder = JSONDecoder()
guard let data:Data = FileManager.default.contents(atPath: path) else {
        return
}
let value:StringCatalog = try decoder.decode(StringCatalog.self, from: data)