<?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>iPhone SDK develop &#38; programming tips &#187; iPhone SDK</title>
	<atom:link href="http://www.flyblog.info/tag/iphone-sdk/feed" rel="self" type="application/rss+xml" />
	<link>http://www.flyblog.info</link>
	<description>ideas for programming</description>
	<lastBuildDate>Fri, 20 May 2011 09:49:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>iPhone开发中的问题整理（一）</title>
		<link>http://www.flyblog.info/catprogramming/423.html</link>
		<comments>http://www.flyblog.info/catprogramming/423.html#comments</comments>
		<pubDate>Fri, 23 Oct 2009 08:11:20 +0000</pubDate>
		<dc:creator>Flyblog</dc:creator>
				<category><![CDATA[编程开发]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[开发]]></category>

		<guid isPermaLink="false">http://www.flyblog.info/?p=423</guid>
		<description><![CDATA[看到很刚开始开发iPhone软件的朋友问很多问题，其实同样的问题我也碰到过， 所以抽时间把能想到的或者碰到的问题汇总一下， 一来可以给自己做个备忘也可以和朋友们分享探讨。]]></description>
		<wfw:commentRss>http://www.flyblog.info/catprogramming/423.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ZipArchive has been updated to version 1.1 (更新至1.1版）</title>
		<link>http://www.flyblog.info/catprogramming/419.html</link>
		<comments>http://www.flyblog.info/catprogramming/419.html#comments</comments>
		<pubDate>Tue, 20 Oct 2009 01:52:02 +0000</pubDate>
		<dc:creator>Flyblog</dc:creator>
				<category><![CDATA[编程开发]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[compress]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[uncompress]]></category>
		<category><![CDATA[unzip]]></category>
		<category><![CDATA[zip]]></category>

		<guid isPermaLink="false">http://www.flyblog.info/?p=419</guid>
		<description><![CDATA[ZipArchive is a wrapper class to compress and uncompress zip files for Objective-C and cocoa use. It's developed based on minizip and zlib. ]]></description>
		<wfw:commentRss>http://www.flyblog.info/catprogramming/419.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Create custom checkbox style button for iPhone</title>
		<link>http://www.flyblog.info/catprogramming/409.html</link>
		<comments>http://www.flyblog.info/catprogramming/409.html#comments</comments>
		<pubDate>Mon, 19 Oct 2009 08:19:39 +0000</pubDate>
		<dc:creator>Flyblog</dc:creator>
				<category><![CDATA[编程开发]]></category>
		<category><![CDATA[CheckBox Button]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[custom view]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[Objective-C]]></category>

		<guid isPermaLink="false">http://www.flyblog.info/?p=409</guid>
		<description><![CDATA[Recently, I got a task to develop an application for iPhone. In the application,  there are some optional choices for user to decide further processes. The first idea jumps out from my head is something like button with a checkbox just the same as other desktop platforms, but unfortunately, iPhone SDK doesn't provide such view. The only official choice is the ON&#124;OFF switch view,  but it really can't represent the actually meaning of the options. So comes out the idea of writing  custom checkbox style button.]]></description>
		<wfw:commentRss>http://www.flyblog.info/catprogramming/409.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone SDK开发： 如何上传图片文件到服务器</title>
		<link>http://www.flyblog.info/catprogramming/392.html</link>
		<comments>http://www.flyblog.info/catprogramming/392.html#comments</comments>
		<pubDate>Wed, 05 Aug 2009 02:54:44 +0000</pubDate>
		<dc:creator>Flyblog</dc:creator>
				<category><![CDATA[编程开发]]></category>
		<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[to server]]></category>
		<category><![CDATA[上传文件，upload picture]]></category>

		<guid isPermaLink="false">http://www.flyblog.info/?p=392</guid>
		<description><![CDATA[现成的代码， 如果不想压缩，可以去掉zlib 
头文件

?View Code OBJC1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@interface EPUploader : NSObject &#123;
    NSURL *serverURL;
    NSString *filePath;
    id delegate;
    SEL doneSelector;
    SEL errorSelector;
&#160;
    BOOL uploadDidSucceed;
&#125;
&#160;
-   &#40;id&#41;initWithURL: &#40;NSURL *&#41;serverURL
        filePath: &#40;NSString *&#41;filePath
  [...]]]></description>
		<wfw:commentRss>http://www.flyblog.info/catprogramming/392.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>成功升级iDeneb 10.5.7</title>
		<link>http://www.flyblog.info/catprogramming/386.html</link>
		<comments>http://www.flyblog.info/catprogramming/386.html#comments</comments>
		<pubDate>Thu, 23 Jul 2009 13:55:08 +0000</pubDate>
		<dc:creator>Flyblog</dc:creator>
				<category><![CDATA[编程开发]]></category>
		<category><![CDATA[10.5.7]]></category>
		<category><![CDATA[iDeneb]]></category>
		<category><![CDATA[iPhone SDK]]></category>

		<guid isPermaLink="false">http://www.flyblog.info/?p=386</guid>
		<description><![CDATA[前几天说了， macbook硬盘几乎是要挂了， 所以想起了我闲置的pc。 一年前安装过iDeneb 10.5.6， 已经好久没有使用了。 这不，有得打开来暂时替代macbook的工作。偏偏事不随人愿， iPhone SDK3.0需要lepoard 10.5.7， 只好到iDeneb官网下载10.5.7的升级包了。
这次的升级包是个combo， combo的意思是你可以从10.5.x任意版本升级， 无须从10.5.6升级，也就是说你可以直接从10.5.3或者10.5.5 升级到10.5.7. 由于包含的内容较多， 所以接近800MB大小， 官网网站有两个链接 ， 分别是用于下载 iDeneb.Combo.Upgrade.KIT.1057.dmg 和iDeneb.Tool.rev1.mpkg.zip， 但其实 iDeneb.Combo.Upgrade.KIT.1057.dmg中已经包含了iDeneb.Tool.rev1.mpkg， 所以只下一个就可以了
iDeneb官网需要注册才能看见下载链接， 所以为了方便， 将下载链接放在这里
http://www.megaupload.com/?d=HSI0YY8E
用迅雷下载也挺快的， 最高能达到100多kb
下载完就可以升级了， 升级前最好备份一下自己的ext， 可以用OSX86Tools 进行备份， 很方便。
打开dmg映像中的 iDeneb.MacOSx86UpdCombo10.5.7.pkg 进行安装，安装完不要重新启动，不要点击“Restart&#8221;，这时候重启有可能进不去系统，白苹果了。
然后直接运行iDeneb.Tool.rev1.mpkg， 选择内核，如图

安装完后再点击“Restart”重新启动电脑，升级完毕。 可以享受一下MAC 10.5.7 了
下面是升级后的关于信息的截图



Related posts:iPhone开发中的问题整理（一） 看到很刚开始开发iPhone软件的朋友问很多问题，其实同样的问题我也碰到过， 所以抽时间把能想到的或者碰到的问题汇总一下， 一来可以给自己做个备忘也可以和朋友们分享探讨。...]]></description>
		<wfw:commentRss>http://www.flyblog.info/catprogramming/386.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>base64 encoder/decoder for objective-c 编码及解码</title>
		<link>http://www.flyblog.info/catprogramming/376.html</link>
		<comments>http://www.flyblog.info/catprogramming/376.html#comments</comments>
		<pubDate>Wed, 10 Jun 2009 05:08:36 +0000</pubDate>
		<dc:creator>Flyblog</dc:creator>
				<category><![CDATA[编程开发]]></category>
		<category><![CDATA[base64]]></category>
		<category><![CDATA[decoding]]></category>
		<category><![CDATA[encoding]]></category>
		<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[编码]]></category>
		<category><![CDATA[解码]]></category>

		<guid isPermaLink="false">http://www.flyblog.info/?p=376</guid>
		<description><![CDATA[base64是广为使用的一种编码及解码方式， 通常用于网络传输和邮件传输中，使用base64可以将标点符号以及多字节文字等特殊字符编码以便传输，以下是base64 编码解码的objective－c代码， 可以用于desktop和iphone程序当中]]></description>
		<wfw:commentRss>http://www.flyblog.info/catprogramming/376.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>iPhone SDK 开发：sqlite ＋ UITableView 实现大数据浏览</title>
		<link>http://www.flyblog.info/catprogramming/371.html</link>
		<comments>http://www.flyblog.info/catprogramming/371.html#comments</comments>
		<pubDate>Tue, 09 Jun 2009 09:48:39 +0000</pubDate>
		<dc:creator>Flyblog</dc:creator>
				<category><![CDATA[编程开发]]></category>
		<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[SQLite]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[UITableView]]></category>

		<guid isPermaLink="false">http://www.flyblog.info/?p=371</guid>
		<description><![CDATA[在开始学习iPhone开发的时候就捉摸 AppStore这样的程序时怎么实现的， 动态的从服务器抓取内容，再在表格中显示。 伴随着twitter的火爆， 越来越多的软件实现了此种方式来显示twitter消息， 不巧公司也要做twitter相关的东西，正好借此机会试探着实现一下这种显示功能。
iPhone程序和传统的桌面程序的最大不同在于内存有限， 管理内存成了iPhone开发中时时刻刻需要谨记的事情。类似的功能在桌面程序上无非是将down下来的数据缓存于内存中，需要的时候画出来即可。 此法在iPhone上切不可行，虽然UITableViewCell可与reuse重复使用以节约内存使用量， 但是数据还是需要host在array或者dictionary中，必然导致程序实用大量内存儿崩溃退出。
还好，iPhone系统内置sqlite微型数据库， 这么好的查询插入引擎不善用那就是罪过了。。。
言归正传， 基本思路是这样的： 从服务器读取内容，以twitter为例，先创建消息数据表
create table public_timelines (id integer primary key autoincrement, user varchar(40),\
				   userurl text,body text, created real, created_string text,\
				   imageurl text, ordernum int, userid varchar(20), user_screenname varchar(40));
获取public timelines得到以xml形式存在的message条目，解析xml后将每条消息插入数据表， 写入成功后发送reload消息给table以重新填充表格单元内容， 如图

如果消息记录超过一条， 记得在- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
中返回消息记录 ＋ 1， 因为最后一个cell需要实现 Get More &#8230;功能
就像上一步说的， 点击最后一个cell也就是Get More&#8230;时，在此从服务器获取 [...]]]></description>
		<wfw:commentRss>http://www.flyblog.info/catprogramming/371.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>iPhone SDK 开发： 本地化应用程序ISO国家代码</title>
		<link>http://www.flyblog.info/catprogramming/362.html</link>
		<comments>http://www.flyblog.info/catprogramming/362.html#comments</comments>
		<pubDate>Tue, 19 May 2009 03:49:10 +0000</pubDate>
		<dc:creator>Flyblog</dc:creator>
				<category><![CDATA[编程开发]]></category>
		<category><![CDATA[country code]]></category>
		<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[localization]]></category>
		<category><![CDATA[国家代码]]></category>

		<guid isPermaLink="false">http://www.flyblog.info/?p=362</guid>
		<description><![CDATA[iPhone程序本地用需要用 ISO639-1的名称代码

]]></description>
		<wfw:commentRss>http://www.flyblog.info/catprogramming/362.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>iPhone SDK 开发: Facebook Connect应用</title>
		<link>http://www.flyblog.info/catprogramming/353.html</link>
		<comments>http://www.flyblog.info/catprogramming/353.html#comments</comments>
		<pubDate>Tue, 12 May 2009 03:09:11 +0000</pubDate>
		<dc:creator>Flyblog</dc:creator>
				<category><![CDATA[编程开发]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[FBConnect]]></category>
		<category><![CDATA[iPhone SDK]]></category>

		<guid isPermaLink="false">http://www.flyblog.info/?p=353</guid>
		<description><![CDATA[如果你正在开发iPhone上的<a href="http://www.facebook.com/">Facebook</a>相关的应用软件，那么根据<a href="http://www.facebook.com/">Facebook</a>的相关使用协议，必须通过官方提供的api来进行访问， 否则会涉及倒版权问题。 

<a href="http://www.facebook.com/">Facebook</a>的应用开发采用和google类似的Session Token的方式， 但比google 更复杂。 在用户登陆的过程中， <a href="http://www.facebook.com/">Facebook</a>强制用户交互操作已完成登陆，如果用户/密码验证成功，服务器会返回session key 和 对应的session secret， 右后的操作就只需要将改session key和session secret传给<a href="http://www.facebook.com/">Facebook</a>服务器即可， 无需提供用户名密码。]]></description>
		<wfw:commentRss>http://www.flyblog.info/catprogramming/353.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>iPhone SDK: 提交AppStore失败原因小结</title>
		<link>http://www.flyblog.info/catprogramming/340.html</link>
		<comments>http://www.flyblog.info/catprogramming/340.html#comments</comments>
		<pubDate>Fri, 24 Apr 2009 06:10:19 +0000</pubDate>
		<dc:creator>Flyblog</dc:creator>
				<category><![CDATA[编程开发]]></category>
		<category><![CDATA[codesign]]></category>
		<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[提交]]></category>

		<guid isPermaLink="false">http://www.flyblog.info/?p=340</guid>
		<description><![CDATA[这一次提交软件到AppStore 遇到了点麻烦， 编译、生成都没有出什么问题， 但是在iTunesconnect中提交的时候却遇到了问题。 在上传文件的时候被告知Binary没有被正确签名
The binary you uploaded was invalid. The signature was invalid, or it was not singned with an Apple submission certificate.

在这个头疼的问题上花了两天时间， 先是按照Apple Program Portal 中的步骤一一试验

   1.  Select the Target and open the Build Settings Inspector. Confirm you are in the Distribution Configuration.
       先在工程设置中确认是发布版本
 [...]]]></description>
		<wfw:commentRss>http://www.flyblog.info/catprogramming/340.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

