<?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>“我”的开发笔记 &#187; Three20库</title>
	<atom:link href="http://c.gzl.name/archives/category/iphone/three20%e5%ba%93/feed" rel="self" type="application/rss+xml" />
	<link>http://c.gzl.name</link>
	<description>IPhone, Cocoa, PHP, Javascript, JQuery, Actionscript, etc...</description>
	<lastBuildDate>Thu, 29 Dec 2011 07:20:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Three20添加方法（翻译）</title>
		<link>http://c.gzl.name/archives/389</link>
		<comments>http://c.gzl.name/archives/389#comments</comments>
		<pubDate>Sun, 06 Sep 2009 06:09:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Three20库]]></category>
		<category><![CDATA[iPhone开发]]></category>
		<category><![CDATA[320]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[Three20]]></category>
		<category><![CDATA[框架]]></category>

		<guid isPermaLink="false">http://c.gzl.name/?p=389</guid>
		<description><![CDATA[Three20是一个iPhone开发图形接口类的集合，包含图片查看，一般工具，HTTP本地缓存。Three20是来自于Facebook的iPhone程序源代码的。 添加Three20到您的程序 ============================== Three20是预编译静态库，最简单的方法是使用Xcode的依赖工程特性，下面是方法： 1. 复制（Clone命令）three20 git（GitHub） 目录: `git clone git://github.com/joehewitt/three20.git`.  确保将其储存在一个常用位置，以便Xcode每次编译时来索引和访问 2. 在 &#8220;three20/src&#8221;中找到 &#8220;Three20.xcodeproj&#8221; . 拖拽Three20.xcodeproj到您工程的根目录&#8221;Groups and Files&#8221;边栏中.在弹出对话框中去掉&#8221;Copy items&#8221;的对号，&#8221;Reference Type&#8221;选择&#8221;Relative to Project&#8221;然后点“Add”. 3. 现在要链接Three20库到您的工程。点击添加进来的&#8221;Three20.xcodeproj&#8221;，在“Details”表中，你会看到 libThree20.a. 打上文件右侧的对号 4. 现在你需要设置320库为你程序的依赖库，以便Xcode在编译的时候也会将320一起编译起来。展开左侧的“Targets”标签，双击您程序的“目标”文件。在“General”标签下，你会看到“Direct Dependencies”，点“+”号添加320库。 5. 现在你需要添加图片和字符串包到你的程序，找到&#8221;Three20.bundle&#8221;在&#8221;three20/src&#8221;中，然后拖拽到你的程序中。对话框里面“Copy items”别选，“reference type”选“relative to project” 6. 现在，你需要添加 Core Animation framework到你的工程。点击程序target，然后在frameworks里面添加 QuartzCore.framework就可以了（这个不是翻译的，原来的方法太麻烦了 7. 最后，我们需要让你的工程找得到320库的文件头。打开 &#8220;Project Settings&#8221;找到&#8221;Build&#8221;标签，找到 &#8220;Header Search Paths&#8221;双击它。添加到&#8221;three20/src&#8221;相对目录的地址。 8. 当你在 Project Settings, 找到 [...]]]></description>
		<wfw:commentRss>http://c.gzl.name/archives/389/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TTView的简单使用</title>
		<link>http://c.gzl.name/archives/305</link>
		<comments>http://c.gzl.name/archives/305#comments</comments>
		<pubDate>Mon, 10 Aug 2009 18:28:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Three20库]]></category>
		<category><![CDATA[iPhone开发]]></category>
		<category><![CDATA[Three20]]></category>
		<category><![CDATA[TTStyle]]></category>
		<category><![CDATA[TTView]]></category>

		<guid isPermaLink="false">http://c.gzl.name/?p=305</guid>
		<description><![CDATA[Three20，320库真是好的不得了，都不知道该怎么夸它了，我在自己的佛历View中就使用了其中一个TTView，非常漂亮简单的风格。再也不用考虑是不是在UILabel下面放一个UIImageView等等&#8230; 而且还要自己弄图片的大小 在TTCatalog中展示了14种TTView的style，不知道你喜欢哪一个呢？ **我想我用的是第二个吧～ /*******************************************************************/ 看看我的代码吧～ UIColor* blue = RGBCOLOR&#40;191, 197, 208&#41;; TTStyle *myStyle = &#91;TTShapeStyle styleWithShape:&#91;TTRoundedRectangleShape shapeWithRadius:10&#93; next:&#91;TTShadowStyle styleWithColor:RGBACOLOR&#40;255,255,255,0.9&#41; blur:1 offset:CGSizeMake&#40;0, 1&#41; next:&#91;TTLinearGradientFillStyle styleWithColor1:RGBCOLOR&#40;255, 255, 255&#41; color2:RGBCOLOR&#40;216, 221, 231&#41; next:&#91;TTSolidBorderStyle styleWithColor:blue width:1 next:nil&#93;&#93;&#93;&#93;; &#160; viewA = &#91;&#91;&#91;TTView alloc&#93; initWithFrame:CGRectMake&#40;10, 220, 300, 40&#41;&#93; autorelease&#93;; viewB = &#91;&#91;&#91;TTView alloc&#93; initWithFrame:CGRectMake&#40;10, 263, 300, 40&#41;&#93; autorelease&#93;; viewC = [...]]]></description>
		<wfw:commentRss>http://c.gzl.name/archives/305/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

