简体   繁体   English

Objective-C中的Rest API

[英]Rest API in Objective-C

I need to use Rest API in my app. 我需要在我的应用中使用Rest API。 But I need to do it compatible with iOS 3.0. 但是我需要使其与iOS 3.0兼容。 I need synchronous framework with object mapping (like in RestKit) and without blocks . 我需要具有对象映射的同步框架(例如RestKit中的框架),并且没有块。 May be somebody known something like that? 可能有人知道这样的事吗?

I found solution of my problem in Objective Resource library. 我在目标资源库中找到了解决问题的方法。 It not develop now, but it have all features i need with comparability iOs 3.2. 它现在尚未开发,但是具有可比性iOs 3.2所需的所有功能。

Try this - 尝试这个 -

  NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults]; 
NSString* bundleIdentifier = [[NSBundle mainBundle] bundleIdentifier];
[userDefaults removePersistentDomainForName:bundleIdentifier];

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM