저는 wcf 서비스에서 요청을 코딩하는 방법에 대한 온라인 기사/자습서를 찾으려고했습니다.objective c calling wcf rest service request
[ServiceContract]
public interface IUserAccountService
{
[OperationContract]
[WebInvoke(Method = "GET", ResponseFormat = WebMessageFormat.Json, UriTemplate = "UserLogIn?id={email}&password={password}")]
AuthenticationToken UserLogIn(string email, string password);
}
내가 찾아 봤는데 SO 기사 또는 관련된 질문을 정말 혼란 받고 있어요 : 나는 다음과 같은 웹 서비스를 내 서버에 업로드 한
예 :
-http : //stackoverflow.com/questions/1557040/objective-c-best-way-to-access-rest-api-on-your-iphone
-http : // 유래 .com/questions/8650296/nsjsonserialization 파싱 응답 데이터
http://iam.fahrni.ws/2011/10/16/objective-c-rest-and- json/
내 질문에, 정말 API를 호출 할 수있는 편안한 프레임 워크를 사용해야합니까? 그렇다면 어떤 것이 더 권장되는지 - ASIHttpRequest 또는 RestKit 또는 AFNetworking? 또는 내가 언급 한 마지막 링크를 사용하여 간단하게 할 수 있습니까? 나는 어디서부터 시작해야할지 모르겠습니다.
감사합니다.
확인이 - http://stackoverflow.com/questions/8922296/is-restkit-a-good-replacement-for-asihttprequest – rishi