MGTwitterEngine을 다운로드하고 내 iPhone 프로젝트에 추가했습니다. 그것들을 연결하고 NSLog에 던지면서 말할 수있는 동상을 얻습니다. 하지만, 테이블에 추가 할 수 있도록 호출을 구문 분석하는 방법을 이해할 수는 없습니다. 그들은있는 NSString으로 반환과 같이됩니다MGTwitterEngine 및 iPhone
{
"created_at" = 2009-07-25 15:28:41 -0500;
favorited = 0;
id = 65;
source = "<a href=\"http://twitter.com/\">Twitter</a>";
"source_api_request_type" = 0;
text = "The wolf shirt strikes again!! #sdcc :P http://twitpic.com/blz4b";
truncated = 0;
user = {
"created_at" = "Sat Jul 25 20:34:33 +0000 2009";
description = "Host of Tekzilla on Revision3 and Qore on PSN. Also, a geek.";
"favourites_count" = 0;
"followers_count" = 0;
following = false;
"friends_count" = 0;
id = 5;
location = "San Francisco";
name = "Veronica Belmont";
notifications = false;
"profile_background_tile" = false;
"profile_image_url" = "http://blabnow.com/avatar/Twitter_10350_new_twitter_normal.jpg";
protected = 0;
"screen_name" = Veronica;
"statuses_count" = 2;
"time_zone" = UTC;
url = "http://www.veronicabelmont.com";
"utc_offset" = 0;
};
누구 다른 사람이 자신의 프로젝트에서 그것을 사용하는 방법을 말해 줄 수있는이 사용?
감사
이것은 표준 JSON입니다. 아니요? 저는 이것이 코코아/코코아 터치 용 JSON 파서라고 생각합니다 : http://code.google.com/p/json-framework/ – Hunter