<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[shark0001的专栏]]></title><description><![CDATA[shark 的编程之旅]]></description><link>https://blog.youkuaiyun.com/shark0001</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; shark0001]]></copyright><item><title><![CDATA[iphone  表情编码]]></title><link>https://blog.youkuaiyun.com/shark0001/article/details/7066780</link><guid>https://blog.youkuaiyun.com/shark0001/article/details/7066780</guid><author>shark0001</author><pubDate>Tue, 13 Dec 2011 14:24:58 +0800</pubDate><description><![CDATA[http://pukupi.com/post/1964/




iPhone Emoji Decimal Character Entities
The complete list of iPhone emoji and their respective decimal character entities:




&#xe415;
&#xe056;
&#xe057;]]></description><category></category></item><item><title><![CDATA[message sent to deallocated instance 除錯]]></title><link>https://blog.youkuaiyun.com/shark0001/article/details/7064484</link><guid>https://blog.youkuaiyun.com/shark0001/article/details/7064484</guid><author>shark0001</author><pubDate>Mon, 12 Dec 2011 18:02:19 +0800</pubDate><description><![CDATA[常常程式一長，哪邊就不小心多release了一次
這時候編譯器就只會告訴你：BAD_ACCESS，然後程式就死了
剛開始會google到去Argument加個NSZombieEnabled YES
會多吐一點東西讓你把bug除掉
今天遇到加了這個後error message變：
[CALayer release]:message sent to deallocated instance]]></description><category></category></item><item><title><![CDATA[关于 iOS设备真机调度时，设备连接导致的 Device busy问题]]></title><link>https://blog.youkuaiyun.com/shark0001/article/details/7027318</link><guid>https://blog.youkuaiyun.com/shark0001/article/details/7027318</guid><author>shark0001</author><pubDate>Wed, 30 Nov 2011 15:18:37 +0800</pubDate><description><![CDATA[1. 设备连接在pc上，developer tool报告设备连接失败，请连接设备，这时拨掉，重新连接一次。


2.正在设备上调试时，切记不要拨掉设备 ，应该点击IDE上的stop按钮来停止否则会带来一系列的问题：
操作： 以iphone为例，如果xcode连接真机且在调试过程中，拨掉真机！
结果： xcode 会经常莫名其妙的占用100% 的资源，然后没响应！
给开发带来很大的麻烦，]]></description><category></category></item><item><title><![CDATA[关于UILabel的多行显示 UILabel numberOfLines]]></title><link>https://blog.youkuaiyun.com/shark0001/article/details/7007238</link><guid>https://blog.youkuaiyun.com/shark0001/article/details/7007238</guid><author>shark0001</author><pubDate>Thu, 24 Nov 2011 11:11:08 +0800</pubDate><description><![CDATA[早上做了会实验结果如下：

1.N行完全自适应：
        UILabel *testLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 30, 100, 21)];
        NSString *txt = @"dffffffffffffffffffffffffffffffffffffffffffffffffffffff]]></description><category></category></item><item><title><![CDATA[决断一个点是否在一个多边形内]]></title><link>https://blog.youkuaiyun.com/shark0001/article/details/6973511</link><guid>https://blog.youkuaiyun.com/shark0001/article/details/6973511</guid><author>shark0001</author><pubDate>Tue, 15 Nov 2011 16:13:30 +0800</pubDate><description><![CDATA[Determining if a point lies on the interior of a polygon
Written by Paul Bourke
November 1987



Solution 1 (2D)

The following is a simple solution to the problem often encountered in compute]]></description><category></category></item><item><title><![CDATA[Launching Your Own Application via a Custom URL Scheme]]></title><link>https://blog.youkuaiyun.com/shark0001/article/details/6951905</link><guid>https://blog.youkuaiyun.com/shark0001/article/details/6951905</guid><author>shark0001</author><pubDate>Wed, 09 Nov 2011 12:24:12 +0800</pubDate><description><![CDATA[Tweet

One of the coolest features of the iPhone SDK is an application’s ability to “bind” itself to a custom URL scheme and for that scheme to be used to launch itself from either a browser or from]]></description><category></category></item><item><title><![CDATA[关于gcc的stack size]]></title><link>https://blog.youkuaiyun.com/shark0001/article/details/6925791</link><guid>https://blog.youkuaiyun.com/shark0001/article/details/6925791</guid><author>shark0001</author><pubDate>Tue, 01 Nov 2011 17:59:07 +0800</pubDate><description><![CDATA[This file gives some hints on addressing this problem on different platforms.

