TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Feb 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by vivalalova.
To run the example project, clone the repo, and run pod install
from the Example directory first.
LOModel is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "LOModel"
Inherit LOModel
class ExampleModel: LOModel {
var title:String?
var id = 0
}
And init with Dictionary
let obj = ExampleModel(dict: ["title":"okok","identifier":123])
print(obj.title)
print(obj.id)
print(obj.toDictionary())
vivalalova
LOModel is available under the MIT license. See the LICENSE file for more info.