SwiftyConfiguration alternatives and similar libraries
Based on the "Other Parsing" category.
Alternatively, view SwiftyConfiguration alternatives based on common mentions on social networks and blogs.
-
FeedKit
An RSS, Atom and JSON Feed parser written in Swift -
CoreXLSX
Excel spreadsheet (XLSX) format parser written in pure Swift -
Erik
Erik is an headless browser based on WebKit. An headless browser allow to run functional tests, to access and manipulate webpages using javascript. -
SwiftCssParser
A Powerful , Extensible CSS Parser written in pure Swift. -
AcknowledgementsPlist
AcknowledgementsPlist manages the licenses of libraries that depend on your iOS app. -
JSONFeed
Swift parser for JSON Feed — a new format similar to RSS and Atom but in JSON.
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of SwiftyConfiguration or a related project?
README
SwiftyConfiguration
SwiftyConfiguration is modern Swift API for Plist.
Usage
1. Create Plist
create plist file and add your project.
[plist.png](./Images/plist.png "plist.png")
2. Define your plist keys
extension Keys {
static let string = Key<String>("string")
static let url = Key<NSURL>("url")
static let number = Key<NSNumber>("number")
static let int = Key<Int>("int")
static let float = Key<Float>("float")
static let double = Key<Double>("double")
static let date = Key<NSDate>("date")
static let bool = Key<Bool>("bool")
static let array = Key<Array<AnyObject>>("array")
static let dictionary = Key<[String : String]>("dictionary")
// Support nested value.
static let innerInt = Key<Int>("array.0")
static let innerArray = Key<String>("array.1.0")
static let innerString = Key<String>("dictionary.innerString")
}
3. Just use it!
let plistPath = NSBundle.mainBundle().pathForResource("Configuration", ofType: "plist")!
let config = Configuration(plistPath: plistPath)!
// You can get a plist value to type-safe.
let stringValue = config.get(.string)!
let urlValue = config.get(.url)!
let numberValue = config.get(.number)!
let intValue = config.get(.int)!
let floatValue = config.get(.float)!
let doubleValue = config.get(.double)!
let dateValue = config.get(.date)!
let boolValue = config.get(.bool)!
let arrayValue = config.get(.array)!
let dictionaryValue = config.get(.dictionary)!
let innerIntValue = config.get(.innerInt)!
let innerArrayValue = config.get(.innerArray)!
let innerStringValue = config.get(.innerString)!
Installation
Carthage
SwiftyConfiguration
is available through Carthage. To install it, simply add the following line to your Cartfile:
github "ykyouhei/SwiftyConfiguration"
CocoaPods
SwiftyConfiguration
is available on CocoaPods.
Add the following to your Podfile
:
pod 'SwiftyConfiguration'
Manually
Just add the Classes folder to your project.
*Note that all licence references and agreements mentioned in the SwiftyConfiguration README section above
are relevant to that project's source code only.