Under Unix-like systems, programs may throw a "Segmentation Fault"
error.  This can be due to stack overflow, especially]]></description><category></category></item><item><title><![CDATA[iphone 后台播放音乐问题]]></title><link>https://blog.youkuaiyun.com/shark0001/article/details/6897561</link><guid>https://blog.youkuaiyun.com/shark0001/article/details/6897561</guid><author>shark0001</author><pubDate>Sun, 23 Oct 2011 02:06:39 +0800</pubDate><description><![CDATA[1.用avaudioplayer 类。
用法见官方文档里的例子AddMusic


2. 在你工程的info.plist里添加 一个数组成员UIBackgroundModes，然后为数组添加成员audio  如下：
UIBackgroundModes

audio



以下Notes转自：http://diwublog.com/archives/89



如果音频]]></description><category></category></item><item><title><![CDATA[Send a BOOL value from JavaScript to Objective-C(UIWebview interact with app)]]></title><link>https://blog.youkuaiyun.com/shark0001/article/details/6859766</link><guid>https://blog.youkuaiyun.com/shark0001/article/details/6859766</guid><author>shark0001</author><pubDate>Mon, 10 Oct 2011 16:38:33 +0800</pubDate><description><![CDATA[I’m developing an iPhone app which has a built-in quiz which runs using JavaScript within a UIWebView. After a user clicks aCheck Answers bu]]></description><category></category></item><item><title><![CDATA[iphone开发 地图线路]]></title><link>https://blog.youkuaiyun.com/shark0001/article/details/6834343</link><guid>https://blog.youkuaiyun.com/shark0001/article/details/6834343</guid><author>shark0001</author><pubDate>Thu, 29 Sep 2011 16:14:36 +0800</pubDate><description><![CDATA[iphone开发 地图线路
转自： http://hi.baidu.com/yunhuaikong/blog/item/02718e4fa46878d0d0c86a6b.html



因为接触到了这么一个项目，所以进行了这个功能的深入了解，比较忙，所以把关键代码贴在这]]></description><category></category></item><item><title><![CDATA[Google map api family]]></title><link>https://blog.youkuaiyun.com/shark0001/article/details/6826693</link><guid>https://blog.youkuaiyun.com/shark0001/article/details/6826693</guid><author>shark0001</author><pubDate>Tue, 27 Sep 2011 16:28:34 +0800</pubDate><description><![CDATA[参考：
http://code.google.com/apis/maps/

http://code.google.com/apis/maps/documentation/places/#PlaceSearches
http://gmaps-samples.googlecode.com/svn/trunk/geocoder/singlegeocode.html
http://forums]]></description><category></category></item><item><title><![CDATA[IOS---UIWebview用法点滴]]></title><link>https://blog.youkuaiyun.com/shark0001/article/details/6821986</link><guid>https://blog.youkuaiyun.com/shark0001/article/details/6821986</guid><author>shark0001</author><pubDate>Mon, 26 Sep 2011 14:07:50 +0800</pubDate><description><![CDATA[1.  load  from url：从url加载页面
NSURL *url = [NSURL URLWithString:"http://stackoverflow.com"];
NSString *body = @"laadeedaa";

