OSReflectionKit:轻量级对象反射库,允许您从 NSDictionary 对象或 JSON 字符串实例化对象。 它还支持核心数据

时间:2021-06-06 09:20:16
【文件属性】:
文件名称:OSReflectionKit:轻量级对象反射库,允许您从 NSDictionary 对象或 JSON 字符串实例化对象。 它还支持核心数据
文件大小:118KB
文件格式:ZIP
更新时间:2021-06-06 09:20:16
Objective-C 操作系统反射套件 OSReflectionKit 是适用于 iOS 和 Mac OS X 的轻量级对象反射库,它允许您从简单的对象或 JSON 字符串实例化对象。 例如,从字典甚至直接从 JSON 字符串实例化一个对象是多么容易: 从 JSON 字符串加载 NSString *jsonString = nil ; // ... Obtain the jsonString data jsonString = @" { \" name \" : \" Champions \" , \" imageURL \" : \" http://www.cruzeiro.com.br/imagem/imgs/escudo.png \" } " ; // Sample // ... // Instantiate the Category object with the content from the J
【文件预览】:
OSReflectionKit-master
----OSReflectionKit()
--------AZReflectionHint.h(2KB)
--------NSObject+OSReflectionKit.m(12KB)
--------AZReflection.m(24KB)
--------NSObject+OSReflectionKit.h(9KB)
--------AZReflection.h(3KB)
----OSReflectionKit+CoreData.podspec(600B)
----OSReflectionKitExample()
--------main.m(352B)
--------MainViewController.h(817B)
--------Profile.m(2KB)
--------ReverseDictViewController.h(407B)
--------FlipsideViewController.h(675B)
--------Default.png(6KB)
--------ReverseDictViewController.m(1KB)
--------OSReflectionKitExample-Prefix.pch(347B)
--------AppDelegate.h(293B)
--------AppDelegate.m(2KB)
--------Default-568h@2x.png(18KB)
--------OSReflectionKitExample-Info.plist(2KB)
--------profile.plist(881B)
--------OSReflectionKitExample.xcodeproj()
--------OSReflectionKitTests()
--------profile.json(510B)
--------Default@2x.png(16KB)
--------FlipsideViewController.m(4KB)
--------Address.m(475B)
--------Address.h(494B)
--------MainViewController.m(5KB)
--------en.lproj()
--------Profile.h(660B)
----LICENSE(1KB)
----OSReflectionKit+CoreData()
--------NSManagedObject+OSReflectionKit.m(14KB)
--------NSPredicate+OSReflectionKit.m(2KB)
--------OSCoreDataManager.m(5KB)
--------NSManagedObject+OSReflectionKit.h(13KB)
--------NSManagedObject+OSReflectionKitDeprecated.m(10KB)
--------NSManagedObject+OSReflectionKitDeprecated.h(9KB)
--------OSCoreDataManager.h(3KB)
--------NSPredicate+OSReflectionKit.h(2KB)
----.gitignore(220B)
----OSReflectionKit.podspec(614B)
----README.md(7KB)
----OSReflectionkit+CoreDataExample()
--------OSReflectionKit+CoreDataExample.xcodeproj()
--------main.m(361B)
--------Default.png(6KB)
--------MasterViewController.m(9KB)
--------Event.h(363B)
--------OSReflectionKit+CoreDataExample.xcdatamodeld()
--------Event.m(242B)
--------Event+ReflectionKitOptions.h(285B)
--------DetailViewController.h(411B)
--------AppDelegate.h(302B)
--------AppDelegate.m(2KB)
--------Default-568h@2x.png(18KB)
--------Event+ReflectionKitOptions.m(384B)
--------DetailViewController.m(1KB)
--------MasterViewController.h(410B)
--------OSReflectionKit+CoreDataTests()
--------Default@2x.png(16KB)
--------OSReflectionKit+CoreDataExample-Prefix.pch(399B)
--------OSReflectionKit+CoreDataExample-Info.plist(1KB)
--------en.lproj()

网友评论