저는 AFNetworking을 초보자로 삼아 AFNetworking의 작동 원리를 이해하는 간단한 응용 프로그램을 실행합니다. 나는 다음과 같습니다 this tutorial on MobileTuts:AFNetworking을 사용하는 컴파일러 경고
AFNetworking 라이브러리가 이미 포함되어 있으며 각 AFNetworking 파일의 컴파일 소스에 -fno-objc-arc도 입력되어 있습니다.
나는 구현 파일에이 부분을 포함 : 나는 실행에 충돌 할 때NSURL *url = [[NSURL alloc] initWithString:@"http://itunes.apple.com/search?term=harry&country=us&entity=movie"];
NSURLRequest *request = [[NSURLRequest alloc] initWithURL:url];
AFJSONRequestOperation *operation = [AFJSONRequestOperation JSONRequestOperationWithRequest:request success:^(NSURLRequest *request, NSHTTPURLResponse *response, id JSON) {
NSLog(@"JSON");
} failure:^(NSURLRequest *request, NSHTTPURLResponse *response, NSError *error, id JSON) {
NSLog(@"Request Failed with Error: %@, %@", error, error.userInfo);
}];
[operation start];
, 나는 14 의미 론적 문제가이 프로젝트에 실패했습니다. 예를 들어 하나의 오류는 다음과 같습니다
Method possibly missing a [super dealloc] call.
이 오류를 해결하는 방법을 확실하지.
전체 오류 메시지를 게시하십시오. –