<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Codec &#187; API</title>
	<atom:link href="http://www.trembl.org/codec/tag/api/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.trembl.org/codec</link>
	<description>A Personal Polylogic Code/Decode &#039;Zettelkasten&#039;</description>
	<lastBuildDate>Thu, 02 Feb 2012 03:38:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Chaning Colors in Twitter with the API</title>
		<link>http://www.trembl.org/codec/319/</link>
		<comments>http://www.trembl.org/codec/319/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 04:52:05 +0000</pubDate>
		<dc:creator>Georg Tremmel</dc:creator>
				<category><![CDATA[Raw]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.trembl.org/codec/?p=319</guid>
		<description><![CDATA[require &#34;&#60;a href=&#34;http://github.com/jdp/twitterlibphp&#34;&#62;twitter.lib.php&#60;/a&#62;&#34;; &#160; $username = &#34;&#60;a href=&#34;http://twitter.com/trembl/&#34;&#62;trembl&#60;/a&#62;&#34;; $password = &#34;&#38;bull;&#38;bull;&#38;bull;&#38;bull;&#38;bull;&#38;bull;&#38;bull;&#38;bull;&#34;; &#160; $twitter = new Twitter&#40;$username, $password&#41;; &#160; $options = array&#40; &#34;profile_background_color&#34; =&#62; &#34;fff&#34;, &#34;profile_text_color&#34; =&#62; &#34;fff&#34;, &#34;profile_link_color&#34; =&#62; &#34;fff&#34;, &#34;profile_sidebar_fill_color&#34; =&#62; &#34;fff&#34;, &#34;profile_sidebar_border_color&#34; =&#62; &#34;fff&#34; &#41;; &#160; $update_response = $twitter-&#62;updateProfileColors&#40;$options&#41;; print_r&#40;$update_response&#41;; Nice, isn&#8217;t it?]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;">require <span style="color: #bf1d1a;">&quot;&lt;a href=&quot;</span>http<span style="color: #002200;">:</span><span style="color: #11740a; font-style: italic;">//github.com/jdp/twitterlibphp&quot;&gt;twitter.lib.php&lt;/a&gt;&quot;;</span>
&nbsp;
$username <span style="color: #002200;">=</span> <span style="color: #bf1d1a;">&quot;&lt;a href=&quot;</span>http<span style="color: #002200;">:</span><span style="color: #11740a; font-style: italic;">//twitter.com/trembl/&quot;&gt;trembl&lt;/a&gt;&quot;;</span>
$password <span style="color: #002200;">=</span> <span style="color: #bf1d1a;">&quot;&amp;bull;&amp;bull;&amp;bull;&amp;bull;&amp;bull;&amp;bull;&amp;bull;&amp;bull;&quot;</span>;
&nbsp;
$twitter <span style="color: #002200;">=</span> new Twitter<span style="color: #002200;">&#40;</span>$username, $password<span style="color: #002200;">&#41;</span>;
&nbsp;
$options <span style="color: #002200;">=</span> array<span style="color: #002200;">&#40;</span>
	<span style="color: #bf1d1a;">&quot;profile_background_color&quot;</span> <span style="color: #002200;">=</span>&gt; <span style="color: #bf1d1a;">&quot;fff&quot;</span>,
	<span style="color: #bf1d1a;">&quot;profile_text_color&quot;</span> <span style="color: #002200;">=</span>&gt; <span style="color: #bf1d1a;">&quot;fff&quot;</span>,
	<span style="color: #bf1d1a;">&quot;profile_link_color&quot;</span> <span style="color: #002200;">=</span>&gt; <span style="color: #bf1d1a;">&quot;fff&quot;</span>,
	<span style="color: #bf1d1a;">&quot;profile_sidebar_fill_color&quot;</span> <span style="color: #002200;">=</span>&gt; <span style="color: #bf1d1a;">&quot;fff&quot;</span>,
	<span style="color: #bf1d1a;">&quot;profile_sidebar_border_color&quot;</span> <span style="color: #002200;">=</span>&gt; <span style="color: #bf1d1a;">&quot;fff&quot;</span>
<span style="color: #002200;">&#41;</span>;
&nbsp;
$update_response <span style="color: #002200;">=</span> $twitter<span style="color: #002200;">-</span>&gt;updateProfileColors<span style="color: #002200;">&#40;</span>$options<span style="color: #002200;">&#41;</span>;
print_r<span style="color: #002200;">&#40;</span>$update_response<span style="color: #002200;">&#41;</span>;</pre></div></div>

<p>Nice, isn&#8217;t it?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trembl.org/codec/319/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>singleTap: and private API</title>
		<link>http://www.trembl.org/codec/303/</link>
		<comments>http://www.trembl.org/codec/303/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 03:25:46 +0000</pubDate>
		<dc:creator>Georg Tremmel</dc:creator>
				<category><![CDATA[Raw]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Apple Store]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[private]]></category>
		<category><![CDATA[rejection]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://www.trembl.org/codec/?p=303</guid>
		<description><![CDATA[Very funny and strange case of rejection. I made a method called &#8216;singleTap&#8217;, that is &#8211; as the name suggests &#8211; receiving events after a single tap occurs. During the development process the function was not used and commented out, but an oversight let to the notification being left it. And then the message from [...]]]></description>
			<content:encoded><![CDATA[<p>Very funny and strange case of rejection. I made a method called &#8216;singleTap&#8217;, that is &#8211; as the name suggests &#8211;  receiving events after a single tap occurs.<br />
During the development process the function was not used and commented out, but an oversight let to the notification being left it. And then the message from Apple:</p>
<blockquote><p><em>&#8220;3.3.1 Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs.&#8221;</em></p>
<p>The following non-public API is included in your application:</p>
<p>singleTap:</p></blockquote>
<p>Hmm. Clearly I did not use a private API, apparently I just happened to call a function the same name as a private API function&#8230; Wondering if there is a list of reserved function names, which is triggered a rejection?</p>
<p>Solution? I commented out the superflicial notification AND renamed the function to &#8216;oneTap&#8217;. Just in case.</p>
<p>I am starting to believe the stories about the Apple store.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trembl.org/codec/303/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

