<?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>Nick Waynik.com &#187; iPhoneDev</title>
	<atom:link href="http://nickwaynik.com/category/iphonedev/feed/" rel="self" type="application/rss+xml" />
	<link>http://nickwaynik.com</link>
	<description></description>
	<lastBuildDate>Wed, 07 Dec 2011 14:56:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Hide the TabBar in an iOS App</title>
		<link>http://nickwaynik.com/iphone/hide-tabbar-in-an-ios-app/</link>
		<comments>http://nickwaynik.com/iphone/hide-tabbar-in-an-ios-app/#comments</comments>
		<pubDate>Fri, 24 Sep 2010 03:12:36 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhoneDev]]></category>

		<guid isPermaLink="false">http://nickwaynik.com/?p=356</guid>
		<description><![CDATA[I recently came across a situation where it was useful to have a UITabBar based application, however the actual tab bar was an unnecessary item on the screen. This post is a mini tutorial on how to make this happen. UPDATE: A few people have asked for the source code, so here is the project. [...]]]></description>
			<content:encoded><![CDATA[<p>I recently came across a situation where it was useful to have a UITabBar based application, however the actual tab bar was an unnecessary item on the screen.  This post is a mini tutorial on how to make this happen.<br />
<br />
UPDATE: A few people have asked for the source code, so <a title="Source Code" href="http://nickwaynik.com/code/HiddenTabBar.zip">here is the project.</a><br />
<br />
Inside &#8220;application:didFinishLaunchingWithOptions:&#8221; method:</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;">tabBarController <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>UITabBarController alloc<span style="color: #002200;">&#93;</span> init<span style="color: #002200;">&#93;</span>;
tabBarController.viewControllers <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #400080;">NSArray</span> arrayWithObjects<span style="color: #002200;">:</span>navController1, viewController1, viewController2, <span style="color: #a61390;">nil</span><span style="color: #002200;">&#93;</span>;
<span style="color: #002200;">&#91;</span>window addSubview<span style="color: #002200;">:</span>tabBarController.view<span style="color: #002200;">&#93;</span>;
<span style="color: #002200;">&#91;</span>self makeTabBarHidden<span style="color: #002200;">:</span>TRUE<span style="color: #002200;">&#93;</span>;</pre></div></div>

<p>Here is the &#8220;makeTabBarHidden&#8221; method:</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #002200;">-</span><span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span>makeTabBarHidden<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span><span style="color: #a61390;">BOOL</span><span style="color: #002200;">&#41;</span>hide <span style="color: #002200;">&#123;</span>
	<span style="color: #11740a; font-style: italic;">// Custom code to hide TabBar</span>
	<span style="color: #a61390;">if</span> <span style="color: #002200;">&#40;</span> <span style="color: #002200;">&#91;</span>tabBarController.view.subviews count<span style="color: #002200;">&#93;</span> <span style="color: #002200;">&amp;</span>lt; <span style="color: #2400d9;">2</span> <span style="color: #002200;">&#41;</span> <span style="color: #002200;">&#123;</span>
		<span style="color: #a61390;">return</span>;
	<span style="color: #002200;">&#125;</span>
&nbsp;
	UIView <span style="color: #002200;">*</span>contentView;
&nbsp;
	<span style="color: #a61390;">if</span> <span style="color: #002200;">&#40;</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>tabBarController.view.subviews objectAtIndex<span style="color: #002200;">:</span><span style="color: #2400d9;">0</span><span style="color: #002200;">&#93;</span> isKindOfClass<span style="color: #002200;">:</span><span style="color: #002200;">&#91;</span>UITabBar class<span style="color: #002200;">&#93;</span><span style="color: #002200;">&#93;</span> <span style="color: #002200;">&#41;</span> <span style="color: #002200;">&#123;</span>
		contentView <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span>tabBarController.view.subviews objectAtIndex<span style="color: #002200;">:</span><span style="color: #2400d9;">1</span><span style="color: #002200;">&#93;</span>;
	<span style="color: #002200;">&#125;</span> <span style="color: #a61390;">else</span> <span style="color: #002200;">&#123;</span>
		contentView <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span>tabBarController.view.subviews objectAtIndex<span style="color: #002200;">:</span><span style="color: #2400d9;">0</span><span style="color: #002200;">&#93;</span>;
	<span style="color: #002200;">&#125;</span>
&nbsp;
	<span style="color: #a61390;">if</span> <span style="color: #002200;">&#40;</span>hide<span style="color: #002200;">&#41;</span> <span style="color: #002200;">&#123;</span>
		contentView.frame <span style="color: #002200;">=</span> tabBarController.view.bounds;
	<span style="color: #002200;">&#125;</span>
	<span style="color: #a61390;">else</span> <span style="color: #002200;">&#123;</span>
		contentView.frame <span style="color: #002200;">=</span> CGRectMake<span style="color: #002200;">&#40;</span>tabBarController.view.bounds.origin.x,
		     tabBarController.view.bounds.origin.y,
		     tabBarController.view.bounds.size.width,
		     tabBarController.view.bounds.size.height <span style="color: #002200;">-</span> tabBarController.tabBar.frame.size.height<span style="color: #002200;">&#41;</span>;
	<span style="color: #002200;">&#125;</span>
&nbsp;
	tabBarController.tabBar.hidden <span style="color: #002200;">=</span> hide;
<span style="color: #002200;">&#125;</span></pre></div></div>

<p>And you are probably wondering how to change the views that are normally controlled by the tab bar?  Here is the answer&#8230;just simply change the selectedIndex property of the tab bar.</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;">tabBarController.selectedIndex <span style="color: #002200;">=</span> <span style="color: #2400d9;">1</span>;</pre></div></div>

<p>The complete <a title="Source Code" href="http://nickwaynik.com/code/HiddenTabBar.zip">source code</a> for the project.<br />
<br />
<a href="http://www.iphonedevsdk.com/forum/iphone-sdk-development/4091-uitabbarcontroller-hidden-uitabbar.html">Part of this code</a> came from a post I found on <a href="http://www.iphonedevsdk.com">iPhoneDevSDK.com</a>, so I took it one step further and made it a complete solution.</p>
]]></content:encoded>
			<wfw:commentRss>http://nickwaynik.com/iphone/hide-tabbar-in-an-ios-app/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>CocosDenshion Sound Engine</title>
		<link>http://nickwaynik.com/iphonedev/cocosdenshion/</link>
		<comments>http://nickwaynik.com/iphonedev/cocosdenshion/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 15:04:02 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Cocos2d]]></category>
		<category><![CDATA[iPhoneDev]]></category>

		<guid isPermaLink="false">http://nickwaynik.com/?p=326</guid>
		<description><![CDATA[Version 0.99 of Cocos2d for the iPhone was just released this week. I am using the Cocos2d framework in my game, and wanted to post a short tutorial/sample code for the CocosDenshion sound engine that is shipping with the latest version. I am going to start off with the the basic Hello World example that [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.cocos2d-iphone.org/archives/598">Version 0.99 of Cocos2d</a> for the iPhone was just released this week.  I am using the Cocos2d framework in my game, and wanted to post a short tutorial/sample code for the CocosDenshion sound engine that is shipping with the latest version.  </p>
<p>I am going to start off with the the basic Hello World example that is created for you when you create a new Cocos2d project.<br />
</p>
<p>&nbsp;</p>
<p>
In the HelloWorld.h file add the following lines of code to import the needed files:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #6e371a;">#import &quot;SimpleAudioEngine.h&quot;</span>
<span style="color: #6e371a;">#import &quot;CocosDenshion.h&quot;</span>
<span style="color: #6e371a;">#import &quot;CDAudioManager.h&quot;</span></pre></td></tr></table></div>

<p></p>
<p>&nbsp;</p>
<p>
Now we will move to the HelloWorld.m file to add the rest of the code.  Inside the init method will will preload the background music so there is no lag when opening this layer.  Since we only have one layer, it makes no difference.  This will help when you have multiple layers in a game.  One thing to note, the backgroundMusicVolume can be set from the range of 0.0 to 1.0.  If you load a new background music file, you will need to set this again.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="objc" style="font-family:monospace;">SimpleAudioEngine <span style="color: #002200;">*</span>sae <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span>SimpleAudioEngine sharedEngine<span style="color: #002200;">&#93;</span>;
<span style="color: #a61390;">if</span> <span style="color: #002200;">&#40;</span>sae <span style="color: #002200;">!=</span> <span style="color: #a61390;">nil</span><span style="color: #002200;">&#41;</span> <span style="color: #002200;">&#123;</span>
	<span style="color: #002200;">&#91;</span>sae preloadBackgroundMusic<span style="color: #002200;">:</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;mario-theme.mp3&quot;</span><span style="color: #002200;">&#93;</span>;
	<span style="color: #a61390;">if</span> <span style="color: #002200;">&#40;</span>sae.willPlayBackgroundMusic<span style="color: #002200;">&#41;</span> <span style="color: #002200;">&#123;</span>		
		sae.backgroundMusicVolume <span style="color: #002200;">=</span> 0.5f;
	<span style="color: #002200;">&#125;</span>
<span style="color: #002200;">&#125;</span></pre></td></tr></table></div>

<p></p>
<p>&nbsp;</p>
<p>
To play the background sound and other sounds use the following code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #11740a; font-style: italic;">// Start the background music from the beginning and stop the background music</span>
<span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>SimpleAudioEngine sharedEngine<span style="color: #002200;">&#93;</span> playBackgroundMusic<span style="color: #002200;">:</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;mario-theme.mp3&quot;</span><span style="color: #002200;">&#93;</span>;
<span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>SimpleAudioEngine sharedEngine<span style="color: #002200;">&#93;</span> stopBackgroundMusic<span style="color: #002200;">&#93;</span>;
&nbsp;
<span style="color: #11740a; font-style: italic;">// Mute and unmute all sounds</span>
<span style="color: #002200;">&#91;</span>CDAudioManager sharedManager<span style="color: #002200;">&#93;</span>.mute <span style="color: #002200;">=</span> TRUE;
<span style="color: #002200;">&#91;</span>CDAudioManager sharedManager<span style="color: #002200;">&#93;</span>.mute <span style="color: #002200;">=</span> FALSE;
&nbsp;
<span style="color: #11740a; font-style: italic;">// Pause and unpause the background music</span>
<span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>SimpleAudioEngine sharedEngine<span style="color: #002200;">&#93;</span> pauseBackgroundMusic<span style="color: #002200;">&#93;</span>;
<span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>SimpleAudioEngine sharedEngine<span style="color: #002200;">&#93;</span> resumeBackgroundMusic<span style="color: #002200;">&#93;</span>;</pre></td></tr></table></div>

<p></p>
<p>&nbsp;</p>
<p>
As you can see, CocosDenshion is very simple and easy to use.  More information on it can be <a href="http://www.cocos2d-iphone.org/wiki/doku.php/cocosdenshion:cookbook">found here.</a><br />
If you would like to see this in working action, then head on over to my github repository and download the sample project.<br />
<a href="http://github.com/ndubbs/CocosDenshion-Example">http://github.com/ndubbs/CocosDenshion-Example</a><br />
As always, comments are welcomed and greatly appreciated.</p>
]]></content:encoded>
			<wfw:commentRss>http://nickwaynik.com/iphonedev/cocosdenshion/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Check Network Connectivity</title>
		<link>http://nickwaynik.com/iphonedev/check-network-connectivity/</link>
		<comments>http://nickwaynik.com/iphonedev/check-network-connectivity/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 00:42:25 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[iPhoneDev]]></category>

		<guid isPermaLink="false">http://nickwaynik.com/?p=279</guid>
		<description><![CDATA[**This tutorial is out of date, look for a new one to come very soon** I figured I would put together a simple tutorial since I&#8217;ve been getting a lot of traffic based on &#8220;iPhone Human Interface Guidelines.&#8221; This is probably due to one of my earlier blog post, &#8220;Developing My First iPhone App.&#8221; I [...]]]></description>
			<content:encoded><![CDATA[<p>**This tutorial is out of date, look for a new one to come very soon**</p>
<p>I figured I would put together a simple tutorial since I&#8217;ve been getting a lot of traffic based on &#8220;iPhone Human Interface Guidelines.&#8221;  This is probably due to one of my earlier blog post, &#8220;Developing My First iPhone App.&#8221;  I failed to adhere to the guidelines in the beginning, so my app was originally rejected.  Here is a simple tutorial so you don&#8217;t have the same issue as I did.<br />
</p>
<p>&nbsp;</p>
<p>
Download the Reachability project from Apple.  The link to the project is:<br />
<a href="http://developer.apple.com/iphone/library/samplecode/Reachability/index.html">http://developer.apple.com/iphone/library/samplecode/Reachability/index.html</a><br />
</p>
<p>&nbsp;</p>
<p>
The two files we will need are: Reachability.h and Reachability.m<br />
</p>
<p>&nbsp;</p>
<p>
<strong>Add SystemConiguration Framework:</strong><br />
1.  Control click (right click) on the Frameworks folder and select Add then select Existing Frameworks.<br />
2.  Scroll down and select SystemConfiguration.framework.<br />
3.  Click Add.<br />
4.  Control click (right click) on the project icon and select Add then select Existing Files.<br />
5.  Find the Classes folder in the Reachability project, and select the files Reachability.h and Reachability.m.<br />
6.  Click Add, then make sure the check box is selected for &#8220;Copy items into destination group’s folder (if needed).&#8221;<br />
7.  Click Add.</p>
<p></p>
<p>&nbsp;</p>
<p>
Inside ViewController.h file, add the following statement to the top of the header file.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #6e371a;">#import &quot;Reachability.h&quot;</span></pre></td></tr></table></div>

<p></p>
<p>&nbsp;</p>
<p>
Inside the interface definition of the view controller, add the variable definitions:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #400080;">NSString</span> <span style="color: #002200;">*</span>urlAddress;
<span style="color: #400080;">NSURL</span> <span style="color: #002200;">*</span>url;
<span style="color: #400080;">NSURLRequest</span> <span style="color: #002200;">*</span>requestObj;
NetworkStatus remoteHostStatus;
NetworkStatus internetConnectionStatus;</pre></td></tr></table></div>

<p></p>
<p>&nbsp;</p>
<p>
Add the following properties:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #a61390;">@property</span> <span style="color: #002200;">&#40;</span>nonatomic, retain<span style="color: #002200;">&#41;</span> <span style="color: #400080;">NSString</span> <span style="color: #002200;">*</span>urlAddress;
<span style="color: #a61390;">@property</span> <span style="color: #002200;">&#40;</span>nonatomic, retain<span style="color: #002200;">&#41;</span> <span style="color: #400080;">NSURL</span> <span style="color: #002200;">*</span>url;
<span style="color: #a61390;">@property</span> <span style="color: #002200;">&#40;</span>nonatomic, retain<span style="color: #002200;">&#41;</span> <span style="color: #400080;">NSURLRequest</span> <span style="color: #002200;">*</span>requestObj;
<span style="color: #a61390;">@property</span> NetworkStatus remoteHostStatus;
<span style="color: #a61390;">@property</span> NetworkStatus internetConnectionStatus;</pre></td></tr></table></div>

<p></p>
<p>&nbsp;</p>
<p>
Inside ViewController.m file add the synthesize statements after the implementation statement:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #a61390;">@synthesize</span> webView, urlAddress, url, requestObj;
<span style="color: #a61390;">@synthesize</span> remoteHostStatus, internetConnectionStatus;</pre></td></tr></table></div>

<p></p>
<p>&nbsp;</p>
<p>
Inside the viewDidLoad method, add the following lines of code to set the variables:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>Reachability sharedReachability<span style="color: #002200;">&#93;</span> setAddress<span style="color: #002200;">:</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;http://www.apple.com&quot;</span><span style="color: #002200;">&#93;</span>;
<span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>Reachability sharedReachability<span style="color: #002200;">&#93;</span> setNetworkStatusNotificationsEnabled<span style="color: #002200;">:</span><span style="color: #a61390;">YES</span><span style="color: #002200;">&#93;</span>;</pre></td></tr></table></div>

<p></p>
<p>&nbsp;</p>
<p>
Inside the programming logic, use the following lines of code to test network connectivity.  Substitute the code you would like to execute where the &#8220;NSLog(@&#8221;Connection Made&#8221;)&#8221; statement is.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #11740a; font-style: italic;">// Query the SystemConfiguration framework for the state of the device's network connections.	</span>
self.remoteHostStatus <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>Reachability sharedReachability<span style="color: #002200;">&#93;</span> remoteHostStatus<span style="color: #002200;">&#93;</span>;
self.internetConnectionStatus <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>Reachability sharedReachability<span style="color: #002200;">&#93;</span> internetConnectionStatus<span style="color: #002200;">&#93;</span>;
&nbsp;
<span style="color: #11740a; font-style: italic;">// Check if there is a connection</span>
<span style="color: #a61390;">if</span> <span style="color: #002200;">&#40;</span>self.internetConnectionStatus <span style="color: #002200;">==</span> NotReachable <span style="color: #002200;">&amp;&amp;</span> self.remoteHostStatus <span style="color: #002200;">==</span> NotReachable<span style="color: #002200;">&#41;</span> 
<span style="color: #002200;">&#123;</span>
     UIAlertView <span style="color: #002200;">*</span>alert <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>UIAlertView alloc<span style="color: #002200;">&#93;</span> initWithTitle<span style="color: #002200;">:</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;Error Loading&quot;</span> 
                                     message<span style="color: #002200;">:</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;No Internet   Connection&quot;</span> 
                                     delegate<span style="color: #002200;">:</span>self cancelButtonTitle<span style="color: #002200;">:</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;OK&quot;</span> otherButtonTitles<span style="color: #002200;">:</span><span style="color: #a61390;">nil</span><span style="color: #002200;">&#93;</span>; 
     <span style="color: #002200;">&#91;</span>alert show<span style="color: #002200;">&#93;</span>; 
     <span style="color: #002200;">&#91;</span>alert release<span style="color: #002200;">&#93;</span>; 
<span style="color: #002200;">&#125;</span> <span style="color: #a61390;">else</span> <span style="color: #002200;">&#123;</span>
        NSLog<span style="color: #002200;">&#40;</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;Connection Made&quot;</span><span style="color: #002200;">&#41;</span>;
<span style="color: #002200;">&#125;</span></pre></td></tr></table></div>

<p></p>
<p>&nbsp;</p>
<p>
Don&#8217;t forget to clean up and add the following statements to the dealloc method.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #002200;">&#91;</span>urlAddress release<span style="color: #002200;">&#93;</span>;
<span style="color: #002200;">&#91;</span>url release<span style="color: #002200;">&#93;</span>;
<span style="color: #002200;">&#91;</span>requestObj release<span style="color: #002200;">&#93;</span>;</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://nickwaynik.com/iphonedev/check-network-connectivity/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Getting Started with Cocos2d</title>
		<link>http://nickwaynik.com/iphonedev/getting-started-with-cocos2d/</link>
		<comments>http://nickwaynik.com/iphonedev/getting-started-with-cocos2d/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 18:47:06 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[iPhoneDev]]></category>

		<guid isPermaLink="false">http://nickwaynik.com/?p=252</guid>
		<description><![CDATA[Step 1: Download Cocos2d from the project website. Step 2: Unzip the downloaded file in Step 1. If you are running Snow Leopard, it most likely will be in the downloads folder. Move the newly unzipped folder to the Desktop. Step 3: Open Terminal and change the directory to the cocos2d folder on the desktop. [...]]]></description>
			<content:encoded><![CDATA[<p>
<strong>Step 1:</strong> Download Cocos2d from the <a href="http://www.cocos2d-iphone.org/download">project website</a>.<br />
<br />
<strong>Step 2: </strong>Unzip the downloaded file in Step 1.  If you are running Snow Leopard, it most likely will be in the downloads folder.  Move the newly unzipped folder to the Desktop.<br />
<br />
<strong>Step 3:</strong> Open Terminal and change the directory to the cocos2d folder on the desktop.<br />
</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="objc" style="font-family:monospace;">cd desktop<span style="color: #002200;">/</span>cocos2d<span style="color: #002200;">-</span>iphone<span style="color: #002200;">-</span>0.8.2</pre></td></tr></table></div>

<p>
<strong>Step 4:</strong> Run the install template script.<br />
</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="objc" style="font-family:monospace;">.<span style="color: #002200;">/</span>install_template.sh</pre></td></tr></table></div>

<p>
The process is complete.  Startup XCode and have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://nickwaynik.com/iphonedev/getting-started-with-cocos2d/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PA Traffic Cams Survey Results</title>
		<link>http://nickwaynik.com/iphonedev/pa-traffic-cams-survey-results/</link>
		<comments>http://nickwaynik.com/iphonedev/pa-traffic-cams-survey-results/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 19:11:07 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[iPhoneDev]]></category>

		<guid isPermaLink="false">http://nickwaynik.com/?p=223</guid>
		<description><![CDATA[Apple’s iTunes is a little lacking in the department of rating apps. Mostly when anyone rates an app they do so when they are deleting it from their iPhone, or if they really really love the app. Another thing that is lacking is allowing the developers to have a line of communication with the app [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://nickwaynik.com/blog/images/newspaperwithcoffee.gif" alt="PA Traffic Cams iPhone iPod Touch App" class="left" align="left"  /><br /><a href="http://www.apple.com">Apple’s</a> iTunes is a little lacking in the department of rating apps.  Mostly when anyone rates an app they do so when they are deleting it from their iPhone, or if they really really love the app.  Another thing that is lacking is allowing the developers to have a line of communication with the app users.  I thought a survey might help bridge this gap and help me to communicate with the users of my app.  I’ve had a survey online since July to collect some feedback from the users of my app.<br />
<br />
<strong>Results:</strong><br />
<br />
Out of 62 people who have filled out the survey, PA Traffic Cams has an overall rating of 3.9 out of 5.  Mostly everyone said they would recommend the app or already has recommended it.  There were 4 people who said they wouldn’t.<br />
<br />
<strong>Features:</strong><br />
<br />
Over half of the responders have said they loved the traffic speed map feature, and almost all of the rest have found it moderately to somewhat useful.  I’m glad that it was a useful feature.  <a href="http://www.google.com">Google</a> has released a newer version of their maps.  I’m waiting on them to implement this feature into the latest version of their maps.  Since I am running the older version, it runs a little bit on the slow side.<br />
<br />
One thing to note, I do not control how many cameras or in which location the cameras are placed.  <a href="http://www.dot.state.pa.us/">PennDOT</a> is solely responsible for the cameras, and I am in no way shape or form associated with them.  I merely have created an app to allow users to easily navigate and view them.  I try my best to check <a href="http://www.dot.state.pa.us/">PennDOT</a>’s website and update the app with new cameras when they are made available.  If you know a link to any cameras not on the app, please send me an email and I will work on adding them.<br />
<br />
A few of you have requested making this app for the BlackBerry.  I’m sure people on the Android will also want this app.  I unfortunately do not own a BlackBerry or an Android which creates a little bit of a challenge for me.  I can test the app in the simulators, but I have no way to know if it will actually work on the device.  I don’t ever want to put out software that does not function.  Things may change in the future, but for the moment I will not be developing for the other phones.<br />
<br />
<strong>Thank You!</strong><br />
<br />
Thank you to everyone who has filled out the survey.  I do appreciate the time everyone took to fill it out.  Your feedback will allow me to determine what features to add in upcoming releases.  Speaking of which… If you have an idea please send me an email, I would love to hear about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://nickwaynik.com/iphonedev/pa-traffic-cams-survey-results/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Back in the Saddle</title>
		<link>http://nickwaynik.com/iphonedev/back-in-the-saddle/</link>
		<comments>http://nickwaynik.com/iphonedev/back-in-the-saddle/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 15:38:46 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[iPhoneDev]]></category>

		<guid isPermaLink="false">http://nickwaynik.com/?p=216</guid>
		<description><![CDATA[For over the past year and a half, I&#8217;ve been working full-time and then taking classes on Saturdays. I would have three classes with a 30 minute lunch between the second and third classes. While this has been very challenging, it also has been just as rewarding. Taking the business classes has helped me to [...]]]></description>
			<content:encoded><![CDATA[<p>For over the past year and a half, I&#8217;ve been working full-time and then taking classes on Saturdays.  I would have three classes with a 30 minute lunch between the second and third classes.  While this has been very challenging, it also has been just as rewarding.  Taking the business classes has helped me to grow as a better developer.  </p>
<p>What&#8217;s next?</p>
<p>I finished the MBA up this past Sunday, and now I have some free time again.<br />
So, I will be working on some iPhone development in my free time.  I plan on writing about it and providing some things I find useful and would like to share.  I also plan on putting out some coding examples as well as doing a <a href="http://www.cocos2d-iphone.org/">Cocos2d</a> presentation for <a href="http://cocoaheads.org/us/PittsburghPennsylvania/index.html">Cocoaheads Pittsburgh</a>.  Stay tuned in and may you have a happy holiday season!</p>
]]></content:encoded>
			<wfw:commentRss>http://nickwaynik.com/iphonedev/back-in-the-saddle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DC Traffic Cams now available for the iPhone/iPod Touch</title>
		<link>http://nickwaynik.com/iphonedev/dc-traffic-cams-now-available-for-the-iphoneipod-touch/</link>
		<comments>http://nickwaynik.com/iphonedev/dc-traffic-cams-now-available-for-the-iphoneipod-touch/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 21:56:11 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[iPhoneDev]]></category>

		<guid isPermaLink="false">http://nickwaynik.com/?p=171</guid>
		<description><![CDATA[DC Traffic Cams iPhone/iPod Touch app is now available in iTunes. Conveniently view Washington DC’s District Department of Transportation traffic camera images at the touch of a finger. Most of the major Washington DC area roadways are included in this application. Other features include a map of traffic speeds, and a traffic feed of accidents, [...]]]></description>
			<content:encoded><![CDATA[<p><img title="DC Traffic Cams iPhone app" src="http://www.nickwaynik.com/images/icon_website_dc.png" alt="" width="100" height="100" /></p>
<p>DC Traffic Cams iPhone/iPod Touch app is now available in iTunes.  Conveniently view Washington DC’s District Department of Transportation traffic camera images at the touch of a finger. Most of the major Washington DC area roadways are included in this application.  Other features include a map of traffic speeds, and a traffic feed of accidents, construction, and road closings.  Check it out!</p>
<p><a href="http://itunes.com/apps/DCTrafficCams"><img style="border: 0pt none;" title="PA Traffic Cams now available in iTunes" src="http://nickwaynik.com/images/App_Store_badge.png" border="0" alt="" width="275" height="100" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://nickwaynik.com/iphonedev/dc-traffic-cams-now-available-for-the-iphoneipod-touch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quacktastic Lite now available in iTunes</title>
		<link>http://nickwaynik.com/iphone/quacktastic-lite-now-available-in-itunes/</link>
		<comments>http://nickwaynik.com/iphone/quacktastic-lite-now-available-in-itunes/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 21:58:38 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhoneDev]]></category>

		<guid isPermaLink="false">http://nickwaynik.com/?p=125</guid>
		<description><![CDATA[Quacktastic Lite iPhone/iPod Touch app is now available in iTunes.  This is the free version of Quacktastic which contains ads.  Check it out!]]></description>
			<content:encoded><![CDATA[<p><img title="Quacktastic Lite iPhone app" src="http://www.nickwaynik.com/images/icon_duck.png" alt="" width="100" height="100" /></p>
<p>Quacktastic Lite iPhone/iPod Touch app is now available in iTunes.  This is the free version of Quacktastic which contains ads.  Check it out!</p>
<p><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=324886364&amp;mt=8"><img style="border: 0pt none;" title="Quacktastic Lite now available in iTunes" src="http://nickwaynik.com/images/App_Store_badge.png" border="0" alt="" width="275" height="100" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://nickwaynik.com/iphone/quacktastic-lite-now-available-in-itunes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Minor Change in iTunes</title>
		<link>http://nickwaynik.com/iphonedev/minor-change-in-itunes/</link>
		<comments>http://nickwaynik.com/iphonedev/minor-change-in-itunes/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 08:49:30 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[iPhoneDev]]></category>

		<guid isPermaLink="false">http://nickwaynik.com/blog/?p=46</guid>
		<description><![CDATA[I was brainstorming about continuous improvement for my iPhone/iPod Touch apps. I think the information I&#8217;m learning in my MBA classes is helping steer my thought process lately, which is totally a good thing. Anyhow, I noticed that users were not being presented with a good image in iTunes of what PA Traffic Cams actually [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://nickwaynik.com/blog/images/patcscreenshot.png" alt="PA Traffic Cams iPhone App" class="left" align="left"  />I was brainstorming about continuous improvement for my iPhone/iPod Touch apps.  I think the information I&#8217;m learning in my MBA classes is helping steer my thought process lately, which is totally a good thing.  Anyhow, I noticed that users were not being presented with a good image in iTunes of what <a href="http://www.pa-trafficcams.com">PA Traffic Cams</a> actually does.  So I replaced the primary screenshot with the camera view image.  Now users are presented with a screenshot of a camera showing traffic.  I think this change should provide a better experience for the user.  </p>
<p>It is probably a small ratio of people who take the time to click the next arrow, or fully read the entire description.  Having the &#8220;wrong&#8221; image as the primary screenshot has probably deterred people from downloading my app.  This one change has produced a significant improvement! </p>
<p>In other news, I also created a short survey of questions on <a href="http://www.pa-trafficcams.com">PA Traffic Cams</a>.  Please help me out and answer the questions, so that I can provide the best possible app that I can.  The survey is available on the <a href="http://www.pa-trafficcams.com">PA Traffic Cams website</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nickwaynik.com/iphonedev/minor-change-in-itunes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PA Traffic Cams 1.1 Available</title>
		<link>http://nickwaynik.com/iphone/pa-traffic-cams-1-1-available/</link>
		<comments>http://nickwaynik.com/iphone/pa-traffic-cams-1-1-available/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 08:28:43 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhoneDev]]></category>

		<guid isPermaLink="false">http://nickwaynik.com/blog/?p=44</guid>
		<description><![CDATA[PA Traffic Cams version 1.1 is now available in the iTunes App Store. New features in this version included a interface enhancements and traffic maps with speeds for Pittsburgh, Philadelphia, and Allentown. This version also fixes some cameras in Harrisburg, Scranton/Dunmore, and Allentown. PA Traffic Cams Website Don&#8221;t forget to check out my other iPhone/iPod [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://nickwaynik.com/blog/images/patc_icon.png" alt="PA Traffic Cams iPhone iPod Touch App" class="left" align="left"  />PA Traffic Cams version 1.1 is now available in the iTunes App Store.  New features in this version included a interface enhancements and traffic maps with speeds for Pittsburgh, Philadelphia, and Allentown.  This version also fixes some cameras in Harrisburg, Scranton/Dunmore, and Allentown.  </p>
<p><a href="http://www.pa-trafficcams.com">PA Traffic Cams Website</a></p>
<p>Don&#8221;t forget to check out my other iPhone/iPod Touch app.  <a href="http://www.quacktastic.us">Quacktastic</a> is a quacking blue duck that is sure to entertain kids as well as adults.</p>
]]></content:encoded>
			<wfw:commentRss>http://nickwaynik.com/iphone/pa-traffic-cams-1-1-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

