<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<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"
		>
	<channel>
		<title>WordPress for iOS Forums &#187; Topic: key for fetching response data</title>
		<link>http://ios.forums.wordpress.org/topic/key-for-fetching-response-data</link>
		<description>Just another bbPress community</description>
		<language>iphone</language>
		<pubDate>Sat, 25 May 2013 03:32:24 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://ios.forums.wordpress.org/rss/topic/key-for-fetching-response-data" rel="self" type="application/rss+xml" />

		<item>
			<title>jb6262 on "key for fetching response data"</title>
			<link>http://ios.forums.wordpress.org/topic/key-for-fetching-response-data#post-1460</link>
			<pubDate>Tue, 03 Nov 2009 22:37:40 +0000</pubDate>
			<dc:creator>jb6262</dc:creator>
			<guid isPermaLink="false">1460@http://ios.forums.wordpress.org/</guid>
			<description><![CDATA[<p>Lex,</p>
<p>While I can't go into great detail on this iPhone app support blog I think your difficulty could be solved by making result an array instead of an id.</p>
<p>You could then output the array to the log, (without any nasty casts) allowing you to discover what, specifically is being returned.  <strong>The keys will be completely dependent on what is being returned by the XMLRPC server you are pinging.</strong></p>
<p>May I suggest:</p>
<p>NSArray *result = [self executeXMLRPCRequest:request byHandlingError:TRUE];<br />
NSLog(@"result Array: %@", result);</p>
<p>Hope that helps...
</p>]]></description>
					</item>
		<item>
			<title>lexCA on "key for fetching response data"</title>
			<link>http://ios.forums.wordpress.org/topic/key-for-fetching-response-data#post-1397</link>
			<pubDate>Wed, 28 Oct 2009 17:26:22 +0000</pubDate>
			<dc:creator>lexCA</dc:creator>
			<guid isPermaLink="false">1397@http://ios.forums.wordpress.org/</guid>
			<description><![CDATA[<p>Hi everyone,</p>
<p>I'm using parts of the Wordpress app to enable XML-RPC calls within my own app. I wrote a simple application to see how it all works. I am able to send a request and get a response, but I don't understand how to fetch data from the response. My response in XML looks like this:</p>
<pre><code>&#60;methodResponse&#62;
 &#60;params&#62;
   &#60;param&#62;
      &#60;value&#62;
        &#60;boolean&#62;0&#60;/boolean&#62;
      &#60;/value&#62;
    &#60;/param&#62;
  &#60;/params&#62;
&#60;/methodResponse&#62;</code></pre>
<p>according to <a href="http://www.kilbot.com.au/2009/06/14/xml-rpc-on-the-iphone/">, you can use keys to fetch the data in the response - but what is the key's name?</p>
<p>id result = [self executeXMLRPCRequest:request byHandlingError:TRUE]<br />
label.text = [response valueForKey:???]</p>
<p>Thanks,</p>
<p>Lex`</a>
</p>]]></description>
					</item>

	</channel>
</rss>
