<?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; 3G开发</title>
	<atom:link href="http://www.hengxinsoft.com/category/3g/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hengxinsoft.com</link>
	<description>技术交流</description>
	<lastBuildDate>Thu, 12 Jan 2012 06:17:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>mac 下git命令补全</title>
		<link>http://www.hengxinsoft.com/2012/01/mac-%e4%b8%8bgit%e5%91%bd%e4%bb%a4%e8%a1%a5%e5%85%a8/</link>
		<comments>http://www.hengxinsoft.com/2012/01/mac-%e4%b8%8bgit%e5%91%bd%e4%bb%a4%e8%a1%a5%e5%85%a8/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 06:17:32 +0000</pubDate>
		<dc:creator>akin</dc:creator>
				<category><![CDATA[iphone开发]]></category>
		<category><![CDATA[mac git 命令不全]]></category>

		<guid isPermaLink="false">http://www.hengxinsoft.com/?p=740</guid>
		<description><![CDATA[如果你用的是 Bash shell，可以试试看 Git 提供的自动完成脚本。下载 Git 的源代码，进入 contrib/completion  目录，会看到一个  git-completion.bash  文件。将此文件复制到你自己的用户主目录中（译注：按照下面的示例，还应改名加上点： cp git-completion.bash ~/.git-completion.bash ），并把下面一行内容添加到你的  .bashrc  文件中：（btw：默认情况下.bashrc是没有的这个时候需要手动创建一个 在~/ 目录下） source ~/.git-completion.bash 也可以为系统上所有用户都设置默认使用此脚本。Mac 上将此脚本复制到 /opt/local/etc/bash_completion.d  目录中，Linux 上则复制到  /etc/bash_completion.d/  目录中。这两处目录中的脚本，都会在 Bash 启动时自动加载 Copyright &#169; SITE_NAME. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you [...]]]></description>
			<content:encoded><![CDATA[<p id="">如果你用的是 Bash shell，可以试试看 Git 提供的自动完成脚本。下载 <a href="https://github.com/git/git/tree/master/contrib/completion">Git </a>的源代码，进入</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">contrib/completion</div></div>
<p> 目录，会看到一个 </p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">git-completion.bash</div></div>
<p> 文件。将此文件复制到你自己的用户主目录中（译注：按照下面的示例，还应改名加上点：</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">cp git-completion.bash ~/.git-completion.bash</div></div>
<p>），并把下面一行内容添加到你的 </p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">.bashrc</div></div>
<p> 文件中：（btw：默认情况下.bashrc是没有的这个时候需要手动创建一个 在~/ 目录下）</p>
<pre id="">
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">source ~/.git-completion.bash</div></div>
</pre>
<p id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown">也可以为系统上所有用户都设置默认使用此脚本。Mac 上将此脚本复制到</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">/opt/local/etc/bash_completion.d</div></div>
<p> 目录中，Linux 上则复制到 </p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">/etc/bash_completion.d/</div></div>
<p> 目录中。这两处目录中的脚本，都会在 Bash 启动时自动加载</p>
<hr />Copyright &copy; SITE_NAME. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></content:encoded>
			<wfw:commentRss>http://www.hengxinsoft.com/2012/01/mac-%e4%b8%8bgit%e5%91%bd%e4%bb%a4%e8%a1%a5%e5%85%a8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xcode 4 模版更改公司名字</title>
		<link>http://www.hengxinsoft.com/2011/12/xcode-4-%e6%a8%a1%e7%89%88%e6%9b%b4%e6%94%b9%e5%85%ac%e5%8f%b8%e5%90%8d%e5%ad%97/</link>
		<comments>http://www.hengxinsoft.com/2011/12/xcode-4-%e6%a8%a1%e7%89%88%e6%9b%b4%e6%94%b9%e5%85%ac%e5%8f%b8%e5%90%8d%e5%ad%97/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 09:58:14 +0000</pubDate>
		<dc:creator>akin</dc:creator>
				<category><![CDATA[iphone开发]]></category>
		<category><![CDATA[xcode 4 更换公司名称]]></category>
		<category><![CDATA[__MyCompanyName__]]></category>

		<guid isPermaLink="false">http://www.hengxinsoft.com/?p=737</guid>
		<description><![CDATA[用了之前的更改方法 无效 stackoverflow之 发现一个很方便的解决方案 如果我们默认下新建一个工程或者文件 在版权上会显示__MyCompanyName__ 更改这个信息只需要 打开你的地址薄 然后在你的个人信息当中加入公司的名字 再去新建一个工程或者文件试试看 是不是变过来了 之前的工程要是替换的话那就用command+option+shift+F 全局查找替换之吧 Copyright &#169; SITE_NAME. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></description>
			<content:encoded><![CDATA[<p>用了之前的更改方法 无效 stackoverflow之 发现一个很方便的解决方案</p>
<p>如果我们默认下新建一个工程或者文件 在版权上会显示__MyCompanyName__ 更改这个信息只需要 打开你的地址薄 然后在你的个人信息当中加入公司的名字 再去新建一个工程或者文件试试看 是不是变过来了</p>
<p>之前的工程要是替换的话那就用command+option+shift+F 全局查找替换之吧</p>
<hr />Copyright &copy; SITE_NAME. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></content:encoded>
			<wfw:commentRss>http://www.hengxinsoft.com/2011/12/xcode-4-%e6%a8%a1%e7%89%88%e6%9b%b4%e6%94%b9%e5%85%ac%e5%8f%b8%e5%90%8d%e5%ad%97/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CCSpriteSheet在cocos2d-iphone 1.0改名</title>
		<link>http://www.hengxinsoft.com/2011/08/ccspritesheet%e5%9c%a8cocos2d-iphone-1-0%e6%94%b9%e5%90%8d/</link>
		<comments>http://www.hengxinsoft.com/2011/08/ccspritesheet%e5%9c%a8cocos2d-iphone-1-0%e6%94%b9%e5%90%8d/#comments</comments>
		<pubDate>Tue, 02 Aug 2011 09:27:59 +0000</pubDate>
		<dc:creator>akin</dc:creator>
				<category><![CDATA[3G开发]]></category>
		<category><![CDATA[iphone开发]]></category>
		<category><![CDATA[CCSpriteBatchNode]]></category>
		<category><![CDATA[CCSpriteSheet]]></category>

		<guid isPermaLink="false">http://www.hengxinsoft.com/?p=725</guid>
		<description><![CDATA[CCSpriteSheet]]></description>
			<content:encoded><![CDATA[<p>如题CCSpriteSheet 在1.0中已经改名为CCSpriteBatchNode  特此mark</p>
<hr />Copyright &copy; SITE_NAME. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></content:encoded>
			<wfw:commentRss>http://www.hengxinsoft.com/2011/08/ccspritesheet%e5%9c%a8cocos2d-iphone-1-0%e6%94%b9%e5%90%8d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>判断当前设备是否是ipad</title>
		<link>http://www.hengxinsoft.com/2011/07/%e5%88%a4%e6%96%ad%e5%bd%93%e5%89%8d%e8%ae%be%e5%a4%87%e6%98%af%e5%90%a6%e6%98%afipad/</link>
		<comments>http://www.hengxinsoft.com/2011/07/%e5%88%a4%e6%96%ad%e5%bd%93%e5%89%8d%e8%ae%be%e5%a4%87%e6%98%af%e5%90%a6%e6%98%afipad/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 06:04:50 +0000</pubDate>
		<dc:creator>akin</dc:creator>
				<category><![CDATA[3G开发]]></category>
		<category><![CDATA[iphone开发]]></category>
		<category><![CDATA[判断当前设备是否为ipad]]></category>

		<guid isPermaLink="false">http://www.hengxinsoft.com/?p=702</guid>
		<description><![CDATA[#define isPad (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) 用来判断当前设备是否为ipad Copyright &#169; SITE_NAME. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></description>
			<content:encoded><![CDATA[<p>#define isPad (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)</p>
<p>用来判断当前设备是否为ipad</p>
<hr />Copyright &copy; SITE_NAME. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></content:encoded>
			<wfw:commentRss>http://www.hengxinsoft.com/2011/07/%e5%88%a4%e6%96%ad%e5%bd%93%e5%89%8d%e8%ae%be%e5%a4%87%e6%98%af%e5%90%a6%e6%98%afipad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UITableView  设置背景图片</title>
		<link>http://www.hengxinsoft.com/2011/07/uitableview-%e8%ae%be%e7%bd%ae%e8%83%8c%e6%99%af%e5%9b%be%e7%89%87/</link>
		<comments>http://www.hengxinsoft.com/2011/07/uitableview-%e8%ae%be%e7%bd%ae%e8%83%8c%e6%99%af%e5%9b%be%e7%89%87/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 09:30:58 +0000</pubDate>
		<dc:creator>akin</dc:creator>
				<category><![CDATA[3G开发]]></category>
		<category><![CDATA[iphone开发]]></category>
		<category><![CDATA[UITableView set backgrand image]]></category>
		<category><![CDATA[UITableView 设置背景图片]]></category>

		<guid isPermaLink="false">http://www.hengxinsoft.com/?p=699</guid>
		<description><![CDATA[由于我的类是继承自UItableViewController的  所以不方便再加一个UIImageView 做背景 而UITableView又没有提供设置图片背景的方法  不过倒是有一个设置背景颜色的方法，如果代码可以达到我想要的效果 self.tableView.backgroundColor =[UIColor colorWithPatternImage:[UIImage imageNamed:@"××××.jpg"]]; Copyright &#169; SITE_NAME. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></description>
			<content:encoded><![CDATA[<p>由于我的类是继承自UItableViewController的  所以不方便再加一个UIImageView 做背景 而UITableView又没有提供设置图片背景的方法  不过倒是有一个设置背景颜色的方法，如果代码可以达到我想要的效果</p>
<p><!-- p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Monaco; color: #55bf5f} -->self.tableView.backgroundColor =[UIColor colorWithPatternImage:[UIImage imageNamed:@"××××.jpg"]];</p>
<hr />Copyright &copy; SITE_NAME. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></content:encoded>
			<wfw:commentRss>http://www.hengxinsoft.com/2011/07/uitableview-%e8%ae%be%e7%bd%ae%e8%83%8c%e6%99%af%e5%9b%be%e7%89%87/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OS X下用于系统监控和管理的命令</title>
		<link>http://www.hengxinsoft.com/2011/07/mac-os-x%e4%b8%8b%e7%94%a8%e4%ba%8e%e7%b3%bb%e7%bb%9f%e7%9b%91%e6%8e%a7%e5%92%8c%e7%ae%a1%e7%90%86%e7%9a%84%e5%91%bd%e4%bb%a4/</link>
		<comments>http://www.hengxinsoft.com/2011/07/mac-os-x%e4%b8%8b%e7%94%a8%e4%ba%8e%e7%b3%bb%e7%bb%9f%e7%9b%91%e6%8e%a7%e5%92%8c%e7%ae%a1%e7%90%86%e7%9a%84%e5%91%bd%e4%bb%a4/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 03:44:44 +0000</pubDate>
		<dc:creator>akin</dc:creator>
				<category><![CDATA[3G开发]]></category>
		<category><![CDATA[android开发]]></category>
		<category><![CDATA[iphone开发]]></category>
		<category><![CDATA[mac osx 常用命令]]></category>

		<guid isPermaLink="false">http://www.hengxinsoft.com/?p=694</guid>
		<description><![CDATA[Mac OS X提供了Terminal，即“终端”程序作为命令行交互接口。命令行的工作方式确实给一些工作带来便利，比如一些系统的管理和监控，以及一些对配置文本的简单查看和处理等。很多用户可能有在Terminal使用一些基本命令的经历，如ls,rm,mkdir,rmdir,cp等等。本文介绍一些稍微进阶又不如ls普及的Terminal命令，主要用于系统的监控和管理。 在黑漆漆（或惨白）的终端程序里，你是否曾打错一行命令，然后按着退格键按到手指酸痛？或者还用左右箭头让那个闪烁的小光标来回地游走？命令行下控制光标的几个快捷键一定得掌握，绝对的易用方便。 光标控制 Control-A: 将光标移动到行首 Control-C: 将光标移动到行尾 Control-U: 删除行内光标之前的所有字符 Control-K: 删除行内光标之后的所有字符 监控相关 top: 实时显示系统中各个进程的资源占用状况 who: 显示账户信息 uptime: 本次已开机的时间 last: 查看上次用户登录后的相关日志 df –h: 查看文件系统信息 fdisk –l: 查看分区信息（单系统单盘的OS X用户就不用看了） du -sh *: 查看当前目录下各文件夹大小 iostat: 查看CPU和磁盘 I/O 相关的统计信息 lsof: 查看打开的所有文件 lpq: 查看打印队列 diskutil: 全功能的磁盘工具 dmesg: 查看内核消息 sysctl: 显示和设置内核参数 ifconfig: 查看网卡配置 bg/fg: 将作业放在后台/前台运行 jobs: 查看当前作业 kill -9 [...]]]></description>
			<content:encoded><![CDATA[<p>Mac OS X提供了Terminal，即“终端”程序作为命令行交互接口。命令行的工作方式确实给一些工作带来便利，比如一些系统的管理和监控，以及一些对配置文本的简单查看和处理等。很多用户可能有在Terminal使用一些基本命令的经历，如ls,rm,mkdir,rmdir,cp等等。本文介绍一些稍微进阶又不如ls普及的Terminal命令，主要用于系统的监控和管理。</p>
<p>在黑漆漆（或惨白）的终端程序里，你是否曾打错一行命令，然后按着退格键按到手指酸痛？或者还用左右箭头让那个闪烁的小光标来回地游走？命令行下控制光标的几个快捷键一定得掌握，绝对的易用方便。<span id="more-694"></span></p>
<p><strong>光标控制</strong></p>
<p>Control-A: 将光标移动到行首</p>
<p>Control-C: 将光标移动到行尾</p>
<p>Control-U: 删除行内光标之前的所有字符</p>
<p>Control-K: 删除行内光标之后的所有字符</p>
<p><strong>监控相关</strong></p>
<p>top: 实时显示系统中各个进程的资源占用状况</p>
<p>who: 显示账户信息</p>
<p>uptime: 本次已开机的时间</p>
<p>last: 查看上次用户登录后的相关日志</p>
<p>df –h: 查看文件系统信息</p>
<p>fdisk –l: 查看分区信息（单系统单盘的OS X用户就不用看了）</p>
<p>du -sh *: 查看当前目录下各文件夹大小</p>
<p>iostat: 查看CPU和磁盘 I/O 相关的统计信息</p>
<p>lsof: 查看打开的所有文件</p>
<p>lpq: 查看打印队列</p>
<p>diskutil: 全功能的磁盘工具</p>
<p>dmesg: 查看内核消息</p>
<p>sysctl: 显示和设置内核参数</p>
<p>ifconfig: 查看网卡配置</p>
<p>bg/fg: 将作业放在后台/前台运行</p>
<p>jobs: 查看当前作业</p>
<p>kill -9 [pid]:  强行结束某个进程，其中[pid]是进程号</p>
<p>uname –a: 显示操作系统信息</p>
<p><strong>其他控制</strong></p>
<p>ctrl+c        中止任务</p>
<p>ctrl+d        终止任务</p>
<p>ctrl+z        后台运行任务</p>
<p>j/f                命令行下的页面导航</p>
<p id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown">就这么多。如果你对Mac OS X的底层UNIX以及苹果对它的改造较有兴趣，推荐一本入门书《A Practical Guide to UNIX for Mac OS X Users》</p>
<hr />Copyright &copy; SITE_NAME. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></content:encoded>
			<wfw:commentRss>http://www.hengxinsoft.com/2011/07/mac-os-x%e4%b8%8b%e7%94%a8%e4%ba%8e%e7%b3%bb%e7%bb%9f%e7%9b%91%e6%8e%a7%e5%92%8c%e7%ae%a1%e7%90%86%e7%9a%84%e5%91%bd%e4%bb%a4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EXC_BAD_ACCESS错误的查找方法</title>
		<link>http://www.hengxinsoft.com/2011/07/exc_bad_access%e9%94%99%e8%af%af%e7%9a%84%e6%9f%a5%e6%89%be%e6%96%b9%e6%b3%95/</link>
		<comments>http://www.hengxinsoft.com/2011/07/exc_bad_access%e9%94%99%e8%af%af%e7%9a%84%e6%9f%a5%e6%89%be%e6%96%b9%e6%b3%95/#comments</comments>
		<pubDate>Sun, 03 Jul 2011 13:46:17 +0000</pubDate>
		<dc:creator>akin</dc:creator>
				<category><![CDATA[iphone开发]]></category>
		<category><![CDATA[EXC_BAD_ACCESS]]></category>

		<guid isPermaLink="false">http://www.hengxinsoft.com/?p=687</guid>
		<description><![CDATA[相信没有个做iphone开发的人都会遇到EXC_BAD_ACCESS吧，解释下EXC_BAD_ACCESS，当你向已经释放的对象发送消息时就会出现这种错误。我们可以通过设置NSZombieEnabled变量来查找错误的根源 至于NSZombieEnabled，就是当设置NSZombieEnabled环境变量后，一个对象销毁时会被转化为_NSZombie，个人感 觉和线程的那几个状态有些相似，设置NSZombieEnabled后，当你向一个已经释放的对象发送消息，这个对象就不会向之前那样Crash或者产生 一个难以理解的行为，而是放出一个错误消息，然后以一种可预测的可以产生debug断点的方式消失（原文是die），因此我们就可以找到具体或者大概是哪 个对象被错误的释放了。 设置NSZombieEnabled的方法如下 在XCode左边那个Groups &#38; Files栏中找到Executables，双击其中的一项，或者右键Get Info； 切换到Arguments 这里一共有两个框，在下面那个Variables to be set in the environment:点+号添加一项，Name里填NSZombieEnabled，Value填Yes，要保证前面的钩是选中的。 去试一下吧 看看能不能找到你的错误 Copyright &#169; SITE_NAME. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></description>
			<content:encoded><![CDATA[<p>相信没有个做iphone开发的人都会遇到EXC_BAD_ACCESS吧，解释下EXC_BAD_ACCESS，当你向已经释放的对象发送消息时就会出现这种错误。我们可以通过设置NSZombieEnabled变量来查找错误的根源</p>
<p>至于NSZombieEnabled，就是当设置NSZombieEnabled环境变量后，一个对象销毁时会被转化为_NSZombie，个人感  觉和线程的那几个状态有些相似，设置NSZombieEnabled后，当你向一个已经释放的对象发送消息，这个对象就不会向之前那样Crash或者产生   一个难以理解的行为，而是放出一个错误消息，然后以一种可预测的可以产生debug断点的方式消失（原文是die），因此我们就可以找到具体或者大概是哪  个对象被错误的释放了。</p>
<p>设置NSZombieEnabled的方法如下</p>
<ol>
<li>在XCode左边那个Groups &amp; Files栏中找到Executables，双击其中的一项，或者右键Get Info；</li>
<li>切换到Arguments</li>
<li>这里一共有两个框，在下面那个Variables to be set in the environment:点+号添加一项，Name里填NSZombieEnabled，Value填Yes，要保证前面的钩是选中的。</li>
</ol>
<p>去试一下吧 看看能不能找到你的错误</p>
<hr />Copyright &copy; SITE_NAME. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></content:encoded>
			<wfw:commentRss>http://www.hengxinsoft.com/2011/07/exc_bad_access%e9%94%99%e8%af%af%e7%9a%84%e6%9f%a5%e6%89%be%e6%96%b9%e6%b3%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone loadView 和 viewDidLoad的区别</title>
		<link>http://www.hengxinsoft.com/2011/06/iphone-loadview-%e5%92%8c-viewdidload%e7%9a%84%e5%8c%ba%e5%88%ab/</link>
		<comments>http://www.hengxinsoft.com/2011/06/iphone-loadview-%e5%92%8c-viewdidload%e7%9a%84%e5%8c%ba%e5%88%ab/#comments</comments>
		<pubDate>Mon, 20 Jun 2011 01:45:35 +0000</pubDate>
		<dc:creator>akin</dc:creator>
				<category><![CDATA[3G开发]]></category>
		<category><![CDATA[iphone开发]]></category>
		<category><![CDATA[loadView]]></category>
		<category><![CDATA[viewDidLoad]]></category>

		<guid isPermaLink="false">http://www.hengxinsoft.com/?p=683</guid>
		<description><![CDATA[loadView 和 viewDidLoad 是 iPhone 开发中肯定要用到的两个方法。 他们都可以用来在视图载入的时候初始化一些内容。 但是他们有什么区别呢？ viewDidLoad 方法只有当 view 从 nib 文件初始化的时候才被调用。viewDidLoad 用于初始化，加载时用到。 loadView 方法在控制器的 view 为 nil 的时候被调用。 此方法用于以编程的方式创建 view 的时候用到。loadView 是使用代码生成视图的时候，当视图第一次载入的时候调用的方法。用于使用（写）代码来实现控件。用于使用代码生成控件的函数。如： - ( void ) loadView { UIView *view = [ [ UIView alloc] initWithFrame:[ UIScreen mainScreen] .applicationFrame] ; [ view setBackgroundColor:_color] ; self.view = view; [ view release] ; } [...]]]></description>
			<content:encoded><![CDATA[<p>loadView 和 viewDidLoad 是 iPhone 开发中肯定要用到的两个方法。 他们都可以用来在视图载入的时候初始化一些内容。 但是他们有什么区别呢？</p>
<p>viewDidLoad 方法只有当 view 从 nib 文件初始化的时候才被调用。viewDidLoad 用于初始化，加载时用到。</p>
<p>loadView 方法在控制器的 view 为 nil 的时候被调用。 此方法用于以编程的方式创建 view 的时候用到。loadView 是使用代码生成视图的时候，当视图第一次载入的时候调用的方法。用于使用（写）代码来实现控件。用于使用代码生成控件的函数。如：</p>
<p>- ( void ) loadView {<br />
UIView *view = [ [ UIView alloc] initWithFrame:[ UIScreen<br />
mainScreen] .applicationFrame] ;<br />
[ view setBackgroundColor:_color] ;<br />
self.view = view;<br />
[ view release] ;<br />
}</p>
<p>你在控制器中实现了 loadView 方法，那么你可能会在应用运行的某个时候被内存管理控制调用。 如果设备内存不足的时候， view 控制器会收到 didReceiveMemoryWarning 的消息。 默认的实现是检查当前控制器的 view 是否在使用。 如果它的 view 不在当前正在使用的 view hierarchy 里面，且你的控制器实现了 loadView 方法，那么这个 view 将被 release, loadView 方法将被再次调用来创建一个新的 view。</p>
<hr />Copyright &copy; SITE_NAME. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></content:encoded>
			<wfw:commentRss>http://www.hengxinsoft.com/2011/06/iphone-loadview-%e5%92%8c-viewdidload%e7%9a%84%e5%8c%ba%e5%88%ab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>box2d iphone sdk混用</title>
		<link>http://www.hengxinsoft.com/2011/05/box2d-iphone-sdk%e6%b7%b7%e7%94%a8/</link>
		<comments>http://www.hengxinsoft.com/2011/05/box2d-iphone-sdk%e6%b7%b7%e7%94%a8/#comments</comments>
		<pubDate>Fri, 20 May 2011 07:42:26 +0000</pubDate>
		<dc:creator>akin</dc:creator>
				<category><![CDATA[3G开发]]></category>
		<category><![CDATA[iphone开发]]></category>

		<guid isPermaLink="false">http://www.hengxinsoft.com/?p=674</guid>
		<description><![CDATA[导入box2d所必须得文件之后 targets-&#62;项目名称-&#62;getinfo: Build-&#62;Search Paths Header Search Paths: ${PROJECT_DIR} 引导到此工程下面 Copyright &#169; SITE_NAME. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></description>
			<content:encoded><![CDATA[<p>导入box2d所必须得文件之后</p>
<p>targets-&gt;项目名称-&gt;getinfo: Build-&gt;Search Paths</p>
<p id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown">Header Search Paths: ${PROJECT_DIR} 引导到此工程下面</p>
<hr />Copyright &copy; SITE_NAME. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></content:encoded>
			<wfw:commentRss>http://www.hengxinsoft.com/2011/05/box2d-iphone-sdk%e6%b7%b7%e7%94%a8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Box2d 中文文档</title>
		<link>http://www.hengxinsoft.com/2011/05/box2d-%e4%b8%ad%e6%96%87%e6%96%87%e6%a1%a3/</link>
		<comments>http://www.hengxinsoft.com/2011/05/box2d-%e4%b8%ad%e6%96%87%e6%96%87%e6%a1%a3/#comments</comments>
		<pubDate>Thu, 19 May 2011 16:13:13 +0000</pubDate>
		<dc:creator>akin</dc:creator>
				<category><![CDATA[3G开发]]></category>
		<category><![CDATA[iphone开发]]></category>
		<category><![CDATA[box2d]]></category>
		<category><![CDATA[Box2d 文档]]></category>

		<guid isPermaLink="false">http://www.hengxinsoft.com/?p=670</guid>
		<description><![CDATA[由于需要，最近研究了一下Box2d 这个物理引擎 我是结合iphonesdk使用的 不过 Box2d真的很给力呀，感谢Aman JIANG(江超宇)童鞋已经做了翻译工作，下面给出下载地址 downMe here Copyright &#169; SITE_NAME. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></description>
			<content:encoded><![CDATA[<p>由于需要，最近研究了一下Box2d 这个物理引擎 我是结合iphonesdk使用的 不过 Box2d真的很给力呀，感谢Aman JIANG(江超宇)童鞋已经做了翻译工作，下面给出下载地址<a href="http://www.cocoachina.com/gamedev/2d/2010/0313/637.html" target="_blank"> downMe here</a></p>
<hr />Copyright &copy; SITE_NAME. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></content:encoded>
			<wfw:commentRss>http://www.hengxinsoft.com/2011/05/box2d-%e4%b8%ad%e6%96%87%e6%96%87%e6%a1%a3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

