<?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>SkyBlog &#187; shrinking</title>
	<atom:link href="http://www.skylarcantu.com/blog/tag/shrinking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.skylarcantu.com/blog</link>
	<description>...just some of my thoughts.</description>
	<lastBuildDate>Fri, 18 Dec 2009 09:35:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Shrinking Tables! (As seen in Spotlight)</title>
		<link>http://www.skylarcantu.com/blog/2009/07/28/shrinking-tables-as-seen-in-spotlight/</link>
		<comments>http://www.skylarcantu.com/blog/2009/07/28/shrinking-tables-as-seen-in-spotlight/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 08:42:33 +0000</pubDate>
		<dc:creator>Skylar</dc:creator>
				<category><![CDATA[iPhone Development]]></category>
		<category><![CDATA[condensing]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone-dev]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[shrinking]]></category>
		<category><![CDATA[Spotlight]]></category>
		<category><![CDATA[UITableView]]></category>
		<category><![CDATA[Weather]]></category>

		<guid isPermaLink="false">http://www.skylarcantu.com/blog/?p=33</guid>
		<description><![CDATA[Want to create tables as seen in Spotlight or Weather?  It's easier done than said : )

<a rel="attachment wp-att-34" href="http://www.skylarcantu.com/blog/2009/07/28/shrinking-tables-as-seen-in-spotlight/condensingtable/">CondensingTable Video</a>

Note, this uses the Spotlight "cheater" method of simply drawing some pseudo corners over the table, as opposed to the Weather.app approach of masking off the table to remove corners.  That said, as long as you're using solid colors, the result will be identical.

First off, we want to open a new view controller based application. and slap in a simple UITableView with the grouped style.  Go ahead and add the UITableView as a subview of your viewController.view.

Next, we'll place a call our getCornersforRect:withColor: message.  This will construct a UIImage of the corners that we want to apply.  That image will be added to a new UIImageView that will be added on top of our UITableView.

And you're done.  Literally.  See, this wasn't so bad, was it? : )
[Click for the code and more explanaton]]]></description>
		<wfw:commentRss>http://www.skylarcantu.com/blog/2009/07/28/shrinking-tables-as-seen-in-spotlight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

