kylef-archive / BestKit

BestKit makes the Best Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Best Swift

BestKit makes the Best Swift.

## Best String

Best Character

let string = "Hello World"
let bestCharacter = string.bestCharacter

Best Word

let string = "Hello World"
let bestWord = string.bestWord

Best Array

let array = [1, 2, 3]
let bestElement = array.best

Best Dictionary

let dictionary = ["Hello": "World"]
let bestKey = dictionary.bestKey
let bestValue = dictionary.bestValue

Best Date

let bestDate = Date.best

Best Set

let set = Set([1, 2, 3])
let bestElement = set.best

Best Notification Center

let center = NotificationCenter.best

Best User Defaults

let defaults = UserDefaults.best

Best URL

let url = URL.best

Best URL Session

let session = URLSession.best

Best URL Request

let request = URLRequest.best

About

BestKit makes the Best Swift

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Swift 100.0%