<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Squarespace Site Server v5.11.81 (http://www.squarespace.com/) on Thu, 23 Feb 2012 19:30:38 GMT--><feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><title>Collin Donnell's Blog</title><subtitle>Blog</subtitle><id>http://collindonnell.com/blog/</id><link rel="alternate" type="application/xhtml+xml" href="http://collindonnell.com/blog/"/><link rel="self" type="application/atom+xml" href="http://collindonnell.com/blog/atom.xml"/><updated>2012-02-23T11:02:23Z</updated><generator uri="http://www.squarespace.com/" version="Squarespace Site Server v5.11.81 (http://www.squarespace.com/)">Squarespace</generator><entry><title>Xcode Build Script for Automatically Updating CFBundleVersion</title><category term="Development"/><category term="Git"/><category term="Python"/><category term="Xcode"/><id>http://collindonnell.com/blog/2012/2/19/xcode-build-script-for-automatically-updating-cfbundleversio.html</id><link rel="alternate" type="text/html" href="http://collindonnell.com/blog/2012/2/19/xcode-build-script-for-automatically-updating-cfbundleversio.html"/><author><name>Collin Donnell</name></author><published>2012-02-20T02:46:28Z</published><updated>2012-02-20T02:46:28Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>Since Git doesn&#8217;t create numeric build numbers, I haven&#8217;t known exactly what to do with my app&#8217;s bundle version (<code>CFBundleVersion</code>) since switching to it. According to Apple <code>CFBundleVersion</code> needs to be “a monotonically increased string, comprised of one or more period-separated integers.” My previous (bad) solution was to sort of ignore this and just update when I release a new version. Now that I&#8217;ve started using <a href="http://hockeyapp.net">Hockey</a> for beta relases, it requires a unique number for every build, so I need to start paying more attention to it. It&#8217;s for the best since it&#8217;s better to give this number some significance.</p>

<p>I didn&#8217;t want to have to update this manually every time I send a beta build, so I started looking for an Xcode build script that could generate something like this for my ad hoc and App Store builds. Since I didn&#8217;t really like any of the code I saw, I decided to write my own using Python, and while I was at it set it to also commit and tag the build in Git.</p>

<p>You can add this as a “Run Script” build phase in Xcode (make sure you set the shell to <code>/usr/bin/python</code>). The only line you should need to update is <code>configurations_list = ['Beta', 'App Store']</code> to be the names of the configurations you want this to run under. You&#8217;ll also need to set your CFBundleVersion to a start point that&#8217;s a whole number (0 for example). If you want this to work with a different SCM, just update the <code>os.system</code> lines to run the right commands for your system (or take them out all together if you don&#8217;t want that feature at all). For a configuration called App Store, I have the commit message set to be “Automated Commit For Build 25. Configuration: App Store.&#8221;, and the tag to be  &#8220;AppStore_25&#8221;. You can change that if you like.</p>

<p>Of course, I take no responsibility if anything bad happens to your project, but it seems to be working great for mine.</p>

<p><em>Update: There&#8217;s a bug where this will cause simulator builds to fail if you don&#8217;t set your “Mac OS X Deployment Target” to 10.7 in your build settings.</em></p>

<script src="https://gist.github.com/1867148.js?file=ALBUpdateBundleVersion.py"></script>
]]></content></entry><entry><title>Christa on Designing Piezo</title><category term="Design"/><id>http://collindonnell.com/blog/2012/2/16/christa-mrgan-on-designing-piezo.html</id><link rel="alternate" type="text/html" href="http://collindonnell.com/blog/2012/2/16/christa-mrgan-on-designing-piezo.html"/><author><name>Collin Donnell</name></author><published>2012-02-16T00:14:17Z</published><updated>2012-02-16T00:14:17Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p><a href="http://rogueamoeba.com/utm/2012/02/15/the-evolution-of-piezo/">This post</a> by <a href="http://twitter.com/antichrista">Christa Mrgan</a> on the evolution of <a href="http://rogueamoeba.com/piezo/">Rogue Amoeba's Piezo</a> is awesome. Also love that it started life out as “Simple Audio Hijack”.</p>
]]></content></entry><entry><title>MacDrifter on Switching to BBEdit</title><category term="Tech"/><id>http://collindonnell.com/blog/2012/1/30/macdrifter-on-switching-to-bbedit.html</id><link rel="alternate" type="text/html" href="http://collindonnell.com/blog/2012/1/30/macdrifter-on-switching-to-bbedit.html"/><author><name>Collin Donnell</name></author><published>2012-01-30T01:26:28Z</published><updated>2012-01-30T01:26:28Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p><a href="http://www.macdrifter.com/2012/01/moving-text-editors-taking-bbedit-seriously/">MacDrifter</a>:</p>

<blockquote>
  <p>It was worth the investment. I don’t mean just monetarily. I invested many hours into BBEdit and I’m sure there are many more to come. But it was worth it. I have an environment that I feel productive in.</p>
