Boost your code with SwiftBooster. Bring the missing functionality to the iOS framework and Swift language. So far most of Kotlins nice feature are implemented.
SwiftBooster is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SwiftBooster'
Some example:
//Extracting value from JSON
let thePrice: Int? = getValue(input: myJsonObject, subscripts: "product", "details", "price")
//convert string to JSON
let jsonResponse = rawResponseString.toJsonObject()
//register multiple cells for tableView
self.tableView.register(
(HeaderTableViewCell.nib, HeaderTableViewCell.nibName),
(BodyTableViewCell.nib, BodyTableViewCell.nibName),
(FooterTableViewCell.nib, FooterTableViewCell.nibName),
(ErrorTableViewCell.nib, ErrorTableViewCell.nibName)
)
See Wiki for full usage description.
Sepehr Behroozi, 3pehrbehroozi@gmail.com
SwiftBooster is available under the Apache License v2.0 license. See the LICENSE file for more info.