<?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"
	>

<channel>
	<title>Siavash Ghamaty</title>
	<atom:link href="http://ghamaty.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ghamaty.com</link>
	<description>Cocoa and Flex Developer's Blog</description>
	<pubDate>Thu, 08 Oct 2009 02:13:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>A Flash &#8220;Gordon&#8221; Tracer for the Mac, v0.2</title>
		<link>http://ghamaty.com/2009/10/07/a-flash-gordon-tracer-for-the-mac-v02/</link>
		<comments>http://ghamaty.com/2009/10/07/a-flash-gordon-tracer-for-the-mac-v02/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 02:13:03 +0000</pubDate>
		<dc:creator>Siavash</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Actionscript]]></category>

		<category><![CDATA[Adobe Flex Framework]]></category>

		<category><![CDATA[Apple]]></category>

		<category><![CDATA[Cocoa]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://ghamaty.com/?p=252</guid>
		<description><![CDATA[Debugging issues in Flash can be tricky. Especially if you are not using the Flex Compiler. If getting to your flash log is not an option then Gordon is your choice. I decided to create a flash tracer for the Mac. It is in its infancy but should do the job. I&#8217;ll have a dedicated [...]]]></description>
			<content:encoded><![CDATA[<p>Debugging issues in Flash can be tricky. Especially if you are not using the Flex Compiler. If getting to your flash log is not an option then Gordon is your choice. I decided to create a flash tracer for the Mac. It is in its infancy but should do the job. I&#8217;ll have a dedicated page shortly, for now you can download it <a href="http://gordon.ghamaty.com/download/v0.2/Gordon.zip">here</a>. It is written in Cocoa and is supported on both Snow Leopord and Leopard. Eventually I will probably open source this.</p>
<p>Here are some features:</p>
<ul>
<li>Filter</li>
<li>Growl Support</li>
<li>Status Item Visibility</li>
</ul>
<p>There are many known issues with this build involving performance and various UI options. Please forward/email any issues or requests to <a href="mailto:siavash@ghamaty.com">myself</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ghamaty.com/2009/10/07/a-flash-gordon-tracer-for-the-mac-v02/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pulling your Bundles Version Number into your App</title>
		<link>http://ghamaty.com/2009/02/06/pulling-your-bundles-version-number-into-your-app/</link>
		<comments>http://ghamaty.com/2009/02/06/pulling-your-bundles-version-number-into-your-app/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 15:30:25 +0000</pubDate>
		<dc:creator>Siavash</dc:creator>
		
		<category><![CDATA[Cocoa]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[Iphone]]></category>

		<category><![CDATA[Versioning]]></category>

		<guid isPermaLink="false">http://ghamaty.com/?p=217</guid>
		<description><![CDATA[Applications on the iPhone and App Store have forced developers to pay more attention to there Version Number. App Store pays attention to this in Itunes Connect and the Bundle Version Number in Info.plist when you upload your application for approval. I noticed that developers store their own variables and manually update product versions. I [...]]]></description>
			<content:encoded><![CDATA[<p>Applications on the iPhone and App Store have forced developers to pay more attention to there Version Number. App Store pays attention to this in Itunes Connect and the Bundle Version Number in Info.plist when you upload your application for approval. I noticed that developers store their own variables and manually update product versions. I too had fallen for this in one of my applications but decided to figure out a stronger method in pulling this data instead of a manual one. I have found the below to solve this issue:</p>
<pre>NSString *versionNumber = CFBundleGetValueForInfoDictionaryKey(CFBundleGetMainBundle(),
                                                  kCFBundleVersionKey);</pre>
<p>No more manual version number mistakes!</p>
]]></content:encoded>
			<wfw:commentRss>http://ghamaty.com/2009/02/06/pulling-your-bundles-version-number-into-your-app/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Multiple iPhone Developer Certificates on One Computer</title>
		<link>http://ghamaty.com/2009/01/27/multiple-iphone-developer-certificates-on-one-computer/</link>
		<comments>http://ghamaty.com/2009/01/27/multiple-iphone-developer-certificates-on-one-computer/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 15:47:06 +0000</pubDate>
		<dc:creator>Siavash</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Iphone]]></category>

		<category><![CDATA[iPhone Certificates]]></category>

		<guid isPermaLink="false">http://ghamaty.com/?p=209</guid>
		<description><![CDATA[Recently I ran into a problem where I joined another team in the iPhone Dev Center. Upon joining the team, I decided to install my Development Certificate for this team. Unknowingly I just broke my whole iPhone development environment. Apparently xcode doesn&#8217;t like signing applications with an ambiguous certificate. Frankly, who would blame them? In [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ghamaty.com/wp-content/uploads/2009/01/picture-1.png"><img class="size-medium wp-image-212 alignleft" title="iPhone Developer Certificate" src="http://ghamaty.com/wp-content/uploads/2009/01/picture-1.png" alt="" width="218" height="167" /></a>Recently I ran into a problem where I joined another team in the iPhone Dev Center. Upon joining the team, I decided to install my Development Certificate for this team. Unknowingly I just broke my whole iPhone development environment. Apparently xcode doesn&#8217;t like signing applications with an ambiguous certificate. Frankly, who would blame them? In my case I had two certificates with iPhone Developer: Siavash Ghamaty.</p>
<p>Hitting up Google I found that there wasn&#8217;t many users like me and that this was a rare case. I did come across a couple people that did have the same issue. Since xcode looks at your certificates on your computer with iPhone Developer: First Last, you shouldn&#8217;t have the same certificate on the same login. Create yourself a new account on your mac and create your iPhone Developer certificate there. You will have to login to that account to develop for one team then another for the next. Make sure to follow the correct steps in the Program Portal on creating a developer certificate.</p>
<p>This method could potentially be a hassle. Another fix from another user that has not been tested yet is to create a new keychain. Make sure the keychain is not set to default. Point your project implicitly to that certificate instead of the other. Unfortunately I haven&#8217;t test this and for those that have or have an article to pass, feel free to comment.</p>
<p>Lastly, another potential fix&#8230; don&#8217;t install another development certificate on your computer! If your working with another team, just use your development certificate that is already installed to build. It won&#8217;t hurt anyone and causes less heartache. Figure a way to install two certificates on one mac if you absolutely have to.</p>
]]></content:encoded>
			<wfw:commentRss>http://ghamaty.com/2009/01/27/multiple-iphone-developer-certificates-on-one-computer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Environmentally Friendly Recycler 1.0 launches in App Store</title>
		<link>http://ghamaty.com/2008/10/20/environmentally-friendly-recycler-10-launches-in-app-store/</link>
		<comments>http://ghamaty.com/2008/10/20/environmentally-friendly-recycler-10-launches-in-app-store/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 17:23:23 +0000</pubDate>
		<dc:creator>Siavash</dc:creator>
		
		<category><![CDATA[Cocoa]]></category>

		<category><![CDATA[Iphone]]></category>

		<category><![CDATA[App Store]]></category>

		<category><![CDATA[Recycler]]></category>

		<guid isPermaLink="false">http://ghamaty.com/?p=200</guid>
		<description><![CDATA[
Recycler has launches in the App store this weekend. It is the first environmentally friendly iPhone application helping you keep track of what plastic recyclables are allowed in your local pickup. Plastic recycling doesn&#8217;t need to be a headache anymore. The UI in the application is nice on the eyes. Custom buttons were also created [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ghamaty.com/wp-content/uploads/2008/10/largelogo.jpg"><img class="alignright size-medium wp-image-182" title="largelogo" src="http://ghamaty.com/wp-content/uploads/2008/10/largelogo-300x300.jpg" alt="" width="210" height="210" /></a></p>
<p>Recycler has launches in the App store this weekend. It is the first environmentally friendly iPhone application helping you keep track of what plastic recyclables are allowed in your local pickup. Plastic recycling doesn&#8217;t need to be a headache anymore. The UI in the application is nice on the eyes. Custom buttons were also created in order to distinguish this application over others. Check it out and let me know what you think.</p>
<p>Here is the <a href="http://ghamaty.com/applications/recycler/">official page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ghamaty.com/2008/10/20/environmentally-friendly-recycler-10-launches-in-app-store/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CocoaHeads San Diego</title>
		<link>http://ghamaty.com/2008/10/17/cocoaheads-san-diego/</link>
		<comments>http://ghamaty.com/2008/10/17/cocoaheads-san-diego/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 07:47:00 +0000</pubDate>
		<dc:creator>Siavash</dc:creator>
		
		<category><![CDATA[Cocoa]]></category>

		<category><![CDATA[Apple Development]]></category>

		<category><![CDATA[CocoaHeads]]></category>

		<category><![CDATA[Growl]]></category>

		<category><![CDATA[NotifyMe]]></category>

		<guid isPermaLink="false">http://ghamaty.com/?p=194</guid>
		<description><![CDATA[
The next CocoaHeads San Diego chapter will be meeting at Gelato Vero October 23rd, 2008. I&#8217;m excited about heading the group in San Diego and looking forward to future talks about Mac and iPhone development. The October 23rd CocoaHeads San Diego will be discussing advantages of using Growl and integrating them into your Mac applications. [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_193" class="wp-caption alignleft" style="width: 160px"><a href="http://ghamaty.com/wp-content/uploads/2008/10/picture-4.png"><img class="size-thumbnail wp-image-193" title="RemindMe.app" src="http://ghamaty.com/wp-content/uploads/2008/10/picture-4-150x150.png" alt="RemindMe.app, example for CocoaHeads talk" width="150" height="150" /></a><p class="wp-caption-text">RemindMe.app, example for CocoaHeads talk</p></div>
<p>The next CocoaHeads San Diego chapter will be meeting at Gelato Vero October 23rd, 2008. I&#8217;m excited about heading the group in San Diego and looking forward to future talks about Mac and iPhone development. The October 23rd CocoaHeads San Diego will be discussing advantages of using Growl and integrating them into your Mac applications. I created some source code to bring to the talk and discuss. It can be found <a href="http://code.google.com/p/remindme-cocoa-growl/">here</a>.</p>
<p>I feel the San Diego development community is pretty small at this point and the meetings will be pretty casual. As I have promised, there will be cup cakes. It will start at 7pm so you should tell your friends and stop by for a bit. You can download and play around with the sample code before coming. We will be meeting on the second floor of the cafe. Again this is open to beginners as well, so come by for some gelato or coffee. Gelato Vero is located at 3753 India St, San Diego, CA 92103. There is free wifi.</p>
<p>As far as future CocoaHeads goes, we will be addressing the iPhone SDK in more in depth as well now that the NDA has been lifted. The October 23rd meeting is also open to Growl discussion.</p>
]]></content:encoded>
			<wfw:commentRss>http://ghamaty.com/2008/10/17/cocoaheads-san-diego/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Brick Escape updates</title>
		<link>http://ghamaty.com/2008/10/11/brick-escape-updates/</link>
		<comments>http://ghamaty.com/2008/10/11/brick-escape-updates/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 03:29:57 +0000</pubDate>
		<dc:creator>Siavash</dc:creator>
		
		<category><![CDATA[Iphone]]></category>

		<category><![CDATA[Brick Escape]]></category>

		<guid isPermaLink="false">http://ghamaty.com/?p=171</guid>
		<description><![CDATA[Since the last blog post regarding Brick Escape, two versions have been updated in the iPhone App Store. Currently it is at 1.0.3. The two main features that have been added are sound and ability to warp to any level that you have beaten. Both requests have been made by users of the game. I [...]]]></description>
			<content:encoded><![CDATA[<p>Since the last blog post regarding Brick Escape, two versions have been updated in the iPhone App Store. Currently it is at 1.0.3. The two main features that have been added are sound and ability to warp to any level that you have beaten. Both requests have been made by users of the game. I was toying with the idea of actually making a sound track for Brick Escape but in the end stayed with just sound effects.</p>
<p>Thank you for all your support and great ideas, keep them coming.</p>
]]></content:encoded>
			<wfw:commentRss>http://ghamaty.com/2008/10/11/brick-escape-updates/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Interview with AppCraver</title>
		<link>http://ghamaty.com/2008/10/03/interview-with-appcraver/</link>
		<comments>http://ghamaty.com/2008/10/03/interview-with-appcraver/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 18:16:29 +0000</pubDate>
		<dc:creator>Siavash</dc:creator>
		
		<category><![CDATA[Cocoa]]></category>

		<category><![CDATA[Iphone]]></category>

		<category><![CDATA[Brick Escape]]></category>

		<guid isPermaLink="false">http://ghamaty.com/?p=166</guid>
		<description><![CDATA[I just recently did an interview with AppCraver.com regarding my experience in developing Brick Escape. I know I couldn&#8217;t really talk much about exact facts due to the pre iPhone NDA lift, but it was good experience either way.
You can check it out here.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://ghamaty.com/wp-content/uploads/2008/10/interview-brickescape.jpg"><img class="alignright size-medium wp-image-167" title="interview-brickescape" src="http://ghamaty.com/wp-content/uploads/2008/10/interview-brickescape.jpg" alt="" width="200" height="200" /></a>I just recently did an interview with AppCraver.com regarding my experience in developing Brick Escape. I know I couldn&#8217;t really talk much about exact facts due to the pre iPhone NDA lift, but it was good experience either way.</p>
<p>You can check it out <a href="http://www.appcraver.com/interview-siavash-ghamaty-brick/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ghamaty.com/2008/10/03/interview-with-appcraver/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Another Apple Product Out of Beta, iPhone 2.1</title>
		<link>http://ghamaty.com/2008/09/16/another-apple-product-out-of-beta-iphone-21/</link>
		<comments>http://ghamaty.com/2008/09/16/another-apple-product-out-of-beta-iphone-21/#comments</comments>
		<pubDate>Wed, 17 Sep 2008 04:45:33 +0000</pubDate>
		<dc:creator>Siavash</dc:creator>
		
		<category><![CDATA[Iphone]]></category>

		<guid isPermaLink="false">http://ghamaty.com/?p=150</guid>
		<description><![CDATA[ The iPhone 2.1 firmware upgrade is a must download for all users. There is a nice summary of added features which can be found here. I&#8217;m not going to go through each, you can see for yourself. My favorite being the contact search fix.
Playing around with version 2.1 firmware, most of the nice touches [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ghamaty.com/wp-content/uploads/2008/09/picture-2.png"><img class="alignleft size-medium wp-image-151" title="iPhone 2.1 Firmware" src="http://ghamaty.com/wp-content/uploads/2008/09/picture-2-268x300.png" alt="" width="268" height="300" /></a> The iPhone 2.1 firmware upgrade is a must download for all users. There is a nice summary of added features which can be found <a href="http://forums.macrumors.com/showthread.php?t=561840">here</a>. I&#8217;m not going to go through each, you can see for yourself. My favorite being the contact search fix.</p>
<p>Playing around with version 2.1 firmware, most of the nice touches and performance issues have been cleared away. Slow contact search, crashing apps, text message keyboard lag, and many other annoying elements that made the touch experience not a pleasant one. When things lag, it feels like your rubbing on a piece of glass and not a touch device. Although things are not perfect at the moment, they have definitely increased speed significantly and added some nice UI features. Although this feels like this should have been the original 2.0 upgrade.</p>
<p>We have had the iPhone 2.0 for 3 months as beta testers. Sound familiar? This is an Apple trend. Apple&#8217;s software always has lagged behind their hardware. I think Apple has done a great job of meeting deadlines with SDK and iPhone 2.0 firmware, but they did bring out a buggy and slow product. Lets see what happens in the future with other releases and how beta they are. At some point it will be expected of Apple products and people just won&#8217;t by them at initial launch. Will that be likely? Probably not, if you thought the lines were bad last 3g release, expect worse in the next version.</p>
]]></content:encoded>
			<wfw:commentRss>http://ghamaty.com/2008/09/16/another-apple-product-out-of-beta-iphone-21/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Brick Escape has made it to 1.0.1</title>
		<link>http://ghamaty.com/2008/09/15/brick-escape-has-made-it-to-101/</link>
		<comments>http://ghamaty.com/2008/09/15/brick-escape-has-made-it-to-101/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 16:43:06 +0000</pubDate>
		<dc:creator>Siavash</dc:creator>
		
		<category><![CDATA[Iphone]]></category>

		<category><![CDATA[App Store]]></category>

		<category><![CDATA[Brick Escape]]></category>

		<guid isPermaLink="false">http://ghamaty.com/?p=145</guid>
		<description><![CDATA[Brick Escape and Brick Escape Lite has made it to 1.0.1. Included in this feature are new graphics created by Jordan Rounds and optimized performance. Go to the dedicated page to download.
Also check out the nice review and video from ismashphone&#8230; ISmashPhone Review.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://ghamaty.com/wp-content/uploads/2008/09/bricknew.jpg"><img class="alignright size-thumbnail wp-image-146" title="Brick Escape with new graphics" src="http://ghamaty.com/wp-content/uploads/2008/09/bricknew-150x150.jpg" alt="" width="150" height="150" /></a>Brick Escape and Brick Escape Lite has made it to 1.0.1. Included in this feature are new graphics created by <a href="http://www.jordanrounds.com">Jordan Rounds</a> and optimized performance. Go to the <a href="http://ghamaty.com/applications/brick-escape/">dedicated page to download</a>.</p>
<p>Also check out the nice review and video from ismashphone&#8230; <a href="http://www.ismashphone.com/2008/09/brick-escape-li.html">ISmashPhone Review</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ghamaty.com/2008/09/15/brick-escape-has-made-it-to-101/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Good Tips When Using Cairngorm in Flex Applications</title>
		<link>http://ghamaty.com/2008/09/05/tips-on-building-flex-applications-using-cairngorm/</link>
		<comments>http://ghamaty.com/2008/09/05/tips-on-building-flex-applications-using-cairngorm/#comments</comments>
		<pubDate>Sat, 06 Sep 2008 02:22:40 +0000</pubDate>
		<dc:creator>Siavash</dc:creator>
		
		<category><![CDATA[Adobe Flex Framework]]></category>

		<category><![CDATA[Cairngorm]]></category>

		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://ghamaty.com/?p=118</guid>
		<description><![CDATA[Cairngorm is a useful micro architecture for Flex. Its a basic framework on building applications. Many of you have adopted Cairngorm and given it a try in your apps. Here are some useful tips that could help aid in your development.]]></description>
			<content:encoded><![CDATA[<p><a href="http://ghamaty.com/wp-content/uploads/2008/09/fx.png"><img class="size-thumbnail wp-image-128 alignleft" title="fx" src="http://ghamaty.com/wp-content/uploads/2008/09/fx-150x150.png" alt="" width="150" height="150" /></a> Cairngorm is a useful micro architecture for Flex. Its a basic framework on building applications. Many of you have adopted Cairngorm and given it a try in your apps. Here are some useful tips that could help aid in your development.</p>
<h3>Constants</h3>
<p>Create a constants folder in your apps package contents under com.companyname.applicationname.constants. This folder will hold all your constants in your application. This doesn&#8217;t include any event constants, keep those in your event classes. We are talking about your media library, application states, and so forth. This is also a good spot to insert any other specific states you want to implement in your application as well.</p>
<h3>Don&#8217;t Be Shy About Building Commands</h3>
<p>Create as many commands as you see fit. Sometimes building a Cairngorm based application, it feels like putting a engine together but you are missing parts. Create commands for the simplest of operations and give good names. For instance, if you want to run a &#8217;save&#8217; function, it would be good practice to have these commands, InitializeSaveDocumentCommand, DoSaveDocumentCommand, and IsFinishedSaveDocumentCommand. We could event branch these out further if need be. It might seem overkill but in the end, in a large application, this could come handy. Its nice to call events in the similar fashion where the event calling those commands would be called SaveDocumentEvent.</p>
<h3>Command Organization</h3>
<p>There will be many a commands created in a standard Cairngorm application. Twenty to thirty is common, but some could reach over 100 and beyond. The com.companyname.applicationname.commands folder can become a monster. A good way to manage this is to sub folder into Events that drive them. That way your SaveDocument commands would end up in com.companyname.applicationname.commands.savedocument.* .</p>
<h3>Data Transfer Objects</h3>
<p>I like to use the term DTO( data transfer objects ) more than value objects. Therefore I like to rename my vo folder to dto. Create and extend many of these objects as they will help you code complete in Flex Builder and overall get organized.</p>
<h3>Other Hints</h3>
<p>Use short cuts where you can. Here is a few that I can&#8217;t live without:</p>
<ul>
<li>ctrl-space - use this for code complete, a must. This is particularly useful when getting your model locator or long command names.</li>
<li>(apple or ctrl)-mouse click - this will being you to the source code of the class you clicked on in the Flex Builder IDE. Unfortunately this doe not work for compiled code</li>
<li>shift-(apple or ctrl)-c - this will comment any code that you have hi-lighted</li>
</ul>
<p>Happy coding Flex developers.</p>
<h3>Links in this article</h3>
<p><a href="http://opensource.adobe.com/wiki/display/cairngorm/Cairngorm">Cairngorm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ghamaty.com/2008/09/05/tips-on-building-flex-applications-using-cairngorm/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
<noscript><a href="http://www.madkontor.com" title="kontor, kont&#246;r, kont&#246;r y&#252;kle, turkcell kont&#246;r, avea kont&#246;r, vodafone kont&#246;r, online kont&#246;r, online kontor, haz&#305;r kont&#246;r, par&#231;a kont&#246;r, "target="_blank">kontor</a></noscript>