ObjectMapper-Realm:一个ObjectMapper扩展,可将任意JSON序列化为Realm的List类

时间:2021-05-09 03:48:22
【文件属性】:
文件名称:ObjectMapper-Realm:一个ObjectMapper扩展,可将任意JSON序列化为Realm的List类
文件大小:20KB
文件格式:ZIP
更新时间:2021-05-09 03:48:22
Swift 对象映射器+领域 安装 可通过获得ObjectMapper + Realm。 要安装它,只需将以下行添加到您的Podfile中: pod "ObjectMapper+Realm" 您也可以通过安装它。 用法 要使用ListTransform只需将其添加到RealmObject的映射中: import ObjectMapper import RealmSwift import ObjectMapper_Realm class User : Object , Mappable { dynamic var username: NSString ? var friends: List ? required convenience init? ( _ map : Map) { self . init () } override class func p
【文件预览】:
ObjectMapper-Realm-master
----.gitignore(280B)
----codecov.yml(352B)
----.swiftpm()
--------xcode()
----LICENSE(1KB)
----ObjectMapper+Realm()
--------Info.plist(781B)
--------ListTransform.swift(989B)
--------ObjectMapper_Realm.h(582B)
----ObjectMapper+Realm.podspec(807B)
----README.md(2KB)
----ObjectMapper+Realm.xcodeproj()
--------xcshareddata()
--------project.xcworkspace()
--------project.pbxproj(24KB)
----Package.resolved(869B)
----circle.yml(712B)
----Cartfile(59B)
----ObjectMapper+Realm.xcworkspace()
--------xcshareddata()
--------contents.xcworkspacedata(236B)
----Package.swift(1KB)
----Podfile.lock(554B)
----ObjectMapper+RealmTests()
--------User.swift(1KB)
--------Info.plist(733B)
--------ListTransformTests.swift(1KB)
----Podfile(229B)

网友评论