<?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>toxicsoftware.com &#187; iphone development</title>
	<atom:link href="http://toxicsoftware.com/tag/iphone-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://toxicsoftware.com</link>
	<description>RANDOMIZE USR 0</description>
	<lastBuildDate>Sun, 01 Aug 2010 17:49:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>I name that UIColor in three!</title>
		<link>http://toxicsoftware.com/uicolor-instrument/</link>
		<comments>http://toxicsoftware.com/uicolor-instrument/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 20:41:32 +0000</pubDate>
		<dc:creator>schwa</dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Instruments]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iphone development]]></category>
		<category><![CDATA[iPhoneOS]]></category>
		<category><![CDATA[UIColor]]></category>

		<guid isPermaLink="false">http://toxicsoftware.com/?p=483</guid>
		<description><![CDATA[You&#8217;re working on a custom iPhoneOS view and you want it to use colours from the standard iPhone OS colour palette. Your first impulse is to check the defined colours in UIInterface.h &#8211; but there are only a grand total &#8230; <a href="http://toxicsoftware.com/uicolor-instrument/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>You&#8217;re working on a custom iPhoneOS view and you want it to use colours from the standard iPhone OS colour palette. Your first impulse is to check the defined colours in UIInterface.h &#8211; but there are only a grand total of five colours defined in that header. Your next and probably last impulse is to break out the colour picker and use the eye-dropper tool to sample the exact RGB value from the screen itself.</p>

<p>There are two problems with using an eye-dropper tool. The first problem is that by sampling the on screen pixel value you can only get the composited red, green, blue values; you cannot get the alpha value at all. If the original colour had an alpha value then the final colour you might get will not much the original colour at all. The second problem is that you can&#8217;t easily be sure that a colour you sample directly off the screen uses the same colour profile as the original.</p>

<p>I decided instead to use Intruments to probe the application and find out exactly what RGBA colour was being used by UIKit. I modified my project to display the element I wanted to find out the colour of (in my case it was the colour of a UITableView&#8217;s section footer label) and then ran the application through Intruments.</p>

<p>After a little trial and error (and some help from <a href="http://twitter.com/eridius">Kevin Ballard</a> to work out exactly how to output the RGBA values) I had an Instrument that would display all parameters passed to [UIColor initWithRed:green:blue:alpha] (<a href="/uploads/Screen-shot-2010-07-28-at-16.29.21.png">Screenshot</a>)</p>

<p>As you can see from the screenshot, this works almost too well, with Intruments displaying almost too much information. But it is actually quite easy to narrow down the data to exactly what you&#8217;re looking for (<a href="/uploads/Screen-shot-2010-07-28-at-16.29.01.png">screenshot</a>).</p>

<p>Note that you wont get all colours. Just those created via [UIColor initWithRed:green:blue:alpha:] but the same technique can easily be used to probe for colours created via other methods or even via CG functions. It&#8217;s also pretty easy to use gdb to break on the relevant symbol and print out the parameters &#8211; however once you have this instrument in place it&#8217;s really quick and easy to run through an application and capture all colours. You can even export the colours into CSV file for easy manipulation.</p>

<p>You can download the Instrument <a href="/uploads/3433F2D0_2397_4AAD_AAE8_9362671FD43A.instrument">here</a>, copy it to <pre>~/Library/Application Support/Instruments/PlugIns/Instruments</pre> and then drag the instrument from Instruments Library into your workflow.</p>
]]></content:encoded>
			<wfw:commentRss>http://toxicsoftware.com/uicolor-instrument/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TouchCode Donations</title>
		<link>http://toxicsoftware.com/touchcodedonate/</link>
		<comments>http://toxicsoftware.com/touchcodedonate/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 15:17:19 +0000</pubDate>
		<dc:creator>schwa</dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iphone development]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[touchcode]]></category>

		<guid isPermaLink="false">http://toxicsoftware.com/?p=393</guid>
		<description><![CDATA[TouchCode is mostly a labour of love. I wrote most of the code because it was useful to me at the time I wrote it, or for a forthcoming project. I choose to release it under the an Open Source &#8230; <a href="http://toxicsoftware.com/touchcodedonate/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/p/touchcode/">TouchCode</a> is mostly a labour of love. I wrote most of the code because it was useful to me at the time I wrote it, or for a forthcoming project. I choose to release it under the an Open Source license because the community as a whole benefits.</p>

<p>I would like to continue improving and adding to TouchCode, but my time is finite and I&#8217;m unable to work on it as much as I would like. So when I do work on TouchCode, I appreciate that other people rely on the code and as such I make it a priority to fix bugs before adding new features or components. Other contributors to TouchCode have helped a lot. A lot of bugs and memory leaks have been found and fixed. This is all great. But it is obvious that TouchCode needs more work, it especially needs more unit tests and documentation. To help make time available to improve this I&#8217;ve decided to ask TouchCode users for donations via PayPal.</p>

<ul>
<li>You do NOT need to donate to use TouchCode (the code is still Open Source under very permissive licenses).</li>
<li>TouchCode will always remain Open Source. Donations will not change that.</li>
<li>Donations will be set aside and will allow me to spend more time working on TouchCode &#8211; especially the less sexy fun of TouchCode. I will not be using the funds to buy a new MacBook Pro (however tempting that may be).</li>
<li>Donations will be made with no strings attached. I will not be adding feature X to component Y just because you&#8217;ve donated to the project. However if you have an urgent need for something in TouchCode (output support in NSXMLDocument perhaps?) <a href="http://toxicsoftware.com/contact/">contact me</a> and we can talk.</li>
<li>No donation too small, no donation too big. Every donation appreciated.</li>
</ul>

<p>And here&#8217;s the PayPal donate button:</p>

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="644832">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
]]></content:encoded>
			<wfw:commentRss>http://toxicsoftware.com/touchcodedonate/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>TouchMap</title>
		<link>http://toxicsoftware.com/touchmap/</link>
		<comments>http://toxicsoftware.com/touchmap/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 00:31:21 +0000</pubDate>
		<dc:creator>schwa</dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[iphone development]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[TouchMap]]></category>
		<category><![CDATA[virtual earth]]></category>

		<guid isPermaLink="false">http://toxicsoftware.com/?p=385</guid>
		<description><![CDATA[I was going to make a more in-depth posting about TouchMap, but then something kind of big happened. The code is however in the TouchCode google code repository. So have at it. (You&#8217;ll probably want to check out all of &#8230; <a href="http://toxicsoftware.com/touchmap/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was going to make a more in-depth posting about <a href="http://toxicsoftware.com/touchmap-teaser/">TouchMap</a>, but then something <a href="http://toxicsoftware.com/obama08/">kind of big</a> happened. <a href="http://touchcode.googlecode.com/svn/trunk/Experimental/TouchMap/">The code</a> is however in the TouchCode google code repository. So have at it. (You&#8217;ll probably want to check out all of TouchCode, TouchMap currently depends on other code within the repository).</p>
]]></content:encoded>
			<wfw:commentRss>http://toxicsoftware.com/touchmap/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Looking for iPhone Software Professionals?</title>
		<link>http://toxicsoftware.com/iphoneswpro/</link>
		<comments>http://toxicsoftware.com/iphoneswpro/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 21:33:10 +0000</pubDate>
		<dc:creator>schwa</dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[consultancy]]></category>
		<category><![CDATA[contracting]]></category>
		<category><![CDATA[freelancers]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iphone development]]></category>
		<category><![CDATA[iphone freelancers]]></category>
		<category><![CDATA[iphoneswpro]]></category>

		<guid isPermaLink="false">http://toxicsoftware.com/?p=381</guid>
		<description><![CDATA[The problem: I make my living by writing iPhone and Mac OS X for hire. I&#8217;ve been doing this for a while with some level of success. But ever since the iPhone SDK was announced earlier this year I&#8217;ve been &#8230; <a href="http://toxicsoftware.com/iphoneswpro/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h3>The problem:</h3>

<p>I make my living by writing iPhone and Mac OS X for hire. I&#8217;ve been doing this for a while with some level of success. But ever since the iPhone SDK was announced earlier this year I&#8217;ve been getting many, many more work enquiries than I could possibly handle. I&#8217;ve often referred enquiries to friends who I have either worked with in the past or whose work I respect. But this ad-hoc system doesn&#8217;t scale very well.</p>

<h3>The Solution:</h3>

<p>To try and make this informal referral approach work I&#8217;ve set up a <em>private</em> invite only Google Group called &#8220;iPhone Software Professionals&#8221;. Currently this group is made up of a handful (more than 10 less than 1000) software developers who specialise in iPhone development (although I&#8217;d say all are equally capable on Mac OS X). The group is made up of either people I have worked with personally (and would love to work with again) or people whose work has generated such a reputation that I would have no problem recommending them to a potential client.</p>

<p>The list is currently made up of software developers but I would like to open it open it up to any independent professional involved in the production of iPhone software. This includes, but is not limited to usability experts, graphic designers, quality assurance experts and so on.</p>

<p>The group will probably remain quite small, with new members invited and referred only by current members. There is no commission or finder&#8217;s fee involved, the group is just an informal group of professionals forwarding work that would otherwise be rejected.</p>

<h3>Looking for an iPhone Software Professional?</h3>

<p>So if you have some iPhone software that needs to be written then I think I might be able to find someone to help you out. I might be able to help you myself, but if I have more work than I can handle (which currently is very likely) I&#8217;ll forward your request to the group. Either way contact me directly at <a href="mailto:iphoneswpro@toxicsoftware.com">iphoneswpro@toxicsoftware.com</a> and I&#8217;ll try make sure your software gets written.</p>

<hr />

<h3>Update</h3>

<p>Please do not request an invite directly via Google Groups. See http://toxicsoftware.com/iphoneswpro/ for information on how to join the group. Essentially it helps if you or your work is known and respected by myself or other members of the group. You can use the email address to send a request directly to me.</p>

<p>If you&#8217;re not invited into the group please do not take it personally. I&#8217;m trying to keep a good balance between job leads posted to the group and freelancers able to consume the job leads. If the balance is good (or there are too few job leads) we will not be adding new developers to the group.</p>
]]></content:encoded>
			<wfw:commentRss>http://toxicsoftware.com/iphoneswpro/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
