<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: OBShapedButton: Non-rectangular buttons on the iPhone</title>
	<atom:link href="http://oleb.net/blog/2009/10/obshapedbutton-non-rectangular-buttons-on-the-iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://oleb.net/blog/2009/10/obshapedbutton-non-rectangular-buttons-on-the-iphone/</link>
	<description>iOS SDK, Cocoa and Objective-C</description>
	<lastBuildDate>Fri, 30 Jul 2010 04:50:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Steven Baughman</title>
		<link>http://oleb.net/blog/2009/10/obshapedbutton-non-rectangular-buttons-on-the-iphone/#comment-1962</link>
		<dc:creator>Steven Baughman</dc:creator>
		<pubDate>Fri, 16 Jul 2010 16:42:41 +0000</pubDate>
		<guid isPermaLink="false">http://oleb.net/?p=322#comment-1962</guid>
		<description>To get this to work I had to flip the context vertically, otherwise the context you&#039;re using is upside down.

I added this at line 81:
// Flip context
CGContextTranslateCTM(context, 0, height);
CGContextScaleCTM(context, 1.0, -1.0);

---

I think you may have never noticed it because your shapes are diamond shaped so it doesn&#039;t matter if they&#039;re flipped. I was using a PNG of a duck...and was having all sorts of problems!

Let me know if I&#039;m mistaken.</description>
		<content:encoded><![CDATA[<p>To get this to work I had to flip the context vertically, otherwise the context you&#8217;re using is upside down.</p>
<p>I added this at line 81:<br />
// Flip context<br />
CGContextTranslateCTM(context, 0, height);<br />
CGContextScaleCTM(context, 1.0, -1.0);</p>
<p>&#8212;</p>
<p>I think you may have never noticed it because your shapes are diamond shaped so it doesn&#8217;t matter if they&#8217;re flipped. I was using a PNG of a duck&#8230;and was having all sorts of problems!</p>
<p>Let me know if I&#8217;m mistaken.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Irregular Buttons at Under The Bridge</title>
		<link>http://oleb.net/blog/2009/10/obshapedbutton-non-rectangular-buttons-on-the-iphone/#comment-1698</link>
		<dc:creator>Irregular Buttons at Under The Bridge</dc:creator>
		<pubDate>Tue, 29 Jun 2010 06:59:28 +0000</pubDate>
		<guid isPermaLink="false">http://oleb.net/?p=322#comment-1698</guid>
		<description>[...] OBShapedButton: Non-rectangular buttons on the iPhone [...]</description>
		<content:encoded><![CDATA[<p>[...] OBShapedButton: Non-rectangular buttons on the iPhone [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roboris</title>
		<link>http://oleb.net/blog/2009/10/obshapedbutton-non-rectangular-buttons-on-the-iphone/#comment-1587</link>
		<dc:creator>roboris</dc:creator>
		<pubDate>Mon, 21 Jun 2010 11:38:32 +0000</pubDate>
		<guid isPermaLink="false">http://oleb.net/?p=322#comment-1587</guid>
		<description>you are the man, dog.</description>
		<content:encoded><![CDATA[<p>you are the man, dog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iain Barclay</title>
		<link>http://oleb.net/blog/2009/10/obshapedbutton-non-rectangular-buttons-on-the-iphone/#comment-1151</link>
		<dc:creator>Iain Barclay</dc:creator>
		<pubDate>Thu, 20 May 2010 11:58:50 +0000</pubDate>
		<guid isPermaLink="false">http://oleb.net/?p=322#comment-1151</guid>
		<description>Very, very helpful - many thanks!</description>
		<content:encoded><![CDATA[<p>Very, very helpful &#8211; many thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Creating Custom Shaped UIButtons &#124; iPhone and iPad SDK Development Tutorials and Programming Tips</title>
		<link>http://oleb.net/blog/2009/10/obshapedbutton-non-rectangular-buttons-on-the-iphone/#comment-715</link>
		<dc:creator>Creating Custom Shaped UIButtons &#124; iPhone and iPad SDK Development Tutorials and Programming Tips</dc:creator>
		<pubDate>Fri, 26 Mar 2010 20:46:13 +0000</pubDate>
		<guid isPermaLink="false">http://oleb.net/?p=322#comment-715</guid>
		<description>[...] Ole Begemann has also created a custom button class which he talks about here: OBShapedButton: Non-rectangular buttons on the iPhone. [...]</description>
		<content:encoded><![CDATA[<p>[...] Ole Begemann has also created a custom button class which he talks about here: OBShapedButton: Non-rectangular buttons on the iPhone. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
