<?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>悠悠索引</title>
	<atom:link href="http://www.uuindex.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.uuindex.com</link>
	<description>iphone开发技术索引,资源,技巧</description>
	<lastBuildDate>Mon, 06 Sep 2010 14:57:01 +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>2010-09-03(blue-navigation-button,geocoding-api-google,animations)</title>
		<link>http://www.uuindex.com/?p=1111</link>
		<comments>http://www.uuindex.com/?p=1111#comments</comments>
		<pubDate>Thu, 02 Sep 2010 14:02:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iphone UI]]></category>

		<guid isPermaLink="false">http://www.uuindex.com/?p=1111</guid>
		<description><![CDATA[tabbar hide
http://www.devdiv.net/blog/space.php?uid=1&#038;do=blog&#038;id=1994
http://auauau.javaeye.com/blog/595521
http://www.cocoachina.com/bbs/read.php?tid=13162
http://github.com/neror/CA360
map view touch event
http://stackoverflow.com/questions/1049889/how-to-intercept-touches-events-on-a-mkmapview-or-uiwebview-objects
http://www.switchonthecode.com/tutorials/creating-basic-animations-on-iphone
http://www.cocoachina.com/appstore/sales/2010/0902/2078.html
http://www.switchonthecode.com/tutorials/iphone-tutorial-how-to-create-a-blue-navigation-button
http://blog.sallarp.com/ipad-iphone-forward-geocoding-api-google/
http://qlhuangrui.appspot.com/  androind
good ui
http://blog.danilocampos.com/2009/10/29/iphone-development-force-uitableview-to-show-only-complete-cells/
http://kosmaczewski.net/2009/03/08/asynchronous-loading-of-images-in-a-uitableview/
http://github.com/akosma/async-uitableview/
http://github.com/samsoffes/sstoolkit
jogu-asi-http-request-887fcad
http://developer.apple.com/iphone/library/samplecode/LazyTableImages/Introduction/Intro.html
]]></description>
			<content:encoded><![CDATA[<p>tabbar hide<br />
http://www.devdiv.net/blog/space.php?uid=1&#038;do=blog&#038;id=1994<br />
http://auauau.javaeye.com/blog/595521<br />
http://www.cocoachina.com/bbs/read.php?tid=13162</p>
<p>http://github.com/neror/CA360</p>
<p>map view touch event<br />
http://stackoverflow.com/questions/1049889/how-to-intercept-touches-events-on-a-mkmapview-or-uiwebview-objects</p>
<p>http://www.switchonthecode.com/tutorials/creating-basic-animations-on-iphone</p>
<p>http://www.cocoachina.com/appstore/sales/2010/0902/2078.html</p>
<p>http://www.switchonthecode.com/tutorials/iphone-tutorial-how-to-create-a-blue-navigation-button</p>
<p>http://blog.sallarp.com/ipad-iphone-forward-geocoding-api-google/</p>
<p>http://qlhuangrui.appspot.com/  androind</p>
<p>good ui<br />
http://blog.danilocampos.com/2009/10/29/iphone-development-force-uitableview-to-show-only-complete-cells/</p>
<p>http://kosmaczewski.net/2009/03/08/asynchronous-loading-of-images-in-a-uitableview/</p>
<p>http://github.com/akosma/async-uitableview/</p>
<p>http://github.com/samsoffes/sstoolkit<br />
jogu-asi-http-request-887fcad</p>
<p>http://developer.apple.com/iphone/library/samplecode/LazyTableImages/Introduction/Intro.html</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uuindex.com/?feed=rss2&amp;p=1111</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>开放API</title>
		<link>http://www.uuindex.com/?p=1109</link>
		<comments>http://www.uuindex.com/?p=1109#comments</comments>
		<pubDate>Wed, 01 Sep 2010 04:47:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iphone资讯]]></category>

		<guid isPermaLink="false">http://www.uuindex.com/?p=1109</guid>
		<description><![CDATA[http://www.cocoachina.com/macdev/network/2010/0526/1558.html
]]></description>
			<content:encoded><![CDATA[<p>http://www.cocoachina.com/macdev/network/2010/0526/1558.html</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uuindex.com/?feed=rss2&amp;p=1109</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2010-08-31(cool ui)</title>
		<link>http://www.uuindex.com/?p=1106</link>
		<comments>http://www.uuindex.com/?p=1106#comments</comments>
		<pubDate>Tue, 31 Aug 2010 06:06:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iphone UI]]></category>

		<guid isPermaLink="false">http://www.uuindex.com/?p=1106</guid>
		<description><![CDATA[http://github.com/millenomi/mover-packaging/
http://itunes.apple.com/us/app/tweetee-cute-twitter-client/id352215350?mt=8
http://itunes.apple.com/us/app/minibooks-lite-for-freshbooks/id322591584?mt=8
http://maniacdev.com/2010/06/35-open-source-iphone-app-store-apps-updated-with-10-new-apps/
]]></description>
			<content:encoded><![CDATA[<p>http://github.com/millenomi/mover-packaging/</p>
<p>http://itunes.apple.com/us/app/tweetee-cute-twitter-client/id352215350?mt=8</p>
<p>http://itunes.apple.com/us/app/minibooks-lite-for-freshbooks/id322591584?mt=8</p>
<p>http://maniacdev.com/2010/06/35-open-source-iphone-app-store-apps-updated-with-10-new-apps/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uuindex.com/?feed=rss2&amp;p=1106</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2010-8-29(cool dragkit)</title>
		<link>http://www.uuindex.com/?p=1093</link>
		<comments>http://www.uuindex.com/?p=1093#comments</comments>
		<pubDate>Sun, 29 Aug 2010 01:10:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iphone UI]]></category>

		<guid isPermaLink="false">http://www.uuindex.com/?p=1093</guid>
		<description><![CDATA[http://github.com/jogu/asi-http-request/commit/887fcad0f77e9717f003273612804a9b9012a140
cool ui
http://omz-software.com/blog/
http://github.com/anmtan/SCULiveTracker
http://github.com/samsoffes/tweets-from
http://dragkit.org/
http://github.com/wallclimber21/BSUIViewRearranger
http://github.com/samsoffes/EGOImageLoading
http://github.com/samsoffes/sstoolkit
http://github.com/omz/AppSales-Mobile
http://github.com/rpetrich/WBIconShadowFix
http://github.com/farcaller/WIMTouch
http://github.com/yfrancis/libstatusbar
http://github.com/duk/Briefs-sharedUI
]]></description>
			<content:encoded><![CDATA[<p>http://github.com/jogu/asi-http-request/commit/887fcad0f77e9717f003273612804a9b9012a140</p>
<p>cool ui<br />
http://omz-software.com/blog/</p>
<p>http://github.com/anmtan/SCULiveTracker</p>
<p>http://github.com/samsoffes/tweets-from</p>
<p>http://dragkit.org/</p>
<p>http://github.com/wallclimber21/BSUIViewRearranger</p>
<p>http://github.com/samsoffes/EGOImageLoading<br />
http://github.com/samsoffes/sstoolkit</p>
<p>http://github.com/omz/AppSales-Mobile</p>
<p>http://github.com/rpetrich/WBIconShadowFix</p>
<p>http://github.com/farcaller/WIMTouch</p>
<p>http://github.com/yfrancis/libstatusbar</p>
<p>http://github.com/duk/Briefs-sharedUI</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uuindex.com/?feed=rss2&amp;p=1093</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2010-08-27(grid  jpeg)</title>
		<link>http://www.uuindex.com/?p=1085</link>
		<comments>http://www.uuindex.com/?p=1085#comments</comments>
		<pubDate>Fri, 27 Aug 2010 14:34:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iphone UI]]></category>

		<guid isPermaLink="false">http://www.uuindex.com/?p=1085</guid>
		<description><![CDATA[http://www.cocoachina.com/bbs/read.php?tid-20940.html  图像压缩
cool table
http://cocoawithlove.com/2009/04/easy-custom-uitableview-drawing.html
s] BitmapFactory.decodeByteArray gives pixelated bitmap
http://www.iphonedevsdk.com/forum/iphone-sdk-development-advanced-discussion/39393-tough-one-programatically-create-bmp-image.html
+ (UIImage *) imageWithBits: (unsigned char *) bits withSize: (CGSize) size;
http://github.com/fmeyer/iphone-sample-apps/blob/3d02b8495a1cd1515dd86b1a012a8d71836ddfb3/iphone-3.0-cookbook/C07-Images/12-Bitmaps/ImageHelper.h
http://www.iphonedevx.com/?p=153
http://www.cloudgoessocial.net/2010/05/01/latest-imagemagick/
#import &#8220;PiaoGridVC.h&#8221;
@implementation PiaoGridVC
- (id)initWithFrame:(CGRect)frame {
	if(self = [super initWithFrame:frame]) {
		self.backgroundColor = [UIColor clearColor];
	}
	return self;
}
- (void)drawRect:(CGRect)rect
{
	//self.backgroundColor = [UIColor clearColor];
	self.layer.cornerRadius = 10;
	//contentText.layer.borderColor = [[UIColor blackColor] CGColor];
	self.layer.borderWidth = 1;
	self.layer.borderColor = [[UIColor grayColor] CGColor];
	CGColorRef strokeColor= [[UIColor grayColor] CGColor];
	CGContextRef context = UIGraphicsGetCurrentContext();
	CGColorSpaceRef space = [...]]]></description>
			<content:encoded><![CDATA[<p>http://www.cocoachina.com/bbs/read.php?tid-20940.html  图像压缩</p>
<p>cool table<br />
http://cocoawithlove.com/2009/04/easy-custom-uitableview-drawing.html</p>
<p>s] BitmapFactory.decodeByteArray gives pixelated bitmap</p>
<p>http://www.iphonedevsdk.com/forum/iphone-sdk-development-advanced-discussion/39393-tough-one-programatically-create-bmp-image.html</p>
<p>+ (UIImage *) imageWithBits: (unsigned char *) bits withSize: (CGSize) size;<br />
http://github.com/fmeyer/iphone-sample-apps/blob/3d02b8495a1cd1515dd86b1a012a8d71836ddfb3/iphone-3.0-cookbook/C07-Images/12-Bitmaps/ImageHelper.h</p>
<p>http://www.iphonedevx.com/?p=153</p>
<p>http://www.cloudgoessocial.net/2010/05/01/latest-imagemagick/</p>
<p>#import &#8220;PiaoGridVC.h&#8221;</p>
<p>@implementation PiaoGridVC</p>
<p>- (id)initWithFrame:(CGRect)frame {</p>
<p>	if(self = [super initWithFrame:frame]) {</p>
<p>		self.backgroundColor = [UIColor clearColor];</p>
<p>	}<br />
	return self;<br />
}</p>
<p>- (void)drawRect:(CGRect)rect<br />
{</p>
<p>	//self.backgroundColor = [UIColor clearColor];</p>
<p>	self.layer.cornerRadius = 10;</p>
<p>	//contentText.layer.borderColor = [[UIColor blackColor] CGColor];</p>
<p>	self.layer.borderWidth = 1;</p>
<p>	self.layer.borderColor = [[UIColor grayColor] CGColor];</p>
<p>	CGColorRef strokeColor= [[UIColor grayColor] CGColor];</p>
<p>	CGContextRef context = UIGraphicsGetCurrentContext();<br />
	CGColorSpaceRef space = CGColorSpaceCreateDeviceRGB();</p>
<p>	CGContextSaveGState(context);<br />
	CGContextSetStrokeColorSpace(context, space);<br />
	CGContextSetStrokeColor(context, CGColorGetComponents(strokeColor));<br />
	CGContextSetLineWidth(context, 1.0);</p>
<p>	CGContextSetRGBStrokeColor(context, 1.0, 1.0, 0.94, 1.0);</p>
<p>	CGContextMoveToPoint(context, 0, 0);<br />
	//add a line from 0,0 to the point 100,100<br />
	CGContextAddLineToPoint( context, 100,100);<br />
	//&#8221;stroke&#8221; the path<br />
	CGContextStrokePath(context);<br />
	//self.layer.backgroundColor = [[UIColor orangeColor] CGColor];</p>
<p>}</p>
<p>@end</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uuindex.com/?feed=rss2&amp;p=1085</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2010-08-20(LBS)</title>
		<link>http://www.uuindex.com/?p=1073</link>
		<comments>http://www.uuindex.com/?p=1073#comments</comments>
		<pubDate>Fri, 20 Aug 2010 05:41:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iphone资讯]]></category>

		<guid isPermaLink="false">http://www.uuindex.com/?p=1073</guid>
		<description><![CDATA[http://code.google.com/p/iphonecomic/source/browse/#svn/trunk%3Fstate%3Dclosed
http://code.google.com/p/weisms/downloads/list
动态画按钮 前进 后退
http://outerlevel.com/blog/2008/12/26/code-example-drawing-the-iphone-back-button/
地理定位改變世界的十種方式 
各种图像操作
http://www.trembl.org/codec/tag/cgimageref/
http://stackoverflow.com/questions/2475450/extracting-images-from-a-pdf
存储OpenGL ES内容到相片簿
CGImageCreate
http://www.cocoadev.com/index.pl?BaseSixtyFour
#define SCREEN_METRIC_WIDTH 320
#define SCREEN_METRIC_HEIGHT 480
#define BMP_SIZE   320*480*3
#define BMP_HEADER_LENGTH 54
- (CGImageRef) GetImageData
{
    unsigned char* pData=NULL;
    int i = 0;
    int bitsPerComponent = 8;
    int bitsPerPixel = 24;
    int bytesPerRow = 3 * SCREEN_METRIC_WIDTH;
   [...]]]></description>
			<content:encoded><![CDATA[<p>http://code.google.com/p/iphonecomic/source/browse/#svn/trunk%3Fstate%3Dclosed<br />
http://code.google.com/p/weisms/downloads/list</p>
<p>动态画按钮 前进 后退<br />
http://outerlevel.com/blog/2008/12/26/code-example-drawing-the-iphone-back-button/<br />
<a href="http://article.yeeyan.org/view/15858/127916">地理定位改變世界的十種方式 </a></p>
<p>各种图像操作<br />
http://www.trembl.org/codec/tag/cgimageref/</p>
<p>http://stackoverflow.com/questions/2475450/extracting-images-from-a-pdf</p>
<p><a href="http://www.iphone-geek.cn/%e7%bc%96%e7%a8%8b/%e5%ad%98%e5%82%a8opengl-es%e5%86%85%e5%ae%b9%e5%88%b0%e7%9b%b8%e7%89%87%e7%b0%bf%e4%b8%ad">存储OpenGL ES内容到相片簿</a><br />
CGImageCreate</p>
<p>http://www.cocoadev.com/index.pl?BaseSixtyFour</p>
<p>#define SCREEN_METRIC_WIDTH 320</p>
<p>#define SCREEN_METRIC_HEIGHT 480<br />
#define BMP_SIZE   320*480*3<br />
#define BMP_HEADER_LENGTH 54</p>
<p>- (CGImageRef) GetImageData<br />
{<br />
    unsigned char* pData=NULL;<br />
    int i = 0;</p>
<p>    int bitsPerComponent = 8;<br />
    int bitsPerPixel = 24;<br />
    int bytesPerRow = 3 * SCREEN_METRIC_WIDTH;<br />
    NSInteger myLCDDataLength =<br />
	320 * 480 * 2;<br />
    CGColorSpaceRef colorSpaceRef = CGColorSpaceCreateDeviceRGB();<br />
    CGBitmapInfo bmpInof = kCGBitmapByteOrderDefault;<br />
    CGColorRenderingIntent renderingIntent = kCGRenderingIntentDefault;<br />
    CGDataProviderRef provider = nil;<br />
    void*pBuffer = malloc(BMP_SIZE + BMP_HEADER_LENGTH);  </p>
<p>	int  s[] = {-1,-40,-1,-32,0,16,74,70,73,70,0,1,1,0,0,1,0,1,0,0,-1,-37,0,67,0,10,7,7,8,7,6,10,8,8,8,11,10,10,11,14,24,16,14,13,13,14,29,21,22,17,24,35,31,37,36,34,31,34,33,38,43,55,47,38,41,52,41,33,34,48,65,49,52,57,59,62,62,62,37,46,68,73,67,60,72,55,61,62,59,-1,-37,0,67,1,10,11,11,14,13,14,28,16,16,28,59,40,34,40,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,-1,-64,0,17,8,0,96,0,96,3,1,34,0,2,17,1,3,17,1,-1,-60,0,31,0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,8,9,10,11,-1,-60,0,-75,16,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125,1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,-127,-111,-95,8,35,66,-79,-63,21,82,-47,-16,36,51,98,114,-126,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,-125,-124,-123,-122,-121,-120,-119,-118,-110,-109,-108,-107,-106,-105,-104,-103,-102,-94,-93,-92,-91,-90,-89,-88,-87,-86,-78,-77,-76,-75,-74,-73,-72,-71,-70,-62,-61,-60,-59,-58,-57,-56,-55,-54,-46,-45,-44,-43,-42,-41,-40,-39,-38,-31,-30,-29,-28,-27,-26,-25,-24,-23,-22,-15,-14,-13,-12,-11,-10,-9,-8,-7,-6,-1,-60,0,31,1,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,1,2,3,4,5,6,7,8,9,10,11,-1,-60,0,-75,17,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119,0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,-127,8,20,66,-111,-95,-79,-63,9,35,51,82,-16,21,98,114,-47,10,22,36,52,-31,37,-15,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,-126,-125,-124,-123,-122,-121,-120,-119,-118,-110,-109,-108,-107,-106,-105,-104,-103,-102,-94,-93,-92,-91,-90,-89,-88,-87,-86,-78,-77,-76,-75,-74,-73,-72,-71,-70,-62,-61,-60,-59,-58,-57,-56,-55,-54,-46,-45,-44,-43,-42,-41,-40,-39,-38,-30,-29,-28,-27,-26,-25,-24,-23,-22,-14,-13,-12,-11,-10,-9,-8,-7,-6,-1,-38,0,12,3,1,0,2,17,3,17,0,63,0,-15,-35,-92,12,-47,74,14,70,-38,85,82,65,-10,20,8,109,0,113,-102,114,-90,-32,72,-25,-38,-112,46,104,11,-124,71,7,7,-95,-91,35,13,-73,-41,-91,38,14,105,-4,-70,-121,31,120,83,1,-96,-29,24,-21,82,-56,80,-79,32,-25,-25,63,-107,65,-102,92,-110,126,-76,-126,-61,64,-63,-87,-19,-30,50,-72,2,-94,-21,-113,90,-34,-16,-27,-84,79,42,-51,48,-62,43,-14,125,125,-86,101,43,43,-107,21,118,46,-99,-96,73,117,123,12,65,88,-122,-55,-23,-38,-67,35,66,-16,116,86,127,-67,-107,1,101,-7,113,-118,-27,110,-4,94,52,-7,86,13,57,80,50,112,54,-127,-57,-44,-41,127,-31,93,118,125,115,75,73,103,69,87,-24,118,-9,-84,27,111,114,-19,-40,-16,32,112,106,-62,38,-4,14,-101,-114,7,-81,-7,-51,87,21,34,62,-44,4,14,65,-1,0,63,-25,-38,-70,76,-104,-27,14,-104,108,29,-83,-63,-9,-11,-90,46,50,87,-44,-45,-99,-53,-15,-37,57,-57,-42,-94,-17,64,-111,54,-63,-76,31,124,17,77,3,-111,-44,103,-67,51,118,87,6,-92,-36,100,-116,40,-57,20,-125,84,71,-76,-126,70,58,82,85,-56,98,55,17,-99,-85,-105,94,24,31,126,-11,79,20,33,-114,-120,101,-15,-116,-41,69,-93,65,53,-12,-80,-23,118,-60,43,-54,-60,111,60,0,15,83,-11,-19,88,-42,16,-103,101,27,70,91,60,15,90,-10,-33,-121,94,9,-126,-38,20,-44,-82,-94,12,-18,-93,104,35,-91,103,38,-101,-79,-94,-47,92,-13,-3,95,-64,-38,-89,-121,-75,104,-68,-85,121,46,-83,-27,-27,100,-119,75,126,7,-46,-67,7,-31,-57,-121,-75,29,42,11,-127,121,17,-114,41,100,-35,18,55,85,-11,-81,71,17,70,0,1,6,5,52,-57,-5,-48,-40,-32,116,-90,-43,-56,78,-57,-56,52,15,79,90,-46,-121,-61,-38,-35,-52,98,104,52,-117,-23,99,60,-121,75,119,32,-2,56,-86,119,22,-73,54,114,121,87,54,-14,-64,-3,118,-54,-123,79,-28,107,64,32,4,-114,-108,-71,-51,20,14,-108,0,82,-95,-63,-93,28,82,80,5,-101,25,-52,23,73,33,-28,19,-122,7,-67,104,107,122,83,89,72,-73,17,-60,-53,109,115,-52,108,122,102,-78,7,7,61,-115,122,63,-122,33,95,20,120,86,-17,73,-104,-125,42,15,-35,-97,-18,-111,-56,-2,-107,-100,-99,-99,-63,106,96,-8,22,-46,43,-51,102,8,-35,115,-13,-14,5,125,37,105,10,91,-38,-57,18,0,21,84,1,-118,-7,-41,-64,78,116,-17,25,65,109,56,41,-5,-62,-116,8,-2,33,-63,31,-42,-66,-113,76,109,24,-23,-118,81,94,-13,99,-106,-56,90,40,-94,-84,-125,-112,-47,124,109,-3,-73,120,-10,-42,26,83,-108,65,-110,-59,-128,-64,-85,26,-26,-121,97,-30,-101,54,-77,-43,52,-74,-120,-82,74,77,-127,-14,31,80,-61,-91,84,-8,127,-93,73,-93,91,93,65,116,-72,-71,18,97,-114,58,-114,-60,85,-49,29,-33,92,90,120,102,-28,90,-71,73,36,82,-69,-121,80,59,-42,123,70,-20,-42,73,115,114,-60,-15,45,111,-64,119,122,85,-12,-48,68,-58,-30,52,1,-108,-127,-109,-116,-97,-16,63,-89,-83,98,-34,104,-41,22,88,-34,-104,89,62,-23,61,-113,-7,-30,-67,-65,-64,26,37,-53,-24,-10,-38,-122,-94,-19,39,-104,14,-43,-109,-110,19,-73,-14,-85,30,46,-16,117,-75,-18,-104,-2,68,106,-127,7,-54,2,-12,-11,-49,-75,36,-25,107,-119,-91,123,31,58,0,84,-31,-72,-95,6,122,-42,-58,-93,-93,-49,103,116,-48,-80,99,27,49,-40,-19,-2,62,-75,-108,-47,50,62,-42,24,34,-76,82,76,86,24,-54,84,-19,62,-103,-82,-101,-64,-102,-77,105,-34,32,-123,75,-31,38,59,27,61,61,-115,99,44,38,-28,44,108,-123,101,0,1,-57,90,-90,55,-59,32,97,-107,101,60,31,113,67,-9,-107,-127,104,-49,66,-15,109,-113,-10,7,-118,23,81,-128,-3,-9,75,-123,-6,-12,108,-1,0,58,-9,45,38,-15,47,-12,-53,123,-108,-23,34,3,-113,74,-16,123,-3,94,63,19,120,106,-51,-40,-30,-14,-43,-4,-71,51,-35,74,-13,-4,-77,94,-93,-16,-57,82,123,-33,12,71,4,-51,-70,72,0,92,-6,-116,86,112,118,118,42,75,-35,-71,-39,-47,69,21,-87,-111,71,81,-44,33,-46,-43,39,-99,113,19,-72,71,-109,-5,-103,56,4,-5,100,-45,117,109,42,13,102,-60,-37,-54,126,83,-48,-118,-101,81,-80,-121,81,-79,-106,-50,113,-104,-27,24,35,56,-49,57,-2,-107,-62,-55,-29,39,-16,110,-89,119,-90,106,106,-9,54,-79,29,-15,58,-100,-56,-120,-59,112,57,-22,6,-29,-7,80,-46,107,80,78,-52,-19,-12,-69,73,44,-20,99,-76,-109,105,88,84,34,-111,-36,10,-72,84,17,-126,50,43,55,71,-15,14,-105,-81,-37,-7,-6,101,-20,83,-116,100,-88,63,50,-3,87,-88,-83,58,22,-120,14,83,89,-16,94,-97,-88,-119,85,-30,-62,-53,-49,29,-101,-42,-68,-125,89,-16,117,-34,-97,-88,53,-123,-52,103,115,28,67,54,56,-109,-65,95,95,-25,-7,-41,-47,4,41,-62,-98,-3,43,63,85,-46,108,-11,91,86,-74,-67,-117,124,103,-8,-121,5,72,-25,57,-19,80,-31,-40,-75,46,-25,-50,49,-57,44,18,27,27,-28,43,50,-97,-35,-74,121,92,31,-44,31,122,-110,-22,-38,-38,-23,-43,36,81,11,74,-40,98,-65,116,55,102,7,-45,-41,-16,-81,86,-43,124,19,108,-16,-7,58,-109,121,-15,-97,-11,119,-128,109,117,-12,-36,71,127,122,-29,117,111,4,-22,-6,60,70,101,-125,-5,74,-60,28,-105,81,-5,-60,30,-32,117,-21,-100,-118,-49,91,-107,115,-125,95,-76,104,-9,-50,-114,-68,-81,-54,-21,-39,-123,122,-17,-62,109,85,38,50,-64,56,-35,-56,-63,-29,25,-50,63,12,-102,-13,93,70,-47,-82,81,110,-29,-108,77,10,-82,-34,79,-50,-125,-48,-9,-92,-16,-34,-79,117,-31,-83,90,43,-76,103,48,110,27,-16,120,34,-82,-9,-41,-88,45,52,62,-94,-94,-87,105,58,-115,-66,-85,-90,-61,121,109,34,-55,28,-118,8,42,115,87,107,67,32,-81,31,-8,-55,97,-115,78,-42,-19,87,34,104,89,31,31,-20,-14,63,-103,-81,96,-82,99,-58,-34,27,-1,0,-124,-121,75,88,-111,-10,-56,-110,6,95,67,-63,28,-2,4,-45,66,123,30,21,-31,-83,63,-60,18,-34,73,117,-31,-12,-97,-19,54,-104,37,-95,-19,-100,-16,123,30,-99,59,-41,-89,120,63,-30,78,-85,123,122,-70,78,-69,-89,-86,92,-113,-105,-52,80,80,-109,-18,-66,-65,74,-97,-31,22,-100,-42,112,107,77,34,-128,-26,-23,99,32,118,-38,63,-6,-11,-35,93,105,54,23,-18,-110,92,91,70,-14,70,114,-110,109,-61,47,-48,-48,-63,92,108,-62,-30,119,-118,88,-114,-48,-89,59,125,106,-22,29,-56,9,20,70,-118,-120,20,115,-113,90,117,74,67,35,120,-63,66,-69,3,41,-22,-90,-88,-75,-110,-62,91,-55,-5,-121,-17,68,-36,-113,-62,-76,-87,10,-85,-116,28,26,26,-72,30,123,-30,63,3,105,-70,-86,125,-90,40,-66,-55,112,6,60,-56,-57,13,-11,21,-25,-105,-2,27,-71,-48,-18,-106,45,70,37,107,119,32,9,58,-95,31,92,113,-2,121,-81,123,-110,-55,89,72,95,-69,-23,89,-73,22,81,75,19,-37,-35,68,30,46,-63,-105,53,14,38,-79,-111,-25,58,71,-10,-97,-124,21,111,116,-93,61,-18,-105,33,-52,-42,-72,-36,-47,-6,-108,-57,4,123,87,-88,-24,-38,-43,-106,-75,96,-105,86,119,9,50,48,-2,19,-56,62,-121,-48,-42,36,30,31,77,53,-116,-70,75,42,-60,-36,-104,24,-4,-65,-121,-89,-14,-84,13,75,71,-69,-79,-44,91,85,-48,37,22,-105,-89,-103,-83,-97,-3,92,-33,81,-3,69,9,-75,-72,52,-103,-1,-39};</p>
<p>    int count = sizeof(s);</p>
<p>    //for(pData = pBuffer, i = 0; i < count; ++i)<br />
    //{<br />
     //   *pData++ = s[i]; 0xFF; //R<br />
     //   *pData++ = s[i+1];//0&#215;0; //G<br />
      //  *pData++ = s[i+2];//0&#215;0; //B<br />
    //}</p>
<p>    provider = CGDataProviderCreateWithData(NULL, s, count, NULL);</p>
<p>    return CGImageCreate(320,480,<br />
                         bitsPerComponent,<br />
                         bitsPerPixel,<br />
                         bytesPerRow,<br />
                         colorSpaceRef,<br />
                         bmpInof,<br />
                         provider,<br />
                         NULL,<br />
                         NO,<br />
                         renderingIntent);<br />
}</p>
<p>#import &#8220;ImageBlob.h&#8221;</p>
<p>@implementation ImageBlob</p>
<p>+ (int) addBlob : (id) data {</p>
<p>	const char * sql = &#8220;insert into ImageBlob (image) values(?) &#8220;;</p>
<p>	NSString *path = [[NSBundle mainBundle] pathForResource:@&#8221;login&#8221; ofType:@&#8221;png&#8221;];</p>
<p>    NSData *signatureImage = [[NSData alloc] initWithContentsOfFile:path];</p>
<p>	//if(data==nil) return 0;</p>
<p>	//signatureImage = (NSData *)data;</p>
<p>	sqlite3_stmt *insert_statement = nil;</p>
<p>    @try{	</p>
<p>	    if(sqlite3_prepare_v2([DBHandle database:kDbname], sql, -1, &#038;insert_statement, NULL)!=SQLITE_ERROR){</p>
<p>		    sqlite3_bind_blob(insert_statement,1, [signatureImage bytes], [signatureImage length], NULL);</p>
<p>		    if (sqlite3_step(insert_statement) == SQLITE_ERROR){</p>
<p>			    DLog(@&#8221;Error: ImageBlob failed to insert NewsItem into the database with message.&#8221;);</p>
<p>		    } </p>
<p>			if(sqlite3_finalize(insert_statement) != SQLITE_OK){</p>
<p>				DLog(@&#8221;add ImageBlob:Failed to finalize data statement, normally error handling here.&#8221;);<br />
			}			</p>
<p>	    }<br />
	    else<br />
	    {<br />
		    DLog(@&#8221;Error: ImageBlob failed to sqlite3_prepare_v2 insert Category into the database with message.&#8221;);<br />
		    return DB_ERR;<br />
	    }<br />
    }<br />
	@catch (NSException *e) {</p>
<p>	    DLog(@&#8221;ImageBlob add An exception occurred: %@ \n&#8221;, [e reason]); </p>
<p>	    return DB_ERR;<br />
    } 	</p>
<p>	DLog(@&#8221;ImageBlob ok &#8220;); </p>
<p>	return DB_OK;</p>
<p>}</p>
<p>+(NSData *) getBlob {</p>
<p>	const char * sql;</p>
<p>	sql = &#8220;SELECT * FROM ImageBlob ORDER BY BID DESC&#8221; ;</p>
<p>	sqlite3_stmt *statement = nil;	</p>
<p>	@try{</p>
<p>		if (sqlite3_prepare_v2([DBHandle database:kDbname] , sql, -1, &#038;statement, NULL) != SQLITE_OK){<br />
			DLog(@&#8221;getBlob:Error, failed to prepare statement, normally handleerror here.\n&#8221;);<br />
		}<br />
		while (sqlite3_step(statement) == SQLITE_ROW) { </p>
<p>			NSData * data = [[NSData alloc] initWithBytes:sqlite3_column_blob(statement, 1)<br />
								   length: sqlite3_column_bytes(statement, 1)]; </p>
<p>			DLog(@&#8221;getBlob =%@ \n &#8220;,[data description]);</p>
<p>			return data;</p>
<p>		}<br />
		if(sqlite3_finalize(statement) != SQLITE_OK){</p>
<p>			DLog(@&#8221;getBlob:Failed to finalize data statement, normally error handling here.&#8221;);<br />
		}</p>
<p>	} @catch (NSException *e) {</p>
<p>		DLog(@&#8221;getBlob:An exception occurred: %@&#8221;, [e reason]); </p>
<p>		return nil;<br />
	}<br />
	DLog(@&#8221;getBlob  end\n  &#8220;);</p>
<p>	return nil;	</p>
<p>}</p>
<p>@end</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uuindex.com/?feed=rss2&amp;p=1073</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2010-08-19(edit table cell)</title>
		<link>http://www.uuindex.com/?p=1071</link>
		<comments>http://www.uuindex.com/?p=1071#comments</comments>
		<pubDate>Thu, 19 Aug 2010 05:00:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iphone UI]]></category>

		<guid isPermaLink="false">http://www.uuindex.com/?p=1071</guid>
		<description><![CDATA[dandersen / scifihifi-iphone
]]></description>
			<content:encoded><![CDATA[<p>dandersen / scifihifi-iphone</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uuindex.com/?feed=rss2&amp;p=1071</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2010-08-18(Transparent UIWebView)</title>
		<link>http://www.uuindex.com/?p=1063</link>
		<comments>http://www.uuindex.com/?p=1063#comments</comments>
		<pubDate>Wed, 18 Aug 2010 04:47:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iphone UI]]></category>

		<guid isPermaLink="false">http://www.uuindex.com/?p=1063</guid>
		<description><![CDATA[http://devblog.wm-innovations.com/2010/03/31/transparent-uiwebview/
performSelector  showActivityViewer
run-loop issue with UITableView
Custom swipe detection in a UITableViewCell
cool UI,nice
iPhoneIncubator example 
拒绝的原因
http://iphoneincubator.com/blog/app-store/rejections
]]></description>
			<content:encoded><![CDATA[<p>http://devblog.wm-innovations.com/2010/03/31/transparent-uiwebview/</p>
<p>performSelector  showActivityViewer<br />
<a href="http://devblog.wm-innovations.com/2010/03/30/run-loop-issue-with-uitableview/">run-loop issue with UITableView</a></p>
<p><a href="http://devblog.wm-innovations.com/2010/03/30/custom-swipe-uitableviewcell/">Custom swipe detection in a UITableViewCell</a></p>
<p>cool UI,nice<br />
iPhoneIncubator example </p>
<p>拒绝的原因<br />
http://iphoneincubator.com/blog/app-store/rejections</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uuindex.com/?feed=rss2&amp;p=1063</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2010-08-15(gestures)</title>
		<link>http://www.uuindex.com/?p=1053</link>
		<comments>http://www.uuindex.com/?p=1053#comments</comments>
		<pubDate>Sun, 15 Aug 2010 01:49:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iphone UI]]></category>

		<guid isPermaLink="false">http://www.uuindex.com/?p=1053</guid>
		<description><![CDATA[http://stackoverflow.com/questions/907512/is-there-a-high-level-gestures-library-for-iphone-development
http://stackoverflow.com/questions/2135744/iphone-uiimageview-pinch-zoom
http://6tringle.com/blog/2009/TouchSampleCode.html
Bump is a quick and easy way to connect two phones, simply bump them together. Share contacts info, pictures, calendar events, and even connect on social networks with just a bump.
http://bu.mp/api.html
]]></description>
			<content:encoded><![CDATA[<p>http://stackoverflow.com/questions/907512/is-there-a-high-level-gestures-library-for-iphone-development<br />
http://stackoverflow.com/questions/2135744/iphone-uiimageview-pinch-zoom</p>
<p>http://6tringle.com/blog/2009/TouchSampleCode.html</p>
<p>Bump is a quick and easy way to connect two phones, simply bump them together. Share contacts info, pictures, calendar events, and even connect on social networks with just a bump.<br />
http://bu.mp/api.html</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uuindex.com/?feed=rss2&amp;p=1053</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2010-08-14(数据输入,UILayer,uilabel-multiline,Rotate Text Problem)</title>
		<link>http://www.uuindex.com/?p=1048</link>
		<comments>http://www.uuindex.com/?p=1048#comments</comments>
		<pubDate>Sat, 14 Aug 2010 02:32:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iphone UI]]></category>

		<guid isPermaLink="false">http://www.uuindex.com/?p=1048</guid>
		<description><![CDATA[http://iphoneincubator.com/blog/windows-views/how-to-create-a-data-entry-screen
layer properties
http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/CoreAnimation_guide/Articles/LayerVisProps.html
uilabel-multiline
http://blog.sallarp.com/iphone-uilabel-multiline-dynamic-height/
Rotate Text Problem
http://wiki.github.com/effectiveprogramming/ep-iphone/nsstring
color
http://arstechnica.com/apple/guides/2009/02/iphone-development-accessing-uicolor-components.ars
]]></description>
			<content:encoded><![CDATA[<p>http://iphoneincubator.com/blog/windows-views/how-to-create-a-data-entry-screen</p>
<p>layer properties<br />
http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/CoreAnimation_guide/Articles/LayerVisProps.html</p>
<p>uilabel-multiline<br />
http://blog.sallarp.com/iphone-uilabel-multiline-dynamic-height/</p>
<p>Rotate Text Problem<br />
http://wiki.github.com/effectiveprogramming/ep-iphone/nsstring<br />
color<br />
http://arstechnica.com/apple/guides/2009/02/iphone-development-accessing-uicolor-components.ars</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uuindex.com/?feed=rss2&amp;p=1048</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