</blockquote>

<p>It's been my default editor for a couple of months now, and I thought this was a really good in-depth post about the pros and cons of BBEdit.</p>
]]></content></entry><entry><title>Still Using Siri</title><id>http://collindonnell.com/blog/2012/1/28/still-using-siri.html</id><link rel="alternate" type="text/html" href="http://collindonnell.com/blog/2012/1/28/still-using-siri.html"/><author><name>Collin Donnell</name></author><published>2012-01-28T04:47:29Z</published><updated>2012-01-28T04:47:29Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p><a href="http://www.marco.org/2012/01/27/is-it-time-to-say-goodbye-to-siri">Marco Arment</a> responding to <a href="http://thenextweb.com/apple/2012/01/27/is-it-time-to-say-goodbye-to-siri/">Boris at The Next Web</a> on Siri</p>

<blockquote>
  <p>But I still use Siri. My wife still uses Siri. Last night at dinner, my friend used Siri. I don’t think Boris and his friends are a representative sample.</p>
</blockquote>

<p>Count me in as well. I use Siri all the time for setting timers, sending text messages and looking things up. A lot of times it's just faster for me to talk than type. I've also seen nowhere near the 50% failure rate Marco reported. If I did, I'd probably use it a lot less. </p>
]]></content></entry><entry><title>Thunderbolt Audio Interfaces From Apogee and Universal Audio</title><category term="Apple"/><id>http://collindonnell.com/blog/2012/1/19/thunderbolt-audio-interfaces-from-apogee-and-universal-audio.html</id><link rel="alternate" type="text/html" href="http://collindonnell.com/blog/2012/1/19/thunderbolt-audio-interfaces-from-apogee-and-universal-audio.html"/><author><name>Collin Donnell</name></author><published>2012-01-20T01:44:27Z</published><updated>2012-01-20T01:44:27Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p><a href="http://www.apogeedigital.com/products/namm-2012.php?utm_source=loopinsight.com&amp;utm_medium=referral&amp;utm_campaign=Feed%3A+loopinsight%2FKqJb+%28The+Loop%29">Apogee Symphony 64 Thunderbolt</a>:</p>

<blockquote>
  <p>The latest addition to the Symphony I/O module line-up, the 16x16 Analog I/O Module allows you to pack 32 channels of premium Apogee conversion into one Symphony I/O (two module spaces per chassis). No other audio interface delivers this much quality input and output or value in a single 2U rack space interface.</p>
</blockquote>

<p><a href="http://apogeedigital.com">Apogee</a> is well known in audio recording, so this is really exciting if you&#8217;re into that. <a href="http://uaudio.com">Universal Audio</a> also announced a new Thunderbolt audio interface called <a href="http://www.uaudio.com/apollo">Apollo</a> that looks awesome for project studios. Even if you have no interest in high-end audio gear, if you&#8217;re a Mac user, it&#8217;s exciting to see device makers of this caliber start using Thunderbolt.</p>

