<?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>梁剑的Blog &#187; Xcode</title>
	<atom:link href="http://icomes.net/tag/xcode/feed/" rel="self" type="application/rss+xml" />
	<link>http://icomes.net</link>
	<description>做有趣的事，做有用的人</description>
	<lastBuildDate>Sat, 05 Nov 2011 18:23:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>《iPhone开发基础教程》1－3章</title>
		<link>http://icomes.net/2009/12/30/iphone%e5%bc%80%e5%8f%91%e5%9f%ba%e7%a1%80%e6%95%99%e7%a8%8b1-3/</link>
		<comments>http://icomes.net/2009/12/30/iphone%e5%bc%80%e5%8f%91%e5%9f%ba%e7%a1%80%e6%95%99%e7%a8%8b1-3/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 17:27:12 +0000</pubDate>
		<dc:creator>梁剑</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[技术笔记]]></category>
		<category><![CDATA[读书笔记]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://icomes.net/?p=478</guid>
		<description><![CDATA[第一章      Xcode需要运行在基于Intel的Leopard之后的Mac OS之上      Cocoa Touch使用Objective-C 2.0      编写iPhone应用程序的特别之处           只有一个正在运行的程序           只有一个窗口           访问受限     沙盒           有限的响应时间     按下Home后5秒内没完成清理，将被强制退出           有限的屏幕大小     480*320           有限的系统资源     内存不足时，应用程序会收到通知。如果不能及时释放内存，可能被强制退出           缺少Cocoa工具     不支持垃圾收集           新属性     定位、摄像、图片库和加速计      本书内容           2 Interface Builder基础           3 基础交互           4 基本控件           5 方向感应           6 多视图           7 工具栏           8 TableView           9 分层列表           10 应用程序设置           11 数据管理     SQLite           12 绘图     Quartz和OpenGL ES           13 多点触摸           14 Core [...]<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Ficomes.net%2F2007%2F10%2F27%2Fajax%25E5%259F%25BA%25E7%25A1%2580%25E6%2595%2599%25E7%25A8%258B%2F&from=http%3A%2F%2Ficomes.net%2F2009%2F12%2F30%2Fiphone%25E5%25BC%2580%25E5%258F%2591%25E5%259F%25BA%25E7%25A1%2580%25E6%2595%2599%25E7%25A8%258B1-3%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ajax基础教程</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Ficomes.net%2F2009%2F08%2F30%2Fanother-hello-world-is-running-on-my-iphone%2F&from=http%3A%2F%2Ficomes.net%2F2009%2F12%2F30%2Fiphone%25E5%25BC%2580%25E5%258F%2591%25E5%259F%25BA%25E7%25A1%2580%25E6%2595%2599%25E7%25A8%258B1-3%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Another Hello World is running on my iPhone!</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Ficomes.net%2F2009%2F04%2F19%2Fiphone-22-firmware%25E4%25B8%258B%25E8%25BD%25BD%25E5%259C%25B0%25E5%259D%2580%2F&from=http%3A%2F%2Ficomes.net%2F2009%2F12%2F30%2Fiphone%25E5%25BC%2580%25E5%258F%2591%25E5%259F%25BA%25E7%25A1%2580%25E6%2595%2599%25E7%25A8%258B1-3%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">iPhone 2.2 firmware下载地址</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Ficomes.net%2F2011%2F11%2F03%2F%25E7%259B%2591%25E6%258E%25A7iphone-4s%25E5%258F%2591%25E5%25B8%2583%25E7%259A%2584python%25E8%2584%259A%25E6%259C%25AC%2F&from=http%3A%2F%2Ficomes.net%2F2009%2F12%2F30%2Fiphone%25E5%25BC%2580%25E5%258F%2591%25E5%259F%25BA%25E7%25A1%2580%25E6%2595%2599%25E7%25A8%258B1-3%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">监控iPhone 4S发布的Python脚本</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p><font size="4"><font size="4"><b>第一章</b></font></font>
<div>     Xcode需要运行在基于Intel的Leopard之后的Mac OS之上</div>
<div>     Cocoa Touch使用Objective-C 2.0</div>
<div>     编写iPhone应用程序的特别之处</div>
<div>          只有一个正在运行的程序</div>
<div>          只有一个窗口</div>
<div>          访问受限     沙盒</div>
<div>          有限的响应时间     按下Home后5秒内没完成清理，将被强制退出</div>
<div>          有限的屏幕大小     480*320</div>
<div>          有限的系统资源     内存不足时，应用程序会收到通知。如果不能及时释放内存，可能被强制退出</div>
<div>          缺少Cocoa工具     不支持垃圾收集</div>
<div>          新属性     定位、摄像、图片库和加速计</div>
<div>     本书内容</div>
<div>          2 Interface Builder基础</div>
<div>          3 基础交互</div>
<div>          4 基本控件</div>
<div>          5 方向感应</div>
<div>          6 多视图</div>
<div>          7 工具栏</div>
<div>          8 TableView</div>
<div>          9 分层列表</div>
<div>          10 应用程序设置</div>
<div>          11 数据管理     SQLite</div>
<div>          12 绘图     Quartz和OpenGL ES</div>
<div>          13 多点触摸</div>
<div>          14 Core Location</div>
<div>          15 加速计</div>
<div>          16 摄像头和图片库</div>
<div>          17 I18n</div>
<div><br/></div>
<div><font color="#000000" size="4"><font size="4"><b>第二章</b></font></font></div>
<div>     Project的目录结构，仅为逻辑结构</div>
<div>          Classes     存放大部分代码</div>
<div>          Other Sources     其他源代码</div>
<div>               .pch     预编译的头文件 precompiled header</div>
<div>               main.m     main函数，通常不需修改</div>
<div>          Resources     非代码文件，图标、图像、音频、视频文本</div>
<div>               .xib     Interface Builder用到的信息</div>
<div>               Info.plist     应用程序相关属性列表</div>
<div>               MainWindow.xib     主Interface Builder文件</div>
<div>          Frameworks     框架和库</div>
<div>          Products     编译生成的应用程序</div>
<div>     Interface Builder</div>
<div>          支持.nib（旧）和.xib（新）两种格式，统称nib或nib文件</div>
<div>     nib文件的构成</div>
<div>          File&#8217;s Owner     所有nib文件的第一个图标，表示加载nib文件的对象，<font color="#FF2A28">控制器类是与之同名的nib文件的Owner</font></div>
<div>          First Responder     用户当前正在与之交互的对象，随用户与界面的交互而变化</div>
<div>          其他图标表示将在nib文件加载时创建的对象实例</div>
<div>     图标</div>
<div>          png     57*57</div>
<div>          放到Resources文件夹中</div>
<div>          在Info.plist中设置</div>
<div>     仿真器</div>
<div>          删除~/Library/Application Support/iPhone Simulator以清空主屏幕图标</div>
<div><br/></div>
<div><font color="#000000" size="4"><font size="4"><b>第三章</b></font></font></div>
<div>     MVC模型</div>
<div>          M     Objective-C类</div>
<div>          V     Interface Builder</div>
<div>          C     NSObject，更多的是通用控制器类，如UIViewController</div>
<div>     控制器</div>
<div>          控制器类试用一种特殊的实例变量（输出口，outlet）来引用nib中的对象</div>
<div>          输出口可以看成是指向nib中的对象的指针</div>
<div>          可以通过绑定操作方法，设置nib文件的界面对象触发控制类中的特殊方法</div>
<div>     输出口</div>
<div>          IBOutlet     一个没有内容的宏，唯一作用是告诉Interface Builder此实例变量将被连接到nib中的对象</div>
<div>     操作</div>
<div>          IBAction     告诉Interface Builder，此方法是一个操作，且可以被某控件触发</div>
<div>          - (IBAction)doSomething:(id) sender;</div>
<div>     Outlet与Action的声明</div>
<div>          @property (retain, nonatomic) IBOutlet UILabel *statusText;</div>
<div>          retain 对象在内存中驻留</div>
<div>          nonatomic 无须支持多线程？</div>
<div>          myVar = [someObj foo] 等价于 myVar = someObj.foo</div>
<div>          someObj.foo = myVar 等价于 [someObj setFoo:myVar]</div>
<div>     Outlet与Action的实现</div>
<div>          @synthesize statusText</div>
<div>          [statusText release] in dealloc()，照应retain</div>
<div>     应用程序委托</div>
<div>          每个iPhone应用程序有且仅有一个UIApplication实例，负责应用程序的运行循环以及处理各种应用程序级功能</div>
<div>     连接输出口</div>
<div>          Control+拖动，从File‘s Owner到相应的控件对象</div>
<div>     指定操作</div>
<div>          Touch Up Inside</div>
<div>          拖动，从Event到File‘s Owner</div>
<div>          </div>
<div><br/></div>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Ficomes.net%2F2007%2F10%2F27%2Fajax%25E5%259F%25BA%25E7%25A1%2580%25E6%2595%2599%25E7%25A8%258B%2F&from=http%3A%2F%2Ficomes.net%2F2009%2F12%2F30%2Fiphone%25E5%25BC%2580%25E5%258F%2591%25E5%259F%25BA%25E7%25A1%2580%25E6%2595%2599%25E7%25A8%258B1-3%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ajax基础教程</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Ficomes.net%2F2009%2F08%2F30%2Fanother-hello-world-is-running-on-my-iphone%2F&from=http%3A%2F%2Ficomes.net%2F2009%2F12%2F30%2Fiphone%25E5%25BC%2580%25E5%258F%2591%25E5%259F%25BA%25E7%25A1%2580%25E6%2595%2599%25E7%25A8%258B1-3%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Another Hello World is running on my iPhone!</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Ficomes.net%2F2009%2F04%2F19%2Fiphone-22-firmware%25E4%25B8%258B%25E8%25BD%25BD%25E5%259C%25B0%25E5%259D%2580%2F&from=http%3A%2F%2Ficomes.net%2F2009%2F12%2F30%2Fiphone%25E5%25BC%2580%25E5%258F%2591%25E5%259F%25BA%25E7%25A1%2580%25E6%2595%2599%25E7%25A8%258B1-3%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">iPhone 2.2 firmware下载地址</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Ficomes.net%2F2011%2F11%2F03%2F%25E7%259B%2591%25E6%258E%25A7iphone-4s%25E5%258F%2591%25E5%25B8%2583%25E7%259A%2584python%25E8%2584%259A%25E6%259C%25AC%2F&from=http%3A%2F%2Ficomes.net%2F2009%2F12%2F30%2Fiphone%25E5%25BC%2580%25E5%258F%2591%25E5%259F%25BA%25E7%25A1%2580%25E6%2595%2599%25E7%25A8%258B1-3%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">监控iPhone 4S发布的Python脚本</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://icomes.net/2009/12/30/iphone%e5%bc%80%e5%8f%91%e5%9f%ba%e7%a1%80%e6%95%99%e7%a8%8b1-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

