<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: JSON Framework for iPhone (Part 2)</title>
	<atom:link href="http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html/feed" rel="self" type="application/rss+xml" />
	<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html</link>
	<description>iOS Developer Tips, Tricks and Tutorials.</description>
	<lastBuildDate>Wed, 08 Feb 2012 06:31:16 -0600</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Jayaprakash Subbarayalu</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html#comment-63627</link>
		<dc:creator>Jayaprakash Subbarayalu</dc:creator>
		<pubDate>Wed, 30 Nov 2011 12:58:41 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=858#comment-63627</guid>
		<description>Thanks for your valuable tutorial.i think anyone can understand this JSON Concept clearly and easily.It helped me a lot.</description>
		<content:encoded><![CDATA[<p>Thanks for your valuable tutorial.i think anyone can understand this JSON Concept clearly and easily.It helped me a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vishal Gaikawd</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html#comment-62450</link>
		<dc:creator>Vishal Gaikawd</dc:creator>
		<pubDate>Thu, 10 Nov 2011 06:09:33 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=858#comment-62450</guid>
		<description>Really was a good post and help a lot....</description>
		<content:encoded><![CDATA[<p>Really was a good post and help a lot&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kalaivanan</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html#comment-60701</link>
		<dc:creator>Kalaivanan</dc:creator>
		<pubDate>Fri, 30 Sep 2011 12:35:01 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=858#comment-60701</guid>
		<description>yup, thanks for providing those needs with a perfect example easy to understand even for the begineers</description>
		<content:encoded><![CDATA[<p>yup, thanks for providing those needs with a perfect example easy to understand even for the begineers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jason</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html#comment-60660</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Thu, 29 Sep 2011 01:51:06 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=858#comment-60660</guid>
		<description>Thank you thank you! i was so stuck on my 2nd level of json. your for loop fixed my problem. thanks man!</description>
		<content:encoded><![CDATA[<p>Thank you thank you! i was so stuck on my 2nd level of json. your for loop fixed my problem. thanks man!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: james Verado</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html#comment-54344</link>
		<dc:creator>james Verado</dc:creator>
		<pubDate>Tue, 28 Jun 2011 16:45:39 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=858#comment-54344</guid>
		<description>Thanks for the tutorial. Wanted to create a simple app to absorb a feed and this should do the trick</description>
		<content:encoded><![CDATA[<p>Thanks for the tutorial. Wanted to create a simple app to absorb a feed and this should do the trick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Enigmatic</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html#comment-49319</link>
		<dc:creator>Enigmatic</dc:creator>
		<pubDate>Wed, 11 May 2011 12:59:39 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=858#comment-49319</guid>
		<description>Thanks for a very good tutorial, it helped me a lot !
Initially even I was getting the same error that &quot;Mike&quot; was getting.
I hadn&#039;t read the entire article...(I mean the replys and all)

But with my programming experience I learned that instead of creating an SBJSON, 
one needs to crate SBJsonParser &#039;s object.
As SBJsonParser &#039;s objects would respond  to / call the parser method !!</description>
		<content:encoded><![CDATA[<p>Thanks for a very good tutorial, it helped me a lot !<br />
Initially even I was getting the same error that &#8220;Mike&#8221; was getting.<br />
I hadn&#8217;t read the entire article&#8230;(I mean the replys and all)</p>
<p>But with my programming experience I learned that instead of creating an SBJSON,<br />
one needs to crate SBJsonParser &#8216;s object.<br />
As SBJsonParser &#8216;s objects would respond  to / call the parser method !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mehdi</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html#comment-31794</link>
		<dc:creator>Mehdi</dc:creator>
		<pubDate>Mon, 15 Nov 2010 23:59:11 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=858#comment-31794</guid>
		<description>Thanks for the nice tutorial!
A wonderful one...</description>
		<content:encoded><![CDATA[<p>Thanks for the nice tutorial!<br />
A wonderful one&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: twister</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html#comment-27666</link>
		<dc:creator>twister</dc:creator>
		<pubDate>Tue, 12 Oct 2010 07:29:25 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=858#comment-27666</guid>
		<description>thanks you ,,,this tou is very good !!!!</description>
		<content:encoded><![CDATA[<p>thanks you ,,,this tou is very good !!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mars</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html#comment-27095</link>
		<dc:creator>mars</dc:creator>
		<pubDate>Sat, 02 Oct 2010 17:48:21 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=858#comment-27095</guid>
		<description>ok, does that url passed to the stringWithUrl method have to be in the format

GET
http://www....../read.php?var1=value  [so u can fetch records where id=value]

or can it be

POST
http://www..../read.php    [where the data is in the HTTPbody?]

I cant get the 2nd one to work.</description>
		<content:encoded><![CDATA[<p>ok, does that url passed to the stringWithUrl method have to be in the format</p>
<p>GET<br />
<a href="http://www....../read.php?var1=value" rel="nofollow">http://www&#8230;&#8230;/read.php?var1=value</a>  [so u can fetch records where id=value]</p>
<p>or can it be</p>
<p>POST<br />
<a href="http://www..../read.php" rel="nofollow">http://www&#8230;./read.php</a>    [where the data is in the HTTPbody?]</p>
<p>I cant get the 2nd one to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mars</title>
		<link>http://iPhoneDeveloperTips.com/cocoa/json-framework-for-iphone-part-2.html#comment-27094</link>
		<dc:creator>mars</dc:creator>
		<pubDate>Sat, 02 Oct 2010 17:29:52 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=858#comment-27094</guid>
		<description>Im working on a similar project.  Im using NSURLConnection to POST data to a php file which i know works because ive tested it with an html POST form manually.

Im having the iOS app post this code:

+ (NSArray *)fetchTimelineForUDID:(NSString *)udid{

	NSData *postData = [udid dataUsingEncoding:NSUTF8StringEncoding allowLossyConversion:YES];
	NSLog(@&quot;%@&quot;,postData);
    NSString *postLength = [NSString stringWithFormat:@&quot;%d&quot;, [postData length]];
    NSMutableURLRequest *request = [[[NSMutableURLRequest alloc] init] autorelease];
    NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@&quot;http://www.santiapps.com/iGlobe/readtags2.php&quot;]];
    [request setURL:url];
    [request setHTTPMethod:@&quot;POST&quot;];
    [request setValue:postLength forHTTPHeaderField:@&quot;Content-Length&quot;];
    [request setValue:@&quot;application/x-www-form-urlencoded&quot; forHTTPHeaderField:@&quot;Content-Type&quot;];
    [request setHTTPBody:postData];
    NSURLResponse *response;
    NSError *error;
    NSData *urlData = [NSURLConnection sendSynchronousRequest:request
									returningResponse:&amp;response
												error:&amp;error];	
    return nil;
}

at the moment i return nil just to test out NSLogs....but the thing is the NSURLConnection returns NSData.  What im expected to return from this function is an NSArray.  How can i make that conversion if thats what needs to be done?</description>
		<content:encoded><![CDATA[<p>Im working on a similar project.  Im using NSURLConnection to POST data to a php file which i know works because ive tested it with an html POST form manually.</p>
<p>Im having the iOS app post this code:</p>
<p>+ (NSArray *)fetchTimelineForUDID:(NSString *)udid{</p>
<p>	NSData *postData = [udid dataUsingEncoding:NSUTF8StringEncoding allowLossyConversion:YES];<br />
	NSLog(@&#8221;%@&#8221;,postData);<br />
    NSString *postLength = [NSString stringWithFormat:@"%d", [postData length]];<br />
    NSMutableURLRequest *request = [[[NSMutableURLRequest alloc] init] autorelease];<br />
    NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"http://www.santiapps.com/iGlobe/readtags2.php"]];<br />
    [request setURL:url];<br />
    [request setHTTPMethod:@"POST"];<br />
    [request setValue:postLength forHTTPHeaderField:@"Content-Length"];<br />
    [request setValue:@"application/x-www-form-urlencoded" forHTTPHeaderField:@"Content-Type"];<br />
    [request setHTTPBody:postData];<br />
    NSURLResponse *response;<br />
    NSError *error;<br />
    NSData *urlData = [NSURLConnection sendSynchronousRequest:request<br />
									returningResponse:&#038;response<br />
												error:&#038;error];<br />
    return nil;<br />
}</p>
<p>at the moment i return nil just to test out NSLogs&#8230;.but the thing is the NSURLConnection returns NSData.  What im expected to return from this function is an NSArray.  How can i make that conversion if thats what needs to be done?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