NSURLRequest]]></description><category></category></item><item><title><![CDATA[通过#define 宏 连接字符串的特殊方法[转]]]></title><link>https://blog.youkuaiyun.com/shark0001/article/details/6793491</link><guid>https://blog.youkuaiyun.com/shark0001/article/details/6793491</guid><author>shark0001</author><pubDate>Tue, 20 Sep 2011 13:49:40 +0800</pubDate><description><![CDATA[转自：
http://www.cppblog.com/kerlw/archive/2007/04/20/22381.html


最近看com相关的资料，看到CCmdTarget实现com接口的时候，去读了一些宏的定义，在afxdisp.h头文件中

#define]]></description><category></category></item><item><title><![CDATA[How to create jigsaw puzzle from an image using javascript(拼图引擎)]]></title><link>https://blog.youkuaiyun.com/shark0001/article/details/6754320</link><guid>https://blog.youkuaiyun.com/shark0001/article/details/6754320</guid><author>shark0001</author><pubDate>Tue, 06 Sep 2011 18:07:12 +0800</pubDate><description><![CDATA[How to create jigsaw puzzle from an image using javascript




here are several pieces to this puzzle. :)
The first piece is SVG and i]]></description><category></category></item><item><title><![CDATA[7 Tips for iPhone Game Sound]]></title><link>https://blog.youkuaiyun.com/shark0001/article/details/6727348</link><guid>https://blog.youkuaiyun.com/shark0001/article/details/6727348</guid><author>shark0001</author><pubDate>Sun, 28 Aug 2011 21:00:36 +0800</pubDate><description><![CDATA[From:  http://www.modernbeats.com/hit-talk/7-tips-for-iphone-game-sound/

7 Tips for iPhone Game Sound

Tweet

7Share

 February 23,]]></description><category></category></item><item><title><![CDATA[ios全景展示]]></title><link>https://blog.youkuaiyun.com/shark0001/article/details/6721902</link><guid>https://blog.youkuaiyun.com/shark0001/article/details/6721902</guid><author>shark0001</author><pubDate>Fri, 26 Aug 2011 14:19:06 +0800</pubDate><description><![CDATA[panoramagl


工程地址：
http://code.google.com/p/panoramagl/

panoramagl的使用方法，在上面的工程主页也有DEMO讲解，如果你需要详细的了解如何使用panoramagl库，你可以参考 ：

http://]]></description><category></category></item><item><title><![CDATA[iphone chat online  --xmpp protocal]]></title><link>https://blog.youkuaiyun.com/shark0001/article/details/6708609</link><guid>https://blog.youkuaiyun.com/shark0001/article/details/6708609</guid><author>shark0001</author><pubDate>Mon, 22 Aug 2011 14:54:23 +0800</pubDate><description><![CDATA[刚刚开始： 参考这里http://code.google.com/p/xmppframework/wiki/iPhone  更多请参考google
刚刚被折腾了半天，google project里xmppframework里代码给的https的地址，其实是http的地址，真晕。]]></description><category></category></item><item><title><![CDATA[*** __NSAutoreleaseNoPool(): Object 0x6013810 of class __NSArrayI autoreleased with no pool in place]]></title><link>https://blog.youkuaiyun.com/shark0001/article/details/6703543</link><guid>https://blog.youkuaiyun.com/shark0001/article/details/6703543</guid><author>shark0001</author><pubDate>Sat, 20 Aug 2011 06:47:25 +0800</pubDate><description><![CDATA[被这个问题折腾了一夜，终于找到原因了。
网上大部分人说的是当perforSelectorInBackground线程里时，不要忘记手动 添加autoreleasepool（如何添加请参见main。m）


我犯的错误是定义了全局变量

NSArray *gFiles]]></description><category></category></item><item><title><![CDATA[How to Turn Your Mac Into a Web Server]]></title><link>https://blog.youkuaiyun.com/shark0001/article/details/6672438</link><guid>https://blog.youkuaiyun.com/shark0001/article/details/6672438</guid><author>shark0001</author><pubDate>Tue, 09 Aug 2011 14:29:47 +0800</pubDate><description><![CDATA[From: http://www.macinstruct.com/node/112
How to Turn Your Mac Into a Web Server




What You Need
- Mac OS 10.3 or later
- Dynamic]]></description><category></category></item><item><title><![CDATA[手动制作Iphone ipa软件教程]]></title><link>https://blog.youkuaiyun.com/shark0001/article/details/6668665</link><guid>https://blog.youkuaiyun.com/shark0001/article/details/6668665</guid><author>shark0001</author><pubDate>Mon, 08 Aug 2011 11:21:28 +0800</pubDate><description><![CDATA[手动制作Iphone ipa软件教程
1.  前提条件
以下描述的所有操作，都是在MAC OS 10.5.5 上进行的。如果你使用的是windows OS或者是其他版本的MAC OS，操作步骤可能有所不同。
你的手机在安装非官方ipa软件前，需要进行ipa破解工作。具体操作]]></description><category></category></item></channel></rss>