Realm: Map JSON to Realm-Objects with Alamofire

荒凉一梦 提交于 2019-12-04 09:52:57

Realm offers built-in limited capabilities of mapping arbitrary JSON structures to RLMObjects. But there are some good third-party libraries, which could assist you with your use-case. You might want to checkout these:

  • Realm-JSON (Objective-C), which offers a declarative, Mantle like way of defining your mapping
  • ObjectMapper (Swift), which offers Realm and Alamofire support
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!