<?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>Onlinenerd24 &#187; iphone development</title>
	<atom:link href="http://www.onlinenerd24.de/category/iphone-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.onlinenerd24.de</link>
	<description>iPhone Application Development Blog</description>
	<lastBuildDate>Fri, 16 Apr 2010 06:11:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using Admob to monetize your iPhone Application</title>
		<link>http://www.onlinenerd24.de/2009/12/13/using-admob-to-monetize-your-iphone-application/</link>
		<comments>http://www.onlinenerd24.de/2009/12/13/using-admob-to-monetize-your-iphone-application/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 18:09:06 +0000</pubDate>
		<dc:creator>nospam</dc:creator>
				<category><![CDATA[iphone development]]></category>

		<guid isPermaLink="false">http://www.onlinenerd24.de/?p=501</guid>
		<description><![CDATA[Couple of weeks ago I signed up with Admob to try out their iPhone In-App advertising system. Since then Admob has been bought by Google, btw&#8230;
I implemented the Admob API into one of my most downloaded free apps, which was really easy. Just add a few libs and classes, place a view and you are [...]]]></description>
			<content:encoded><![CDATA[<p>Couple of weeks ago I signed up with <a href="http://www.admob.com" target=_blank>Admob</a> to try out their iPhone In-App advertising system. Since then Admob has been bought by Google, btw&#8230;</p>
<p>I implemented the Admob API into one of my most downloaded free apps, which was really easy. Just add a few libs and classes, place a view and you are ready to go.</p>
<p>The interesting part, of course, was how much money can be made through Admob. Admob uses a CPC-based system, much like Google Adsense. Advertisers book ads on the network, they are shown in your app, as soon as somecone touches the add, he is taken to the advertisers website or to his app in the Appstore. And of course you earn some money.</p>
<p>The App I tried it on has been on the Appstore for about <strong>9 month</strong> and has constantly been downloaded roughly 600 times a day. This sums up to about <strong>150.000 downloads</strong>.<br />
I have never used any tracking techniques to see how often the app was actually started each day. So I was in for a little surprise when I saw the actual ad impressions for the first day.<br />
I have set the App to display a new ad every 30 seconds. This ads up to about <strong>10.000 ad impressions per day</strong>, which was quite a bit higher than I expected.<br />
Click-Through-Rate was also at a rather high 4-5%.</p>
<p><strong>All In all this adds up to a revenue of $20  per day for this app.</strong></p>
<p>So here&#8217;s the revenue over the past few days. In the last 3 days revenue went up due to higher CPC and more impressions.<br />
<img src="http://www.onlinenerd24.de/wp-content/uploads/2009/12/admob-revenue1.png" alt="admob-revenue" title="admob-revenue" width="474" height="194" class="aligncenter size-full wp-image-511" /></p>
<p>Here&#8217;s the sales stats for the past few months (courtesy of <a href="http://www.ideaswarm.com/products/appviz/" target=_Blank>AppViz</a>)<br />
<img src="http://www.onlinenerd24.de/wp-content/uploads/2009/12/app-sales-appviz1.png" alt="app-sales-appviz" title="app-sales-appviz" width="640" height="315" class="aligncenter size-full wp-image-508" /></p>
<p>So, suffices to say I am quiet pleased with this return. Not getting rich on this, but it&#8217;s still quite some money. With this steady income I estimate the app to pay off after about a month, considering the time I spent developing and after that it&#8217;s nice passive income for the time being.</p>
<p>Of course 150.000 downloads is pretty good for an app which has never gotten any widespread exposure. But still it stays in the Top-50 of it&#8217;s Appstore category in the major markets and gets a decent amount of downloads. </p>
<p>So probably you are wondering if it&#8217;s really that easy to replicate this (although small) success. Well, frankly I think it&#8217;s luck that my App seems to be used that much. You need to come up with an idea for an app that is used by a very broad range of users and on a regular basis.</p>
<p>Overall I am pleased with the income from my little app and think that Admob can very well be an alternative for monetizing an iPhone app. With now over 100.000 apps in the store the space on the sales charts gets very tight for paid apps and making even $20 per day from a $-,99 App can be quite difficult. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlinenerd24.de/2009/12/13/using-admob-to-monetize-your-iphone-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Random int in Cocoa on the iPhone</title>
		<link>http://www.onlinenerd24.de/2009/05/01/random-int-in-cocoa-on-the-iphone/</link>
		<comments>http://www.onlinenerd24.de/2009/05/01/random-int-in-cocoa-on-the-iphone/#comments</comments>
		<pubDate>Fri, 01 May 2009 12:42:28 +0000</pubDate>
		<dc:creator>nospam</dc:creator>
				<category><![CDATA[iphone development]]></category>

		<guid isPermaLink="false">http://www.onlinenerd24.de/?p=423</guid>
		<description><![CDATA[So you just need a random int value in Objective-C? Here you go. The following code produces a random int between 0 and 4:

srandom(time(NULL));
int i = random()%4;

Please note, this is NOT a very efficient way to get randoms. Use it only to get a relativly random number every now and then  
]]></description>
			<content:encoded><![CDATA[<p>So you just need a random int value in Objective-C? Here you go. The following code produces a random int between 0 and 4:<br />
<code><br />
srandom(time(NULL));<br />
int i = random()%4;<br />
</code><br />
Please note, this is NOT a very efficient way to get randoms. Use it only to get a relativly random number every now and then <img src='http://www.onlinenerd24.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlinenerd24.de/2009/05/01/random-int-in-cocoa-on-the-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone OS 2.X version usage</title>
		<link>http://www.onlinenerd24.de/2009/04/17/iphone-os-2x-version-usage/</link>
		<comments>http://www.onlinenerd24.de/2009/04/17/iphone-os-2x-version-usage/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 07:10:20 +0000</pubDate>
		<dc:creator>nospam</dc:creator>
				<category><![CDATA[iphone development]]></category>

		<guid isPermaLink="false">http://www.onlinenerd24.de/?p=419</guid>
		<description><![CDATA[I just wondered how many people might still use iPhone OS versions below 2.2. So I analyzed the traffic for one of my larger websites to get the distribution of the different iPhone OS versions. There where 862 samples (unique visitors) from 10.04.2009-17.04.2009. Please note, that the traffic is mainly from Germany, but I guess [...]]]></description>
			<content:encoded><![CDATA[<p>I just wondered how many people might still use iPhone OS versions below 2.2. So I analyzed the traffic for one of my larger websites to get the distribution of the different iPhone OS versions. There where 862 samples (unique visitors) from 10.04.2009-17.04.2009. Please note, that the traffic is mainly from Germany, but I guess the distribution should be roughly the same worldwide. So here are the numbers:</p>
<p>iPhone OS 2.0: 1.04%<br />
iPhone OS 2.1.X: 2.20%<br />
iPhone OS 2.2.X: 96.75%</p>
<p><a href="http://www.onlinenerd24.de/wp-content/uploads/2009/04/iphone-os-version-usage.png" rel="lightbox[419]"><img src="http://www.onlinenerd24.de/wp-content/uploads/2009/04/iphone-os-version-usage.png" alt="" title="iphone-os-version-usage" width="388" height="246" class="aligncenter size-full wp-image-420" /></a><br />
Looking good for 2.2 <img src='http://www.onlinenerd24.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlinenerd24.de/2009/04/17/iphone-os-2x-version-usage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How the AppStore handles developer-rejected Apps</title>
		<link>http://www.onlinenerd24.de/2009/02/18/how-the-appstore-handles-developer-rejected-apps/</link>
		<comments>http://www.onlinenerd24.de/2009/02/18/how-the-appstore-handles-developer-rejected-apps/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 07:29:07 +0000</pubDate>
		<dc:creator>nospam</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iphone development]]></category>

		<guid isPermaLink="false">http://www.onlinenerd24.de/?p=390</guid>
		<description><![CDATA[As every iPhone developer knows  it takes Apple quite a while until a new version of an iPhone App is reviewed and released to the AppStore. Sometimes it can take so long, that you already have the next version number of the App ready for submission.
While your App is in review you can &#8220;reject&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>As every iPhone developer knows  it takes Apple quite a while until a new version of an iPhone App is reviewed and released to the AppStore. Sometimes it can take so long, that you already have the next version number of the App ready for submission.<br />
While your App is in review you can &#8220;reject&#8221; the submitted version yourself and thereby pull it from Apple&#8217;s review process. <strong>After you pulled your App, you will only be able to upload a new version with the same version number as the previously pulled!</strong><br />
So, if you submitted version 1.5.1, keep developing and have version 1.6 ready before the 1.5.1 update was released you need to submit the update with version 1.5.1 in the Info.plist file. IF you don&#8217;t do this Apple will contact you and they can change the version number on Apple&#8217;s website, but this will again take some time.<br />
So, if you reject your App, don&#8217;t change the version number!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlinenerd24.de/2009/02/18/how-the-appstore-handles-developer-rejected-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using ASIHTTPRequest on the iPhone</title>
		<link>http://www.onlinenerd24.de/2009/02/15/using-asihttprequest-on-the-iphone/</link>
		<comments>http://www.onlinenerd24.de/2009/02/15/using-asihttprequest-on-the-iphone/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 10:58:14 +0000</pubDate>
		<dc:creator>nospam</dc:creator>
				<category><![CDATA[iphone development]]></category>
		<category><![CDATA[ASIHTTPRequest]]></category>

		<guid isPermaLink="false">http://www.onlinenerd24.de/?p=386</guid>
		<description><![CDATA[ASIHTTPRequest is a great wrapper around HTTP requests on OS X which also supports the iPhone API. If you want to use it on the iPhone you need a Framework, that is usually part of CoreServices on OSX. CoreServices is not available in the iPhone API though. What you need to do is adding the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://allseeing-i.com/ASIHTTPRequest" target=_Blank>ASIHTTPRequest</a> is a great wrapper around HTTP requests on OS X which also supports the iPhone API. If you want to use it on the iPhone you need a Framework, that is usually part of CoreServices on OSX. CoreServices is not available in the iPhone API though. What you need to do is adding the &#8220;CFNetwork.framework&#8221; to your iPhone project in Xcode or ou will run into errors when linking the project. The framework is usually located here (iPhone SDK version can change, obviously):</p>
<p><code>/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.1.sdk/System/Library/Frameworks/CFNetwork.framework</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlinenerd24.de/2009/02/15/using-asihttprequest-on-the-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mirror a UIView with the iPhone API</title>
		<link>http://www.onlinenerd24.de/2009/01/06/mirror-a-uiview-with-the-iphone-api/</link>
		<comments>http://www.onlinenerd24.de/2009/01/06/mirror-a-uiview-with-the-iphone-api/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 14:49:37 +0000</pubDate>
		<dc:creator>nospam</dc:creator>
				<category><![CDATA[iphone development]]></category>

		<guid isPermaLink="false">http://www.onlinenerd24.de/?p=366</guid>
		<description><![CDATA[Just a very brief note on how to mirror UI elements on the iPhone with Cocoa. You need to apply a CGAffineTransform to flip the element horiziontal or vertical, like in the examples:
view.transform = CGAffineTransformMakeScale(-1, 1);
]]></description>
			<content:encoded><![CDATA[<p>Just a very brief note on how to mirror UI elements on the iPhone with Cocoa. You need to apply a CGAffineTransform to flip the element horiziontal or vertical, like in the examples:</p>
<p><code>view.transform = CGAffineTransformMakeScale(-1, 1);</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlinenerd24.de/2009/01/06/mirror-a-uiview-with-the-iphone-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone AppStore promo codes for Speedbox</title>
		<link>http://www.onlinenerd24.de/2008/12/21/iphone-appstore-promo-codes-for-speedbox/</link>
		<comments>http://www.onlinenerd24.de/2008/12/21/iphone-appstore-promo-codes-for-speedbox/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 14:53:04 +0000</pubDate>
		<dc:creator>nospam</dc:creator>
				<category><![CDATA[iphone development]]></category>
		<category><![CDATA[iphone apps]]></category>
		<category><![CDATA[speedbox]]></category>

		<guid isPermaLink="false">http://www.onlinenerd24.de/?p=357</guid>
		<description><![CDATA[Yesterday I released a big update to my iPhone App SpeedBox. Since over 6000 users updated to this new version, I guess this application is still kind of popular.
So I&#8217;d like to give away 10 promotion codes for a free version of SpeedBox. US-based users can redeem these codes in the AppStore and download SpeedBox [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I released a big update to my iPhone App <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=286677125&#038;mt=8" target=_blank>SpeedBox</a>. Since over 6000 users updated to this new version, I guess this application is still kind of popular.<br />
So I&#8217;d like to give away 10 promotion codes for a free version of SpeedBox. US-based users can redeem these codes in the AppStore and download SpeedBox for free. Unfortunately Apple only offers promo codes for US customers. I will be more then happy to give away some codes to international users, as soon as Apple allows, though.<br />
So, without durther ado, here are the codes. Grab them while they are hot. If iTunes tells you that a code is not valid anymore, someone else was faster. </p>
<p>4RYHP9TWW7NK<br />
HFRK3HY6HLKY<br />
ML7KEARW9X3W<br />
HWFKP94KT4WP<br />
9X3MEEXWNF47<br />
JNTEKWEA3YAP<br />
7P6X7WR6JLAP<br />
3WYTF9763PTK<br />
FJE6A7ETHXPH<br />
LLPKLRHTPXKY</p>
<ol>
<li>Copy a code</li>
<li>Open iTunes, go to AppStore</li>
<li>Click &#8220;Redeem&#8221; on top right</li>
<li>Try another code when yours is not working</li>
<li>Tell me if you liked the app <a href="http://www.car-vs-car.de/speedbox/#contact" target=_blank>via the contact form</a> <img src='http://www.onlinenerd24.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
</ol>
<p>SpeedBox displays the <a href="http://www.car-vs-car.de/speedbox/#contact" target=_blank>current speed you and your iphone are traveling</a> with. With the latest update it will show you an anlog speedometer, both for mph and km/h mode. You also get a handy graph that shows you how fast you where going in the last minutes.<br />
While this may look quite silly at first, it can be really entertaining to track your speed. Probably not while walking to your neighbor shop, but in trains or airplanes for example.</p>
<p><img src="http://www.car-vs-car.de/speedbox/img/gps-iphone-application.jpg" alt="SpeedBox" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlinenerd24.de/2008/12/21/iphone-appstore-promo-codes-for-speedbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make your CALayer invisible to hittest</title>
		<link>http://www.onlinenerd24.de/2008/12/21/make-your-calayer-invisible-to-hittest/</link>
		<comments>http://www.onlinenerd24.de/2008/12/21/make-your-calayer-invisible-to-hittest/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 13:22:13 +0000</pubDate>
		<dc:creator>nospam</dc:creator>
				<category><![CDATA[iphone development]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://www.onlinenerd24.de/?p=352</guid>
		<description><![CDATA[Just a short tipp for iPhone developers. Maybe you&#8217;ve got several stacked (by CALayer addsubview) CALayers and want to get touch events for some sublayers, but need to make other CALayer see-through for hit-testing with the CALayer hittest method.
All you need to do is implement the containsPoint method to your CALayer subclass and return FALSE. [...]]]></description>
			<content:encoded><![CDATA[<p>Just a short tipp for iPhone developers. Maybe you&#8217;ve got several stacked (by CALayer addsubview) CALayers and want to get touch events for some sublayers, but need to make other CALayer see-through for hit-testing with the CALayer hittest method.<br />
All you need to do is implement the containsPoint method to your CALayer subclass and return FALSE. This will make hittest look farther down the Layer stack for touchable layers.</p>
<p><code>- (BOOL)containsPoint:(CGPoint)p<br />
{<br />
	return FALSE;<br />
}</code></p>
<p>Make a CALAyer transparent for hittest.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlinenerd24.de/2008/12/21/make-your-calayer-invisible-to-hittest/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to install OS X iPhone Disk Image for development</title>
		<link>http://www.onlinenerd24.de/2008/07/21/how-to-install-os-x-iphone-disk-image-for-developement/</link>
		<comments>http://www.onlinenerd24.de/2008/07/21/how-to-install-os-x-iphone-disk-image-for-developement/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 08:19:37 +0000</pubDate>
		<dc:creator>nospam</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iphone development]]></category>

		<guid isPermaLink="false">http://www.onlinenerd24.de/2008/07/21/how-to-install-os-x-iphone-disk-image-for-developement/</guid>
		<description><![CDATA[The FAQ at the iPhone Developer Programm says to &#8220;Download the OS X iPhone Disk Image (.dmg) from the iPhone Dev Center &#8220;.
Unfortunately the FAQ is kind of out of date here. The DMG is presently not available for direct download. WHat you&#8217;ve got to do, to get a working .ipsw is looking into ˜/library/iTunes/iPhone [...]]]></description>
			<content:encoded><![CDATA[<p>The FAQ at the iPhone Developer Programm says to &#8220;Download the OS X iPhone Disk Image (.dmg) from the iPhone Dev Center &#8220;.<br />
Unfortunately the FAQ is kind of out of date here. The DMG is presently not available for direct download. WHat you&#8217;ve got to do, to get a working .ipsw is looking into <em>˜/library/iTunes/iPhone Software Updates</em> and choose a proper .ipsw (for iPhone 2.0) from there. If you (like me) have not upgraded to 2.0 with iTunes and there is no proper ipsw in the folder, you need to do a &#8220;Restore&#8221; in iTunes. This not only backups your iPhone (which is a good idea to do before putting it into development mode), but also downloads the latest iPhone build to <em>˜/library/iTunes/iPhone Software Updates</em>. You have to choose this file (presently iPhone1,2_2.0_5A347_Restore.ipsw) instead of the ipsw that the FAQ tells you to download.<br />
I spent like 15 minutes looking for the damn dmg on the Developer Website&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlinenerd24.de/2008/07/21/how-to-install-os-x-iphone-disk-image-for-developement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
