smuellner/ISO639.swift

View on GitHub
README.md

Summary

Maintainability
Test Coverage
### ISO639 languages by alpha codes including all alphabets for swift

ISO639 is **created and maintaned with ❥** by Sascha Muellner.

---
[![Swift](https://github.com/smuellner/ISO639.swift/workflows/Swift/badge.svg?branch=master)](https://github.com/smuellner/ISO639.swift/actions)
[![codecov](https://codecov.io/gh/smuellner/ISO639.swift/branch/master/graph/badge.svg)](https://codecov.io/gh/smuellner/ISO639.swift)
![Platforms](https://img.shields.io/badge/platform-iOS%20%7C%20macOS%20%7C%20tvOS%20%7C%20watchOS%20%7C%20Linux-lightgrey.svg)
[![License](https://img.shields.io/github/license/SwiftPackageRepository/ISO639.swift)](https://github.com/SwiftPackageRepository/ISO639.swift/blob/master/LICENSE)
![Version](https://img.shields.io/github/v/tag/SwiftPackageRepository/ISO639.swift)
[![Swift Version](https://img.shields.io/badge/swift-5.1-orange.svg?style=flat)](https://developer.apple.com/swift)
[![SPM compatible](https://img.shields.io/badge/SPM-compatible-orange.svg?style=flat)](https://github.com/apple/swift-package-manager)
[![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com)
[![README](https://img.shields.io/badge/-README-lightgrey)](https://smuellner.github.io/ISO639.swift)

## What?
This is a **Swift** package with support for iOS/macOS/tvOS/watchOS that defines languages based on [ISO639](https://en.wikipedia.org/wiki/ISO_639 "iso639").
Additional to the english name, the official name and all alpha code, also informations about language symbols (e.g. abc, азбука, ...), letter case (upper, lower, mixed) and the writing system (alphabetical, logographic and syllabic, ...) are available for each language.

## Requirements

The latest version of ISO639 requires:

- Swift 5+
- iOS 13+
- Xcode 11+

## Installation

### Swift Package Manager
Using SPM add the following to your dependencies

``` 'ISO639', 'master', 'https://github.com/smuellner/ISO639.swift.git' ```

### CocoaPods
Using CocoaPods add the following to your Podfile:

```pod 'ISO639', '~> 1.1.6'```


## How to use?

* [Language](Documentation/language.md) 


### Credits:
baptistejamin: https://github.com/baptistejamin/swift-locales-code