<?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>Ramblings</title>
	<atom:link href="http://brandonpate.org/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://brandonpate.org</link>
	<description>Who needs tag-lines?</description>
	<lastBuildDate>Mon, 26 Oct 2009 20:47:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Android Video Tutorials</title>
		<link>http://brandonpate.org/?p=46</link>
		<comments>http://brandonpate.org/?p=46#comments</comments>
		<pubDate>Mon, 26 Oct 2009 20:47:58 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Refrence]]></category>

		<guid isPermaLink="false">http://brandonpate.org/?p=46</guid>
		<description><![CDATA[I have been checking out android in the past few days:
http://www.xtensivearts.com
Some nice beginner tutorials here.
]]></description>
			<content:encoded><![CDATA[<p>I have been checking out android in the past few days:</p>
<p>http://www.xtensivearts.com</p>
<p>Some nice beginner tutorials here.</p>
]]></content:encoded>
			<wfw:commentRss>http://brandonpate.org/?feed=rss2&amp;p=46</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Integrating C++ and Objective C in an Xcode Project.</title>
		<link>http://brandonpate.org/?p=34</link>
		<comments>http://brandonpate.org/?p=34#comments</comments>
		<pubDate>Thu, 22 Oct 2009 20:13:41 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Refrence]]></category>

		<guid isPermaLink="false">http://brandonpate.org/?p=34</guid>
		<description><![CDATA[C++ Objective-C integrationSo I searched for a while about how to use C++ classes in an objective C project and with the iPhone. I couldn&#8217;t find a good tutorial or anything so I am adding this so I can remember how I did it (or anyone else can).
First, this is a very simple demo but [...]]]></description>
			<content:encoded><![CDATA[<p>C++ Objective-C integrationSo I searched for a while about how to use C++ classes in an objective C project and with the iPhone. I couldn&#8217;t find a good tutorial or anything so I am adding this so I can remember how I did it (or anyone else can).</p>
<p>First, this is a very simple demo but take from it what you will. This isn&#8217;t meant to be a tutorial as much as a reference guide. So if you don&#8217;t know how to do one of the steps there are MANY tutorials that will guide you through the set up process.</p>
<p><span id="more-34"></span></p>
<p>First thing to do is start an Xcode project and set it to a basic view based application.</p>
<p>Open the view controller and add an IBoutlet called &#8220;label&#8221;. Add the associated @property and @synthesize commands and then open up the viewController.xib file. In the .xib file add a label to the view, link that label with the IBOutlet we made earlier.</p>
<p>Now: Add a new file to the project, and instead of selecting the iphone stuff, select the mac osx stuff under it. In that select &#8220;C and C++&#8221; then add a C++ file, call it &#8220;Math&#8221;.</p>
<p>Define a very simple class:</p>
<p style="font: normal normal normal 11px/normal Menlo; padding-left: 30px; margin: 0px;"><span style="color: #ba00a1;">class</span> Math {</p>
<p style="font: normal normal normal 11px/normal Menlo; min-height: 13px; padding-left: 30px; margin: 0px;"><span style="white-space: pre;"> </span></p>
<p style="font: normal normal normal 11px/normal Menlo; color: #ba00a1; padding-left: 30px; margin: 0px;">private<span style="color: #000000;">:</span></p>
<p style="font: normal normal normal 11px/normal Menlo; min-height: 13px; padding-left: 30px; margin: 0px;"><span style="white-space: pre;"> </span></p>
<p style="font: normal normal normal 11px/normal Menlo; color: #ba00a1; padding-left: 30px; margin: 0px;">public<span style="color: #000000;">:</span></p>
<p style="font: normal normal normal 11px/normal Menlo; padding-left: 30px; margin: 0px;"><span style="white-space: pre;"> </span><span style="color: #ba00a1;">int</span> addNumbers(<span style="color: #ba00a1;">int</span> num1, <span style="color: #ba00a1;">int</span> num2);</p>
<p style="font: normal normal normal 11px/normal Menlo; min-height: 13px; padding-left: 30px; margin: 0px;"><span style="white-space: pre;"> </span></p>
<p style="font: normal normal normal 11px/normal Menlo; padding-left: 30px; margin: 0px;">};</p>
<p style="font: normal normal normal 11px/normal Menlo; padding-left: 30px; margin: 0px;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo;">Then in the .cpp file add this:</p>
<p style="font: normal normal normal 11px/normal Menlo; color: #76492d; padding-left: 30px; margin: 0px;">#include <span style="color: #cd2324;">&#8220;Math.h&#8221;</span></p>
<p style="font: normal normal normal 11px/normal Menlo; min-height: 13px; padding-left: 30px; margin: 0px;">
<p style="font: normal normal normal 11px/normal Menlo; padding-left: 30px; margin: 0px;"><span style="color: #ba00a1;">int</span> <span style="color: #528187;">Math</span>::addNumbers(<span style="color: #ba00a1;">int</span> num1, <span style="color: #ba00a1;">int</span> num2){</p>
<p style="font: normal normal normal 11px/normal Menlo; min-height: 13px; padding-left: 30px; margin: 0px;">
<p style="font: normal normal normal 11px/normal Menlo; padding-left: 30px; margin: 0px;"><span style="white-space: pre;"> </span><span style="color: #ba00a1;">int</span> total = <span style="color: #3e00d6;">0</span>;</p>
<p style="font: normal normal normal 11px/normal Menlo; padding-left: 30px; margin: 0px;"><span style="white-space: pre;"> </span>total = num1 + num2;</p>
<p style="font: normal normal normal 11px/normal Menlo; min-height: 13px; padding-left: 30px; margin: 0px;"><span style="white-space: pre;"> </span></p>
<p style="font: normal normal normal 11px/normal Menlo; padding-left: 30px; margin: 0px;"><span style="white-space: pre;"> </span><span style="color: #ba00a1;">return</span> total;</p>
<p style="font: normal normal normal 11px/normal Menlo; min-height: 13px; padding-left: 30px; margin: 0px;">
<p style="font: normal normal normal 11px/normal Menlo; padding-left: 30px; margin: 0px;">}</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo;">If you can&#8217;t figure out by now we are making a class that adds two numbers.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo;">Now import the math class into your .h file of the view controller, and then in the implementation add this to the &#8220;view did load&#8221; function</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo;">
<p style="font: normal normal normal 11px/normal Menlo; padding-left: 30px; margin: 0px;">- (<span style="color: #ba00a1;">void</span>)viewDidLoad {</p>
<p style="font: normal normal normal 11px/normal Menlo; min-height: 13px; padding-left: 30px; margin: 0px;"><span style="white-space: pre;"> </span></p>
<p style="font: normal normal normal 11px/normal Menlo; padding-left: 30px; margin: 0px;"><span style="white-space: pre;"> </span><span style="color: #528187;">Math</span> tempMath;</p>
<p style="font: normal normal normal 11px/normal Menlo; min-height: 13px; padding-left: 30px; margin: 0px;"><span style="white-space: pre;"> </span></p>
<p style="font: normal normal normal 11px/normal Menlo; padding-left: 30px; margin: 0px;"><span style="white-space: pre;"> </span><span style="color: #ba00a1;">int</span> tempNum = tempMath.<span style="color: #34595d;">addNumbers</span>(<span style="color: #3e00d6;">1</span>, <span style="color: #3e00d6;">1</span>);</p>
<p style="font: normal normal normal 11px/normal Menlo; min-height: 13px; padding-left: 30px; margin: 0px;"><span style="white-space: pre;"> </span></p>
<p style="font: normal normal normal 11px/normal Menlo; padding-left: 30px; margin: 0px;"><span style="white-space: pre;"> </span><span style="color: #742da8;">NSString</span> *tempString = [[<span style="color: #742da8;">NSString</span> <span style="color: #420480;">alloc</span>] <span style="color: #420480;">initWithFormat</span>:<span style="color: #cd2324;">@&#8221;%i&#8221;</span>,  tempNum];</p>
<p style="font: normal normal normal 11px/normal Menlo; min-height: 13px; padding-left: 30px; margin: 0px;"><span style="white-space: pre;"> </span></p>
<p style="font: normal normal normal 11px/normal Menlo; min-height: 13px; padding-left: 30px; margin: 0px;"><span style="white-space: pre;"> </span></p>
<p style="font: normal normal normal 11px/normal Menlo; padding-left: 30px; margin: 0px;"><span style="white-space: pre;"> </span><span style="color: #528187;">label</span>.<span style="color: #742da8;">text</span> = tempString;</p>
<p style="font: normal normal normal 11px/normal Menlo; min-height: 13px; padding-left: 30px; margin: 0px;"><span style="white-space: pre;"> </span></p>
<p style="font: normal normal normal 11px/normal Menlo; padding-left: 30px; margin: 0px;"><span style="white-space: pre;"> </span>[tempString <span style="color: #420480;">release</span>];</p>
<p style="font: normal normal normal 11px/normal Menlo; color: #420480; padding-left: 30px; margin: 0px;"><span style="color: #000000;"> [</span><span style="color: #ba00a1;">super</span><span style="color: #000000;"> </span>viewDidLoad<span style="color: #000000;">];</span></p>
<p style="font: normal normal normal 11px/normal Menlo; padding-left: 30px; margin: 0px;">}</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo;">Lastly but not least change all your .m files to .mm files. This tells the xcode compiler to compile the code as both objective C and C++</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo;">If all goes right, you will see 2 as the label, and this information was called from a c++ class. I have also attached the project file for reference.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo;">You can find it <a href="http://brandonpate.org/wp-content/uploads/2009/10/Testing.zip">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://brandonpate.org/?feed=rss2&amp;p=34</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone app Every day.</title>
		<link>http://brandonpate.org/?p=32</link>
		<comments>http://brandonpate.org/?p=32#comments</comments>
		<pubDate>Wed, 21 Oct 2009 15:06:53 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Ramblings]]></category>

		<guid isPermaLink="false">http://brandonpate.org/?p=32</guid>
		<description><![CDATA[So some guy named Matt (who is crazy apparently) is writing an iPhone app every day, and started a blog about it:
http://appeveryday.wordpress.com/
]]></description>
			<content:encoded><![CDATA[<p>So some guy named Matt (who is crazy apparently) is writing an iPhone app every day, and started a blog about it:</p>
<p><a href="http://appeveryday.wordpress.com/">http://appeveryday.wordpress.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://brandonpate.org/?feed=rss2&amp;p=32</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>71 squared iPhone tutorials.</title>
		<link>http://brandonpate.org/?p=30</link>
		<comments>http://brandonpate.org/?p=30#comments</comments>
		<pubDate>Wed, 21 Oct 2009 14:53:09 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Refrence]]></category>

		<guid isPermaLink="false">http://brandonpate.org/?p=30</guid>
		<description><![CDATA[So these two thirty something developers have come up with a series of tutorials that are really cool. You can check them all out here:
http://www.71squared.com/iphone-tutorials/
As of this post there are 10 tutorials, and they go through the process of creating an iPhone game with the OpenGL:ES framework. While it is all fun and good to [...]]]></description>
			<content:encoded><![CDATA[<p>So these two thirty something developers have come up with a series of tutorials that are really cool. You can check them all out here:<br />
<a href="http://www.71squared.com/iphone-tutorials/">http://www.71squared.com/iphone-tutorials/</a></p>
<p>As of this post there are 10 tutorials, and they go through the process of creating an iPhone game with the OpenGL:ES framework. While it is all fun and good to use Cocos2d and so simple, there are fundamental aspects of that engine that people should understand before using it.</p>
]]></content:encoded>
			<wfw:commentRss>http://brandonpate.org/?feed=rss2&amp;p=30</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Two really cool mac OS X apps.</title>
		<link>http://brandonpate.org/?p=20</link>
		<comments>http://brandonpate.org/?p=20#comments</comments>
		<pubDate>Tue, 20 Oct 2009 17:43:31 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Refrence]]></category>

		<guid isPermaLink="false">http://brandonpate.org/?p=20</guid>
		<description><![CDATA[I have found some really cool applications that I have started using at work to make my workflow smoother. One is called fluid. Fluid is a cool little browser program. They say it is a Site Specific Browser (SSB), and what it does is wrap safari in basically a container to keep it from accessing [...]]]></description>
			<content:encoded><![CDATA[<p>I have found some really cool applications that I have started using at work to make my workflow smoother. One is called <a href="http://fluidapp.com/">fluid</a>. Fluid is a cool little browser program. They say it is a Site Specific Browser (SSB), and what it does is wrap safari in basically a container to keep it from accessing other websites. So facebook cant see that you have amazon open and make adds on the facebook page about what your looking at on amazon. HOWEVER, the cool thing that this app does is allow you to add these SSBs to your menu bar at the top of OS X.</p>
<p><img class="size-full wp-image-21" title="Fluid Menu Bar" src="http://brandonpate.org/wp-content/uploads/2009/10/Screen-shot-2009-10-20-at-1.06.23-PM.png" alt="Menu bar" width="445" height="22" /></p>
<p>That little icon on the far right side is a SSB I created that links to the reference page for the cocoa2d game engine. So rather than open a new browser and go to the page I can just click that icon and there is the documentation. Like so:</p>
<p><img class="alignnone size-medium wp-image-23" title="Fluid menu bar expanded" src="http://brandonpate.org/wp-content/uploads/2009/10/Screen-shot-2009-10-20-at-1.10.25-PM-300x155.png" alt="Fluid menu bar expanded" width="300" height="155" /></p>
<p>The other app I have started to use today is called &#8220;<a href="http://projects.tynsoe.org/en/geektool/download.php">GeekTool</a>&#8221; It allows you to run the display of any unix shell command on your desktop. This includes everything from the time, to any script you write&#8230; Anything. It also has features for the system log, and a picture from the web. <a href="http://blogof.francescomugnai.com/2009/04/mega-roundup-of-geektool-scripts-inspiration-gallery/">Frances Comugnai</a> has a really cool post on his site about what you can do with it. A def must.</p>
]]></content:encoded>
			<wfw:commentRss>http://brandonpate.org/?feed=rss2&amp;p=20</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing the name under an iPhone app</title>
		<link>http://brandonpate.org/?p=18</link>
		<comments>http://brandonpate.org/?p=18#comments</comments>
		<pubDate>Mon, 19 Oct 2009 20:31:17 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Refrence]]></category>

		<guid isPermaLink="false">http://brandonpate.org/?p=18</guid>
		<description><![CDATA[http://iPhoneIncubator.com/blog/tutorial/display-a-meaningful-name-under-your-app-icon
The guys over at iphone incubator have a post up about changing the name under your iphone app.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://iPhoneIncubator.com/blog/tutorial/display-a-meaningful-name-under-your-app-icon">http://iPhoneIncubator.com/blog/tutorial/display-a-meaningful-name-under-your-app-icon</a></p>
<p>The guys over at iphone incubator have a post up about changing the name under your iphone app.</p>
]]></content:encoded>
			<wfw:commentRss>http://brandonpate.org/?feed=rss2&amp;p=18</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQLite tutorial</title>
		<link>http://brandonpate.org/?p=15</link>
		<comments>http://brandonpate.org/?p=15#comments</comments>
		<pubDate>Mon, 19 Oct 2009 18:53:35 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Refrence]]></category>

		<guid isPermaLink="false">http://brandonpate.org/?p=15</guid>
		<description><![CDATA[There are three ways to save data on the iPhone. 1 is a text file that you save to the sandbox and read from, the other is a .plist file (same basic idea only with a special extension.. Basically an xml file). The last is SQLite, the most powerful and versatile way. This tutorial will [...]]]></description>
			<content:encoded><![CDATA[<p>There are three ways to save data on the iPhone. 1 is a text file that you save to the sandbox and read from, the other is a .plist file (same basic idea only with a special extension.. Basically an xml file). The last is SQLite, the most powerful and versatile way. This tutorial will walk you through all the ways to create a sql lite app.</p>
<p><a href="http://icodeblog.com/2008/08/19/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-1/" target="_blank">http://icodeblog.com/2008/08/19/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-1/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://brandonpate.org/?feed=rss2&amp;p=15</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating light versions of iPhone projects</title>
		<link>http://brandonpate.org/?p=12</link>
		<comments>http://brandonpate.org/?p=12#comments</comments>
		<pubDate>Tue, 13 Oct 2009 20:37:03 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Refrence]]></category>

		<guid isPermaLink="false">http://brandonpate.org/?p=12</guid>
		<description><![CDATA[So Keith Peters over at bit-101 has a cool post about creating iPhone light versions.
http://www.bit-101.com/blog/?p=2098
]]></description>
			<content:encoded><![CDATA[<p>So Keith Peters over at bit-101 has a cool post about creating iPhone light versions.</p>
<p><a href="http://www.bit-101.com/blog/?p=2098" target="_blank">http://www.bit-101.com/blog/?p=2098</a></p>
]]></content:encoded>
			<wfw:commentRss>http://brandonpate.org/?feed=rss2&amp;p=12</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Academic Earth</title>
		<link>http://brandonpate.org/?p=9</link>
		<comments>http://brandonpate.org/?p=9#comments</comments>
		<pubDate>Tue, 13 Oct 2009 18:31:07 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Refrence]]></category>

		<guid isPermaLink="false">http://brandonpate.org/?p=9</guid>
		<description><![CDATA[So I found this cool site Academic Earth. Basically they have created a site where some of the best universities around offer their basic classes in a lot of degrees for free via movies. There is someone in the class with a camera recording all the lectures. They post notes from the lectures and the slides [...]]]></description>
			<content:encoded><![CDATA[<p>So I found this cool site <a href="http://www.academicearth.com" target="_blank">Academic Earth</a>. Basically they have created a site where some of the best universities around offer their basic classes in a lot of degrees for free via movies. There is someone in the class with a camera recording all the lectures. They post notes from the lectures and the slides from that day all up for free. The computer science section was cool, a great reference.</p>
<p>From their website:</p>
<blockquote><p>Academic Earth is an organization founded with the goal of giving everyone on earth access to a world-class education.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://brandonpate.org/?feed=rss2&amp;p=9</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Whoa First post!</title>
		<link>http://brandonpate.org/?p=3</link>
		<comments>http://brandonpate.org/?p=3#comments</comments>
		<pubDate>Tue, 13 Oct 2009 15:38:26 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[Ramblings]]></category>

		<guid isPermaLink="false">http://brandonpate.org/?p=3</guid>
		<description><![CDATA[Lets be honest here, if you are looking at this you either know me or are me&#8230; I doubt this site is going to become huge in any way shape or form, however if someone should randomly find their way through the internet towards my site i&#8217;ll let you know what&#8217;s going on. This site [...]]]></description>
			<content:encoded><![CDATA[<p>Lets be honest here, if you are looking at this you either know me or are me&#8230; I doubt this site is going to become huge in any way shape or form, however if someone should randomly find their way through the internet towards my site i&#8217;ll let you know what&#8217;s going on. This site is basically a reference for me to remember the development tools I have found across the net for iPhone and Flash. So, hopefully if someone needs help with the same thing I can point them here. But mostly its for me, yes I&#8217;m selfish..</p>
]]></content:encoded>
			<wfw:commentRss>http://brandonpate.org/?feed=rss2&amp;p=3</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