<p>(via <a href="http://loopinsight.com">The Loop</a>)</p>
]]></content></entry><entry><title>xScope 3</title><category term="Apps"/><category term="Design"/><category term="Development"/><id>http://collindonnell.com/blog/2012/1/19/xscope-3-1.html</id><link rel="alternate" type="text/html" href="http://collindonnell.com/blog/2012/1/19/xscope-3-1.html"/><author><name>Collin Donnell</name></author><published>2012-01-20T01:16:52Z</published><updated>2012-01-20T01:16:52Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>I&#8217;ve used <a href="http://xscopeapp.com/">xScope</a> whenever I&#8217;ve done user interface work for the past couple of years, and it&#8217;s indispensable. My favorite new part of <a href="http://xscopeapp.com/">xScope 3</a> is that it shows more of the info I want for iOS and Mac development (colors especially), without any conversion. The new iOS-centric templates in the Screens view look really useful also. If buy now you can get <a href="http://itunes.apple.com/us/app/xscope/id447661441?mt=12">xScope on the Mac App Store</a> for only $19.99.</p>
]]></content></entry><entry><title>Slender for Mac and iOS Developers</title><category term="Apps"/><id>http://collindonnell.com/blog/2012/1/16/slender-for-mac-and-ios-developers.html</id><link rel="alternate" type="text/html" href="http://collindonnell.com/blog/2012/1/16/slender-for-mac-and-ios-developers.html"/><author><name>Collin Donnell</name></author><published>2012-01-17T00:37:17Z</published><updated>2012-01-17T00:37:17Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>My friend <a href="http://twitter.com/kylerichter">Kyle Richter</a> has released his new app, <a href="http://itunes.apple.com/us/app/slender/id493656257?ls=1&amp;mt=12">Slender</a>. It&#8217;s a simple and attractive way for iOS and Mac developers to figure out things like which images in your app are unused, or are missing their 1x or 2x sized counterpart. It&#8217;s only $4.99 on the Mac App Store, and I can already tell I&#8217;m going to use it on every app I write in the future.</p>
<p>Related: Slender on the Mac App Store (http://itunes.apple.com/us/app/slender/id493656257?ls=1&amp;mt=12)<br/>Related: Slender (http://betterelevation.com/2012/01/16/slender/) by Dave Wiskus</p>]]></content></entry><entry><title>360|MacDev 2012</title><category term="Apple"/><category term="Speaking"/><id>http://collindonnell.com/blog/2012/1/14/360macdev-2012.html</id><link rel="alternate" type="text/html" href="http://collindonnell.com/blog/2012/1/14/360macdev-2012.html"/><author><name>Collin Donnell</name></author><published>2012-01-15T01:31:32Z</published><updated>2012-01-15T01:31:32Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p><a href="http://360macdev.com">360|MacDev</a> is in a few weeks, and if you write — or want to write — Mac software, you should be going. You may be more familiar with John’s other conference, <a href="http://360idev.com">360iDev</a>. These conferences are at the top of a short list of ones I never miss. John and Nicole work hard to get <a href="http://www.360macdev.com/speakers/">great speakers</a>, make sure everything goes smoothly and create an amazing environment. I’m pretty sure they’re they’re the hardest working people in the conference business.</p>

<p>I’ll be giving a talk on making apps work better and be faster by using Core Data, GCD and using good app design. I’m also looking forward to the <a href="http://www.360macdev.com/schedule/">other talks</a>: <a href="http://inessential.com">Brent Simmons</a> is going to teach the secrets of creating successful Mac apps, <a href="http://betterelevation.com">Dave Wiskus</a> will bring us inside the brain of a good designer, <a href="http://dragonforgedsw.com">Kyle Richter</a> will get all of the iOS developers up to speed and <a href="http://appsterdam.com">Mike Lee</a> will once again do something amazing that I can never predict until it happens.</p>

<p>So join us in beautiful Denver Colorado, February 3rd &amp; 4th — it’s a crazy amount of content for only $300. <a href="http://360macdev.eventbrite.com/?ref=ebtn">Register now</a> if you haven’t already.</p>
<p>Related: 360|MacDev Web Site (http://360macdev.com)</p>]]></content></entry><entry><title>Why Brent is Trying Bing</title><category term="Opinion"/><category term="Tech"/><id>http://collindonnell.com/blog/2012/1/13/why-brent-is-trying-bing.html</id><link rel="alternate" type="text/html" href="http://collindonnell.com/blog/2012/1/13/why-brent-is-trying-bing.html"/><author><name>Collin Donnell</name></author><published>2012-01-13T19:32:40Z</published><updated>2012-01-13T19:32:40Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>It wasn&#8217;t the crap, it was <a href="http://inessential.com/2012/01/12/the_clutter_didnt_kill_the_love">losing trust</a>:</p>

<blockquote>
  <p>Running a search at Google was starting to feel like walking through a minefield. I’ve trained myself to be careful where I click, because I might step on a +1 explosive or get blown to bits by surprise double-chevrons.</p>
  
  <p>But I still used Google search, because I trusted the search. Now I don’t.</p>
</blockquote>

<p>For any company, users trust is a hard thing to gain, and once lost nearly impossible to get back. I think if you&#8217;re a company who has it, you should do everything you can to keep it, and never assume your users have nowhere <a href="http://bing.com">else</a> to go.</p>
<p>Source: The Clutter Didn&#39;t Kill the Love (http://inessential.com/2012/01/12/the_clutter_didnt_kill_the_love) by Brent Simmons<br/>Related: Real-Life Examples Of How Google’s “Search Plus” Pushes Google+ Over Relevancy (http://searchengineland.com/examples-google-search-plus-drive-facebook-twitter-crazy-107554)</p>]]></content></entry><entry><title>Five Years Ago in San Francisco</title><category term="Apple"/><category term="Tech"/><id>http://collindonnell.com/blog/2012/1/10/five-years-ago-in-san-francisco.html</id><link rel="alternate" type="text/html" href="http://collindonnell.com/blog/2012/1/10/five-years-ago-in-san-francisco.html"/><author><name>Collin Donnell</name></author><published>2012-01-10T05:42:54Z</published><updated>2012-01-10T05:42:54Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>Five years ago today, Apple <a href="http://www.youtube.com/watch?v=ftf4riVJyqw">announced</a> the iPhone. I was living with my girlfriend at the time in Sacramento, and I was home from work before her. When she walked in, I already had the video ready on the Mac Mini I'd just bought her for Christmas.</p>

<p>I remember exactly what I said when she walked in the door:</p>

<p><em>"Do you want to see the most amazing fucking thing you've ever seen in your life?"</em></p>
]]></content></entry></feed>
