Skip to content

sepbehroozi/SwiftBooster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftBooster

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.

Installation

SwiftBooster is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'SwiftBooster'

Usage

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.

Author

Sepehr Behroozi, [email protected]

License

SwiftBooster is available under the Apache License v2.0 license. See the LICENSE file for more info.

About

Add missing functionality to Swift language and iOS framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published