<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Programing Tips</title>
	<atom:link href="http://programingtips.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://programingtips.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 18 Sep 2009 15:40:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='programingtips.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Programing Tips</title>
		<link>http://programingtips.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://programingtips.wordpress.com/osd.xml" title="Programing Tips" />
	<atom:link rel='hub' href='http://programingtips.wordpress.com/?pushpress=hub'/>
		<item>
		<title>NSRange Use Example</title>
		<link>http://programingtips.wordpress.com/2009/09/18/nsrange-use-example/</link>
		<comments>http://programingtips.wordpress.com/2009/09/18/nsrange-use-example/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 15:40:47 +0000</pubDate>
		<dc:creator>programingtips</dc:creator>
				<category><![CDATA[iPhone programing]]></category>

		<guid isPermaLink="false">http://programingtips.wordpress.com/?p=33</guid>
		<description><![CDATA[NSString *str=@&#8221;12345ace}&#8221;; //GIVE YOUR STRING TO CHECK //TO CHECK DIGIT 0 TO 9 for(int i=0;i&#60;10;i++) { NSRange rng = [str rangeOfString:[NSString stringWithFormat:@"%d",i]]; if(rng.length &#62; 0) { str = [str stringByReplacingOccurrencesOfString:[NSString stringWithFormat:@"%d",i] withString:@&#8221;"]; //NSLog(@&#8221;boss&#8221;); } else { NSLog(@&#8221;show warning!!!!&#8221;); break; } }<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programingtips.wordpress.com&amp;blog=9494673&amp;post=33&amp;subd=programingtips&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>NSString *str=@&#8221;12345ace}&#8221;; //GIVE YOUR STRING TO CHECK<br />
//TO CHECK DIGIT 0 TO 9<br />
for(int i=0;i&lt;10;i++)<br />
{</p>
<p>NSRange rng = [str rangeOfString:[NSString stringWithFormat:@"%d",i]];<br />
if(rng.length &gt; 0)<br />
{</p>
<p>str = [str stringByReplacingOccurrencesOfString:[NSString stringWithFormat:@"%d",i] withString:@&#8221;"];<br />
//NSLog(@&#8221;boss&#8221;);<br />
}<br />
else<br />
{<br />
NSLog(@&#8221;show warning!!!!&#8221;);<br />
break;<br />
}</p>
<p>}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programingtips.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programingtips.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programingtips.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programingtips.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/programingtips.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/programingtips.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/programingtips.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/programingtips.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programingtips.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programingtips.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programingtips.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programingtips.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programingtips.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programingtips.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programingtips.wordpress.com&amp;blog=9494673&amp;post=33&amp;subd=programingtips&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://programingtips.wordpress.com/2009/09/18/nsrange-use-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/92dad64212fdf64383b98d75dc9dcc22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">programingtips</media:title>
		</media:content>
	</item>
		<item>
		<title>AppDelegate Use</title>
		<link>http://programingtips.wordpress.com/2009/09/18/appdelegate-use/</link>
		<comments>http://programingtips.wordpress.com/2009/09/18/appdelegate-use/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 15:39:37 +0000</pubDate>
		<dc:creator>programingtips</dc:creator>
				<category><![CDATA[iPhone programing]]></category>

		<guid isPermaLink="false">http://programingtips.wordpress.com/?p=31</guid>
		<description><![CDATA[TabsAppDelegate *tabsDelegate = [[UIApplication sharedApplication] delegate]; - (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; [tabsDelegate showTabBarImage:2];<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programingtips.wordpress.com&amp;blog=9494673&amp;post=31&amp;subd=programingtips&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>TabsAppDelegate *tabsDelegate = [[UIApplication sharedApplication] delegate];</p>
<p>- (void)viewWillAppear:(BOOL)animated {<br />
[super viewWillAppear:animated];</p>
<p>[tabsDelegate showTabBarImage:2];</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programingtips.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programingtips.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programingtips.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programingtips.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/programingtips.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/programingtips.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/programingtips.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/programingtips.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programingtips.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programingtips.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programingtips.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programingtips.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programingtips.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programingtips.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programingtips.wordpress.com&amp;blog=9494673&amp;post=31&amp;subd=programingtips&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://programingtips.wordpress.com/2009/09/18/appdelegate-use/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/92dad64212fdf64383b98d75dc9dcc22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">programingtips</media:title>
		</media:content>
	</item>
		<item>
		<title>UITabbar customaize</title>
		<link>http://programingtips.wordpress.com/2009/09/18/uitabbar-customaize/</link>
		<comments>http://programingtips.wordpress.com/2009/09/18/uitabbar-customaize/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 15:38:34 +0000</pubDate>
		<dc:creator>programingtips</dc:creator>
				<category><![CDATA[iPhone programing]]></category>

		<guid isPermaLink="false">http://programingtips.wordpress.com/?p=29</guid>
		<description><![CDATA[UIView *customview=[[UIView alloc] initWithFrame:CGRectMake(0, 0, 320,50)]; UIImageView *Imageviewer=[[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 320,50)]; Imageviewer.image=[UIImage imageNamed:@"tool-up.png"]; [customview addSubview:Imageviewer]; [tbar addSubview:customview]; [tbar sendSubviewToBack:customview];<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programingtips.wordpress.com&amp;blog=9494673&amp;post=29&amp;subd=programingtips&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>UIView *customview=[[UIView alloc] initWithFrame:CGRectMake(0, 0, 320,50)];<br />
UIImageView *Imageviewer=[[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 320,50)];<br />
Imageviewer.image=[UIImage imageNamed:@"tool-up.png"];<br />
[customview addSubview:Imageviewer];<br />
[tbar addSubview:customview];<br />
[tbar sendSubviewToBack:customview];</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programingtips.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programingtips.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programingtips.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programingtips.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/programingtips.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/programingtips.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/programingtips.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/programingtips.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programingtips.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programingtips.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programingtips.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programingtips.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programingtips.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programingtips.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programingtips.wordpress.com&amp;blog=9494673&amp;post=29&amp;subd=programingtips&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://programingtips.wordpress.com/2009/09/18/uitabbar-customaize/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/92dad64212fdf64383b98d75dc9dcc22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">programingtips</media:title>
		</media:content>
	</item>
		<item>
		<title>UITable view row deselect</title>
		<link>http://programingtips.wordpress.com/2009/09/18/uitable-view-row-deselect/</link>
		<comments>http://programingtips.wordpress.com/2009/09/18/uitable-view-row-deselect/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 15:37:51 +0000</pubDate>
		<dc:creator>programingtips</dc:creator>
				<category><![CDATA[iPhone programing]]></category>

		<guid isPermaLink="false">http://programingtips.wordpress.com/?p=27</guid>
		<description><![CDATA[[tableView  deselectRowAtIndexPath:indexPath  animated:YES];<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programingtips.wordpress.com&amp;blog=9494673&amp;post=27&amp;subd=programingtips&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>[tableView  deselectRowAtIndexPath:indexPath  animated:YES];</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programingtips.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programingtips.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programingtips.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programingtips.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/programingtips.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/programingtips.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/programingtips.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/programingtips.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programingtips.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programingtips.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programingtips.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programingtips.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programingtips.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programingtips.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programingtips.wordpress.com&amp;blog=9494673&amp;post=27&amp;subd=programingtips&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://programingtips.wordpress.com/2009/09/18/uitable-view-row-deselect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/92dad64212fdf64383b98d75dc9dcc22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">programingtips</media:title>
		</media:content>
	</item>
		<item>
		<title>UISearchbar style change</title>
		<link>http://programingtips.wordpress.com/2009/09/18/uisearchbar-style-change/</link>
		<comments>http://programingtips.wordpress.com/2009/09/18/uisearchbar-style-change/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 15:37:19 +0000</pubDate>
		<dc:creator>programingtips</dc:creator>
				<category><![CDATA[iPhone programing]]></category>

		<guid isPermaLink="false">http://programingtips.wordpress.com/?p=25</guid>
		<description><![CDATA[searchBar.barStyle = UIBarStyleBlackOpaque;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programingtips.wordpress.com&amp;blog=9494673&amp;post=25&amp;subd=programingtips&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>searchBar.barStyle = UIBarStyleBlackOpaque;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programingtips.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programingtips.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programingtips.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programingtips.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/programingtips.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/programingtips.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/programingtips.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/programingtips.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programingtips.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programingtips.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programingtips.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programingtips.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programingtips.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programingtips.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programingtips.wordpress.com&amp;blog=9494673&amp;post=25&amp;subd=programingtips&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://programingtips.wordpress.com/2009/09/18/uisearchbar-style-change/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/92dad64212fdf64383b98d75dc9dcc22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">programingtips</media:title>
		</media:content>
	</item>
		<item>
		<title>Layout send to back or front</title>
		<link>http://programingtips.wordpress.com/2009/09/18/layout-send-to-back-or-front/</link>
		<comments>http://programingtips.wordpress.com/2009/09/18/layout-send-to-back-or-front/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 15:36:41 +0000</pubDate>
		<dc:creator>programingtips</dc:creator>
				<category><![CDATA[iPhone programing]]></category>

		<guid isPermaLink="false">http://programingtips.wordpress.com/2009/09/18/layout-send-to-back-or-front/</guid>
		<description><![CDATA[[window sendSubviewToBack:rootController.view]; [window sendSubviewToBack:label];<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programingtips.wordpress.com&amp;blog=9494673&amp;post=24&amp;subd=programingtips&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>[window sendSubviewToBack:rootController.view];<br />
[window sendSubviewToBack:label];</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programingtips.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programingtips.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programingtips.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programingtips.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/programingtips.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/programingtips.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/programingtips.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/programingtips.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programingtips.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programingtips.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programingtips.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programingtips.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programingtips.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programingtips.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programingtips.wordpress.com&amp;blog=9494673&amp;post=24&amp;subd=programingtips&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://programingtips.wordpress.com/2009/09/18/layout-send-to-back-or-front/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/92dad64212fdf64383b98d75dc9dcc22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">programingtips</media:title>
		</media:content>
	</item>
		<item>
		<title>UIView animation</title>
		<link>http://programingtips.wordpress.com/2009/09/18/uiview-animation/</link>
		<comments>http://programingtips.wordpress.com/2009/09/18/uiview-animation/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 15:35:40 +0000</pubDate>
		<dc:creator>programingtips</dc:creator>
				<category><![CDATA[iPhone programing]]></category>

		<guid isPermaLink="false">http://programingtips.wordpress.com/?p=22</guid>
		<description><![CDATA[dataTable.alpha = 0; [UIView beginAnimations:@"SlideOut" context:nil]; [UIView setAnimationDuration:.7]; [UIView setAnimationDelegate:self]; dataTable.alpha = 1; [UIView commitAnimations];<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programingtips.wordpress.com&amp;blog=9494673&amp;post=22&amp;subd=programingtips&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>dataTable.alpha = 0;<br />
[UIView beginAnimations:@"SlideOut" context:nil];<br />
[UIView setAnimationDuration:.7];<br />
[UIView setAnimationDelegate:self];<br />
dataTable.alpha = 1;<br />
[UIView commitAnimations];</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programingtips.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programingtips.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programingtips.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programingtips.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/programingtips.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/programingtips.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/programingtips.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/programingtips.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programingtips.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programingtips.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programingtips.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programingtips.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programingtips.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programingtips.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programingtips.wordpress.com&amp;blog=9494673&amp;post=22&amp;subd=programingtips&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://programingtips.wordpress.com/2009/09/18/uiview-animation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/92dad64212fdf64383b98d75dc9dcc22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">programingtips</media:title>
		</media:content>
	</item>
		<item>
		<title>NSTimer call a function</title>
		<link>http://programingtips.wordpress.com/2009/09/18/nstimer-call-a-function/</link>
		<comments>http://programingtips.wordpress.com/2009/09/18/nstimer-call-a-function/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 15:34:50 +0000</pubDate>
		<dc:creator>programingtips</dc:creator>
				<category><![CDATA[iPhone programing]]></category>

		<guid isPermaLink="false">http://programingtips.wordpress.com/2009/09/18/nstimer-call-a-function/</guid>
		<description><![CDATA[[NSTimer scheduledTimerWithTimeInterval:1 target:self selector:@selector(timerFunc) userInfo:nil repeats:NO];<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programingtips.wordpress.com&amp;blog=9494673&amp;post=21&amp;subd=programingtips&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>[NSTimer scheduledTimerWithTimeInterval:1 target:self selector:@selector(timerFunc) userInfo:nil repeats:NO];</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programingtips.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programingtips.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programingtips.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programingtips.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/programingtips.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/programingtips.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/programingtips.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/programingtips.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programingtips.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programingtips.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programingtips.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programingtips.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programingtips.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programingtips.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programingtips.wordpress.com&amp;blog=9494673&amp;post=21&amp;subd=programingtips&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://programingtips.wordpress.com/2009/09/18/nstimer-call-a-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/92dad64212fdf64383b98d75dc9dcc22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">programingtips</media:title>
		</media:content>
	</item>
		<item>
		<title>Custom animation</title>
		<link>http://programingtips.wordpress.com/2009/09/18/custom-animation/</link>
		<comments>http://programingtips.wordpress.com/2009/09/18/custom-animation/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 15:34:10 +0000</pubDate>
		<dc:creator>programingtips</dc:creator>
				<category><![CDATA[iPhone programing]]></category>

		<guid isPermaLink="false">http://programingtips.wordpress.com/2009/09/18/custom-animation/</guid>
		<description><![CDATA[Add Quartz core framework and then CATransition *animation = [CATransition animation]; [animation setDelegate:self]; [animation setDuration:.3f]; [animation setType:kCATransitionPush]; [animation setSubtype: kCATransitionFromTop]; [dataTable.layer addAnimation:animation forKey:@"anyValue"]; here dataTable is a iPhone control.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programingtips.wordpress.com&amp;blog=9494673&amp;post=20&amp;subd=programingtips&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Add Quartz core framework and then</p>
<p>CATransition *animation = [CATransition animation];<br />
[animation setDelegate:self];<br />
[animation setDuration:.3f];<br />
[animation setType:kCATransitionPush];<br />
[animation setSubtype: kCATransitionFromTop];<br />
[dataTable.layer addAnimation:animation forKey:@"anyValue"];</p>
<p>here dataTable is a iPhone control.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programingtips.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programingtips.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programingtips.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programingtips.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/programingtips.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/programingtips.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/programingtips.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/programingtips.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programingtips.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programingtips.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programingtips.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programingtips.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programingtips.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programingtips.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programingtips.wordpress.com&amp;blog=9494673&amp;post=20&amp;subd=programingtips&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://programingtips.wordpress.com/2009/09/18/custom-animation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/92dad64212fdf64383b98d75dc9dcc22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">programingtips</media:title>
		</media:content>
	</item>
		<item>
		<title>UIView up and down</title>
		<link>http://programingtips.wordpress.com/2009/09/18/uitextfield-key-pad-hide/</link>
		<comments>http://programingtips.wordpress.com/2009/09/18/uitextfield-key-pad-hide/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 15:30:18 +0000</pubDate>
		<dc:creator>programingtips</dc:creator>
				<category><![CDATA[iPhone programing]]></category>

		<guid isPermaLink="false">http://programingtips.wordpress.com/?p=16</guid>
		<description><![CDATA[#define kOFFSET_FOR_KEYBOARD                    160.0 #define kTextFieldWidth                            100.0    // initial width, but the table cell will dictact the actual width // the duration of the animation for the view shift #define kVerticalOffsetAnimationDuration        0.30 #define kUITextField_Section                    0 #define kUITextField_Rounded_Custom_Section        1 #define kUITextField_Secure_Section   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programingtips.wordpress.com&amp;blog=9494673&amp;post=16&amp;subd=programingtips&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>#define kOFFSET_FOR_KEYBOARD                    160.0</p>
<p>#define kTextFieldWidth                            100.0    // initial width, but the table cell will dictact the actual width</p>
<p>// the duration of the animation for the view shift<br />
#define kVerticalOffsetAnimationDuration        0.30</p>
<p>#define kUITextField_Section                    0<br />
#define kUITextField_Rounded_Custom_Section        1<br />
#define kUITextField_Secure_Section                2</p>
<p>- (void)setViewMovedUp:(BOOL)movedUp<br />
{<br />
[UIView beginAnimations:nil context:NULL];<br />
[UIView setAnimationDuration:0.3];<br />
// Make changes to the view&#8217;s frame inside the animation block. They will be animated instead<br />
// of taking place immediately.<br />
//  CGRect rect = self.view.frame;<br />
CGRect rect = contentView.frame;<br />
if (movedUp)<br />
{<br />
// If moving up, not only decrease the origin but increase the height so the view<br />
// covers the entire screen behind the keyboard.<br />
rect.origin.y -= kOFFSET_FOR_KEYBOARD;<br />
rect.size.height += kOFFSET_FOR_KEYBOARD;</p>
<p>}<br />
else<br />
{<br />
// If moving down, not only increase the origin but decrease the height.<br />
rect.origin.y += kOFFSET_FOR_KEYBOARD;<br />
rect.size.height -= kOFFSET_FOR_KEYBOARD;</p>
<p>}<br />
//self.view.frame = rect;<br />
contentView.frame = rect;</p>
<p>[UIView commitAnimations];<br />
}</p>
<p>- (IBAction)textFieldUp:(id)sender{<br />
[self setViewMovedUp:YES];</p>
<p>}</p>
<p>- (void)textFieldDidEndEditing:(UITextField *)textField<br />
{</p>
<p>if(contentView.frame.origin.y &lt; 0)<br />
{<br />
[self setViewMovedUp:NO];<br />
}<br />
/*<br />
if(self.view.frame.origin.y &lt; 0)<br />
{<br />
[self setViewMovedUp:NO];<br />
}*/<br />
}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programingtips.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programingtips.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programingtips.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programingtips.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/programingtips.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/programingtips.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/programingtips.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/programingtips.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programingtips.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programingtips.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programingtips.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programingtips.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programingtips.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programingtips.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programingtips.wordpress.com&amp;blog=9494673&amp;post=16&amp;subd=programingtips&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://programingtips.wordpress.com/2009/09/18/uitextfield-key-pad-hide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/92dad64212fdf64383b98d75dc9dcc22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">programingtips</media:title>
		</media:content>
	</item>
	</channel>
</rss>
