<?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>all about &#039;i&#039;</title>
	<atom:link href="http://isujith.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://isujith.wordpress.com</link>
	<description></description>
	<lastBuildDate>Mon, 14 Nov 2011 06:55:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='isujith.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/d4ae707e460b68c3e2901291fb634764?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>all about &#039;i&#039;</title>
		<link>http://isujith.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://isujith.wordpress.com/osd.xml" title="all about &#039;i&#039;" />
	<atom:link rel='hub' href='http://isujith.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Developing iPhone and iPad Apps that Leverage Windows Azure</title>
		<link>http://isujith.wordpress.com/2011/05/21/developing-iphone-and-ipad-apps-that-leverage-windows-azure/</link>
		<comments>http://isujith.wordpress.com/2011/05/21/developing-iphone-and-ipad-apps-that-leverage-windows-azure/#comments</comments>
		<pubDate>Sat, 21 May 2011 14:04:28 +0000</pubDate>
		<dc:creator>Sujith Krishnan</dc:creator>
		
		<guid isPermaLink="false">http://isujith.wordpress.com/?p=101</guid>
		<description><![CDATA[You are building apps for the iPhone/iPad, yet you remain curious about what the cloud can offer. Is it possible to deploy scalable, mobile Web applications on Windows Azure? How about storing data in the cloud? Is it possible to use the cloud for push notifications to the device? In this session you&#8217;ll learn how [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=isujith.wordpress.com&amp;blog=6473936&amp;post=101&amp;subd=isujith&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote><p>You are building apps for the iPhone/iPad, yet you remain curious about what the cloud can offer. Is it possible to deploy scalable, mobile Web applications on Windows Azure? How about storing data in the cloud? Is it possible to use the cloud for push notifications to the device? In this session you&#8217;ll learn how to integrate iOS applications into an existing Windows Azure infrastructure, and what types of applications other organizations are building. You&#8217;ll walk away confident in knowing how to extend your existing applications to take advantage of features on the device together with services in the cloud.</p></blockquote>
<p><a title="Click here for more" href="http://channel9.msdn.com/Events/MIX/MIX11/EXT18" target="_blank">Click here for video clip</a></p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/isujith.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/isujith.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/isujith.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/isujith.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/isujith.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/isujith.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/isujith.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/isujith.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/isujith.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/isujith.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/isujith.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/isujith.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/isujith.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/isujith.wordpress.com/101/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=isujith.wordpress.com&amp;blog=6473936&amp;post=101&amp;subd=isujith&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://isujith.wordpress.com/2011/05/21/developing-iphone-and-ipad-apps-that-leverage-windows-azure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acde1c7f4c0d58adde5d57baae337c31?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sujith krishnan</media:title>
		</media:content>
	</item>
		<item>
		<title>Excluding file from compilation in Xcode</title>
		<link>http://isujith.wordpress.com/2010/12/02/excluding-file-from-compilation-in-xcode/</link>
		<comments>http://isujith.wordpress.com/2010/12/02/excluding-file-from-compilation-in-xcode/#comments</comments>
		<pubDate>Thu, 02 Dec 2010 11:57:27 +0000</pubDate>
		<dc:creator>Sujith Krishnan</dc:creator>
				<category><![CDATA[all about 'i']]></category>
		<category><![CDATA[iPhone dev]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[Compile Sources]]></category>
		<category><![CDATA[copy Bundle Resources]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://isujith.wordpress.com/?p=95</guid>
		<description><![CDATA[By default, when you create a new file or import a file into Xcode, if the file type is recognized as a source file (.c, .m .js, etc), the file is added to the Compile Sources folder in the application target. You may not always prefer this default action – for example, if a JavaScript [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=isujith.wordpress.com&amp;blog=6473936&amp;post=95&amp;subd=isujith&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote><p>
By default, when you create a new file or import a file into Xcode, if the file type is recognized as a source file (.c, .m .js, etc), the file is added to the Compile Sources folder in the application target.<br />
You may not always prefer this default action – for example, if a JavaScript file is imported, Xcode does not know what to do with this file type so a compile warning is generated
</p></blockquote>
<p><a href="http://iphonedevelopertips.com/xcode/tell-xcode-not-to-compile-a-file.html">Read More</a></p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/isujith.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/isujith.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/isujith.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/isujith.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/isujith.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/isujith.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/isujith.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/isujith.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/isujith.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/isujith.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/isujith.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/isujith.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/isujith.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/isujith.wordpress.com/95/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=isujith.wordpress.com&amp;blog=6473936&amp;post=95&amp;subd=isujith&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://isujith.wordpress.com/2010/12/02/excluding-file-from-compilation-in-xcode/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acde1c7f4c0d58adde5d57baae337c31?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sujith krishnan</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating an UIImage with given text and size</title>
		<link>http://isujith.wordpress.com/2010/09/09/uiimage-with-given-text-and-size/</link>
		<comments>http://isujith.wordpress.com/2010/09/09/uiimage-with-given-text-and-size/#comments</comments>
		<pubDate>Thu, 09 Sep 2010 10:25:53 +0000</pubDate>
		<dc:creator>Sujith Krishnan</dc:creator>
				<category><![CDATA[iPhone dev]]></category>
		<category><![CDATA[NSString to UIImage]]></category>
		<category><![CDATA[text to image]]></category>
		<category><![CDATA[UIImage with NSString]]></category>

		<guid isPermaLink="false">http://isujith.wordpress.com/?p=79</guid>
		<description><![CDATA[static UIImage *createImageWithText(CGSize imageSize, NSString *text) { // Create a bitmap graphics context of the given size CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB(); CGContextRef context = CGBitmapContextCreate(NULL, imageSize.width, imageSize.height, 8, imageSize.width*4, colorSpace, kCGImageAlphaPremultipliedLast); CGColorSpaceRelease(colorSpace); if (context== NULL) { return nil; } // Custom CGContext coordinate system is flipped with respect to UIView, so transform, then push CGContextTranslateCTM(context,0,imageSize.height); [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=isujith.wordpress.com&amp;blog=6473936&amp;post=79&amp;subd=isujith&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><code><br />
static UIImage *createImageWithText(CGSize imageSize, NSString *text) {</p>
<p>// Create a bitmap graphics context of the given size<br />
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();<br />
CGContextRef context = CGBitmapContextCreate(NULL, imageSize.width, imageSize.height, 8, imageSize.width*4, colorSpace, kCGImageAlphaPremultipliedLast);<br />
CGColorSpaceRelease(colorSpace);<br />
if (context== NULL) {<br />
return nil;<br />
}</p>
<p>// Custom CGContext coordinate system is flipped with respect to UIView, so transform, then push<br />
CGContextTranslateCTM(context,0,imageSize.height);<br />
CGContextScaleCTM(context, 1.0, -1.0);<br />
UIGraphicsPushContext(context);</p>
<p>// Inset the text rect then draw the text<br />
CGRect textRect = CGRectMake(4, 2, imageSize.width - 8, imageSize.height - 8);<br />
UIFont *font = [UIFont boldSystemFontOfSize:24];<br />
[[UIColor whiteColor] set];<br />
[text drawInRect:textRect withFont:font<br />
lineBreakMode:UILineBreakModeTailTruncation alignment:UITextAlignmentCenter];</p>
<p> // Create and return the UIImage object<br />
CGImageRef cgImage = CGBitmapContextCreateImage(context);<br />
UIImage *uiImage = [[UIImage alloc] initWithCGImage:cgImage];<br />
UIGraphicsPopContext();<br />
CGContextRelease(context);<br />
CGImageRelease(cgImage);<br />
return uiImage;<br />
}<br />
</code></p>
<p>Note: This is a repost of <a href="http://iphonesdkdev.blogspot.com/2008/06/uiaccelerometer-sample-code.html">this</a></p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/isujith.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/isujith.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/isujith.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/isujith.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/isujith.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/isujith.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/isujith.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/isujith.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/isujith.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/isujith.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/isujith.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/isujith.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/isujith.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/isujith.wordpress.com/79/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=isujith.wordpress.com&amp;blog=6473936&amp;post=79&amp;subd=isujith&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://isujith.wordpress.com/2010/09/09/uiimage-with-given-text-and-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acde1c7f4c0d58adde5d57baae337c31?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sujith krishnan</media:title>
		</media:content>
	</item>
		<item>
		<title>iPhone developement &#8211; Beginner&#8217;s Tutorials</title>
		<link>http://isujith.wordpress.com/2009/03/22/iphone-developement-beginners-tutorials/</link>
		<comments>http://isujith.wordpress.com/2009/03/22/iphone-developement-beginners-tutorials/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 03:10:16 +0000</pubDate>
		<dc:creator>Sujith Krishnan</dc:creator>
				<category><![CDATA[iPhone dev]]></category>

		<guid isPermaLink="false">http://isujith.wordpress.com/?p=66</guid>
		<description><![CDATA[Part 1:  Kickoff iPhone Development This presentation tells the environment requirements and basic necessities to start with iPhone App Development. Slideshare: Part 2: A Closer Look This session will give a brief introduction to memory management and a closer look to APIs and components Slideshare: Part 3: More than UI This session deals with the APIs [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=isujith.wordpress.com&amp;blog=6473936&amp;post=66&amp;subd=isujith&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Part 1:  Kickoff iPhone Development</strong><br />
<strong>This presentation tells the environment requirements and basic necessities to start with iPhone App Development.</strong><br />
<strong>Slideshare:</strong><iframe src='http://www.slideshare.net/slideshow/embed_code/1162445' width='632' height='518'></iframe></p>
<p><strong>Part 2: A Closer Look</strong><br />
<strong>This session will give a brief introduction to memory management and a closer look to APIs and components</strong><br />
<strong>Slideshare:</strong><iframe src='http://www.slideshare.net/slideshow/embed_code/1162458' width='632' height='518'></iframe></p>
<p><strong>Part 3: More than UI</strong><br />
<strong>This session deals with the APIs in Foundation framework.</strong><br />
<strong>Slideshare: </strong><iframe src='http://www.slideshare.net/slideshow/embed_code/1162450' width='632' height='518'></iframe></p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/isujith.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/isujith.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/isujith.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/isujith.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/isujith.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/isujith.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/isujith.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/isujith.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/isujith.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/isujith.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/isujith.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/isujith.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/isujith.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/isujith.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=isujith.wordpress.com&amp;blog=6473936&amp;post=66&amp;subd=isujith&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://isujith.wordpress.com/2009/03/22/iphone-developement-beginners-tutorials/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acde1c7f4c0d58adde5d57baae337c31?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sujith krishnan</media:title>
		</media:content>
	</item>
		<item>
		<title>Horizontal UIPickerView</title>
		<link>http://isujith.wordpress.com/2009/03/17/horizontal-uipickerview/</link>
		<comments>http://isujith.wordpress.com/2009/03/17/horizontal-uipickerview/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 06:00:27 +0000</pubDate>
		<dc:creator>Sujith Krishnan</dc:creator>
				<category><![CDATA[iPhone dev]]></category>

		<guid isPermaLink="false">http://isujith.wordpress.com/?p=48</guid>
		<description><![CDATA[A situation can arise when you want to have some horizontal UIPickerView in your application. Something like what in the picture shown below Following code will draw one like that.. Courtesy: Syed Yusuf<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=isujith.wordpress.com&amp;blog=6473936&amp;post=48&amp;subd=isujith&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A situation can arise when you want to have some horizontal UIPickerView in your application.</p>
<p>Something like what in the picture shown below</p>
<p><img class="aligntop size-medium wp-image-49" title="horizontal_pickerview" src="http://isujith.files.wordpress.com/2009/03/horizontal_pickerview.png?w=300&#038;h=177" alt="horizontal_pickerview" width="300" height="177" /></p>
<p>Following code will draw one like that..</p>
<p><pre class="brush: cpp;">
-(void)loadView:{
// Write code to create self.view
// Then...
pickerViewArray = [[NSArray arrayWithObjects:
 @&quot;John Appleseed&quot;, @&quot;Chris Armstrong&quot;, @&quot;Serena Auroux&quot;,
 @&quot;Susan Bean&quot;, @&quot;Luis Becerra&quot;, @&quot;Kate Bell&quot;, @&quot;Alain Briere&quot;,
 nil] retain];
 myPickerView = [[UIPickerView alloc] initWithFrame:CGRectZero];
 myPickerView.delegate = self;
 myPickerView.showsSelectionIndicator =YES;
 myPickerView.backgroundColor = [UIColor clearColor];
 CGAffineTransform rotate = CGAffineTransformMakeRotation(3.14/2);
 rotate = CGAffineTransformScale(rotate, 0.25, 2.0);
 [self.myPickerView setTransform:rotate];
 [self.view addSubview:myPickerView];
} 

// UIPickerViewDelegate

- (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(UIView *)view{
	CGRect rect = CGRectMake(0, 0, 120, 80);
	UILabel *label = [[UILabel alloc]initWithFrame:rect];
	CGAffineTransform rotate = CGAffineTransformMakeRotation(3.14/2);
	rotate = CGAffineTransformScale(rotate, 0.25, 2.0);
	[label setTransform:rotate];
	label.text = [pickerViewArray objectAtIndex:row];
	label.font = [UIFont systemFontOfSize:22.0];
	label.textAlignment = UITextAlignmentCenter;
	label.numberOfLines = 2;
	label.lineBreakMode = UILineBreakModeWordWrap;
	label.backgroundColor = [UIColor clearColor];
	label.clipsToBounds = YES;
	return label ;
}
</pre></p>
<p style="text-align:justify;"><em><span style="font-family:mceinline;"> Courtesy: Syed Yusuf</span></em></p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/isujith.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/isujith.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/isujith.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/isujith.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/isujith.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/isujith.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/isujith.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/isujith.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/isujith.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/isujith.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/isujith.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/isujith.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/isujith.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/isujith.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=isujith.wordpress.com&amp;blog=6473936&amp;post=48&amp;subd=isujith&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://isujith.wordpress.com/2009/03/17/horizontal-uipickerview/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acde1c7f4c0d58adde5d57baae337c31?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sujith krishnan</media:title>
		</media:content>

		<media:content url="http://isujith.files.wordpress.com/2009/03/horizontal_pickerview.png?w=300" medium="image">
			<media:title type="html">horizontal_pickerview</media:title>
		</media:content>
	</item>
		<item>
		<title>Email syntax validation -iPhone Programming</title>
		<link>http://isujith.wordpress.com/2009/03/03/email-validation/</link>
		<comments>http://isujith.wordpress.com/2009/03/03/email-validation/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 10:24:48 +0000</pubDate>
		<dc:creator>Sujith Krishnan</dc:creator>
				<category><![CDATA[iPhone dev]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[email syntax]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[NSPredicate]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://isujith.wordpress.com/?p=26</guid>
		<description><![CDATA[Understanding that iPhone SDK dont support NSPredicate which is there for MAC Apps SDK i wrote an Utility Method to do a syntax validation of email.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=isujith.wordpress.com&amp;blog=6473936&amp;post=26&amp;subd=isujith&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Understanding that iPhone SDK dont support <strong>NSPredicate</strong> which is there for MAC Apps SDK i wrote an Utility Method to do a syntax validation of email.</p>
<p><pre class="brush: cpp;">
-(BOOL)validateEmail:(NSString*)email

if( (0 != [email rangeOfString:@&quot;@&quot;].length) &amp;&amp;  (0 != [email rangeOfString:@&quot;.&quot;].length) )
	{
		NSMutableCharacterSet *invalidCharSet = [[[[NSCharacterSet alphanumericCharacterSet] invertedSet]mutableCopy]autorelease];
		[invalidCharSet removeCharactersInString:@&quot;_-&quot;];

		NSRange range1 = [email rangeOfString:@&quot;@&quot; options:NSCaseInsensitiveSearch];

		// If username part contains any character other than &quot;.&quot;  &quot;_&quot; &quot;-&quot;

		NSString *usernamePart = [email substringToIndex:range1.location];
		NSArray *stringsArray1 = [usernamePart componentsSeparatedByString:@&quot;.&quot;];
		for (NSString *string in stringsArray1) {
			NSRange rangeOfInavlidChars=[string rangeOfCharacterFromSet: invalidCharSet];
			if(rangeOfInavlidChars.length !=0 || [string isEqualToString:@&quot;&quot;])
				return NO;
		}

		NSString *domainPart = [email substringFromIndex:range1.location+1];
		NSArray *stringsArray2 = [domainPart componentsSeparatedByString:@&quot;.&quot;];

		for (NSString *string in stringsArray2) {
			NSRange rangeOfInavlidChars=[string rangeOfCharacterFromSet:invalidCharSet];
			if(rangeOfInavlidChars.length !=0 || [string isEqualToString:@&quot;&quot;])
				return NO;
		}

		return YES;
	}
	else // no '@' or '.' present
		return NO;

</pre></p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/isujith.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/isujith.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/isujith.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/isujith.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/isujith.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/isujith.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/isujith.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/isujith.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/isujith.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/isujith.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/isujith.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/isujith.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/isujith.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/isujith.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=isujith.wordpress.com&amp;blog=6473936&amp;post=26&amp;subd=isujith&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://isujith.wordpress.com/2009/03/03/email-validation/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acde1c7f4c0d58adde5d57baae337c31?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sujith krishnan</media:title>
		</media:content>
	</item>
		<item>
		<title>Our App in &#8216;Staff Favorite&#8217; List</title>
		<link>http://isujith.wordpress.com/2009/02/12/23/</link>
		<comments>http://isujith.wordpress.com/2009/02/12/23/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 05:46:35 +0000</pubDate>
		<dc:creator>Sujith Krishnan</dc:creator>
				<category><![CDATA[all about 'i']]></category>

		<guid isPermaLink="false">http://isujith.wordpress.com/?p=23</guid>
		<description><![CDATA[  Today we got a mail from the client that one of the app we created is listed in the &#8220;Staff Favorite&#8221; List&#8230;and appearing in the &#8216;Home page&#8217; of App Store&#8230; its cool&#8230; Moreover all our apps are listed in first page for &#8216;Valentine Special&#8217; list as well.. Cheers&#8230;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=isujith.wordpress.com&amp;blog=6473936&amp;post=23&amp;subd=isujith&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p> <br />
<div id="attachment_22" class="wp-caption alignnone" style="width: 460px"><img class="size-full wp-image-22" title="Our App in Staff Favorite List" src="http://isujith.files.wordpress.com/2009/02/picture-11.png?w=632" alt="Our App in Staff Favorite List"   /><p class="wp-caption-text">Our App in Staff Favorite List</p></div></p>
<p>Today we got a mail from the client that one of the app we created is listed in the &#8220;Staff Favorite&#8221; List&#8230;and appearing in the &#8216;Home page&#8217; of App Store&#8230; its cool&#8230;  </p>
<p>Moreover all our apps are listed in first page for &#8216;Valentine Special&#8217; list as well.. Cheers&#8230;</p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/isujith.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/isujith.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/isujith.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/isujith.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/isujith.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/isujith.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/isujith.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/isujith.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/isujith.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/isujith.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/isujith.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/isujith.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/isujith.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/isujith.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=isujith.wordpress.com&amp;blog=6473936&amp;post=23&amp;subd=isujith&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://isujith.wordpress.com/2009/02/12/23/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acde1c7f4c0d58adde5d57baae337c31?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sujith krishnan</media:title>
		</media:content>

		<media:content url="http://isujith.files.wordpress.com/2009/02/picture-11.png" medium="image">
			<media:title type="html">Our App in Staff Favorite List</media:title>
		</media:content>
	</item>
		<item>
		<title>UIAccelerometer</title>
		<link>http://isujith.wordpress.com/2009/02/06/uiaccelerometer/</link>
		<comments>http://isujith.wordpress.com/2009/02/06/uiaccelerometer/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 11:12:45 +0000</pubDate>
		<dc:creator>Sujith Krishnan</dc:creator>
				<category><![CDATA[iPhone dev]]></category>
		<category><![CDATA[tilt iPhone]]></category>
		<category><![CDATA[UIAccelerometer]]></category>
		<category><![CDATA[UIAccelerometerDelegate]]></category>

		<guid isPermaLink="false">http://isujith.wordpress.com/?p=12</guid>
		<description><![CDATA[I started incorporating the accelerometer events in my app. My app is quite similar to the SampleDrillDown (one of the example app provided by apple). I am having menus in my app, which are like Category -&#62; Sub category -&#62; final item page All the above navigations are through pushing view controllers. I am trying [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=isujith.wordpress.com&amp;blog=6473936&amp;post=12&amp;subd=isujith&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="color:#333333;">I started incorporating the accelerometer events in my app.<br />
My app is quite similar to the </span><strong><span style="color:#333333;">SampleDrillDown </span></strong><span style="color:#333333;">(one of the example app provided by apple). I am having menus in my app, which are like<br />
</span><strong><span style="color:#333333;">Category -&gt; Sub category -&gt; final item page</span></strong></p>
<p><span style="color:#333333;">All the above navigations are through pushing view controllers.</span></p>
<p><span style="color:#333333;">I am trying to add accelerometer delegate methods to select any of the cell in tableview on tilting the device up or down, moreover tilting right will push the view controller and tilting left will pop.</span></p>
<ul>
<li><span style="color:#333333;">My concern is about how to set delegate for </span><em><span style="color:#333333;">UIAccelerometer</span></em><span style="color:#333333;"> for such an implementation? </span></li>
<li><span style="color:#333333;">Also the method like &#8220;</span><em><span style="color:#333333;">selectCellAtIndexPath</span></em><span style="color:#333333;">&#8221; will simply highlight the cell, so i want to call UITableView&#8217;s delegate method  &#8221;</span><em><span style="color:#333333;">didSelectRowAtIndexPath</span></em><span style="color:#333333;">&#8221; explicitly. ( to push corresponding viewcontroller)</span></li>
</ul>
<p><span style="color:#333333;">I don&#8217;t think there is much harm in doing so..<br />
But i would like to hear from someone who implemented this in much better way&#8230;</span></p>
<p><span style="color:#333333;">Checkout an abstract </span><a href="http://iphonesdkdev.blogspot.com/2008/06/uiaccelerometer-sample-code.html"><span style="color:#333333;">sample code</span></a></p>
<p><a href="http://iphonesdkdev.blogspot.com/2008/06/uiaccelerometer-sample-code.html"></a></p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/isujith.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/isujith.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/isujith.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/isujith.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/isujith.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/isujith.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/isujith.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/isujith.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/isujith.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/isujith.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/isujith.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/isujith.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/isujith.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/isujith.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=isujith.wordpress.com&amp;blog=6473936&amp;post=12&amp;subd=isujith&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://isujith.wordpress.com/2009/02/06/uiaccelerometer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acde1c7f4c0d58adde5d57baae337c31?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sujith krishnan</media:title>
		</media:content>
	</item>
		<item>
		<title>Conditional compilation &#8211; easy way !!</title>
		<link>http://isujith.wordpress.com/2009/02/06/conditional-compilation-easy-way/</link>
		<comments>http://isujith.wordpress.com/2009/02/06/conditional-compilation-easy-way/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 05:52:25 +0000</pubDate>
		<dc:creator>Sujith Krishnan</dc:creator>
				<category><![CDATA[iPhone dev]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[conditional compilation]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[ipod]]></category>
		<category><![CDATA[objective c]]></category>

		<guid isPermaLink="false">http://isujith.wordpress.com/?p=3</guid>
		<description><![CDATA[I achieved this by adding a #define in .pch file for each project. and do #import based on that definition using #ifdef This is the pretty cool and easy way  if your are sharing single source code set across multiple target/build/project Just make use of different .pch file for different builds. You want to create [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=isujith.wordpress.com&amp;blog=6473936&amp;post=3&amp;subd=isujith&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="color:#993300;"><span style="color:#000000;">I achieved this by adding a </span></span><span style="color:#993300;"><span style="color:#800000;"><em>#define</em></span></span><span style="color:#993300;"><span style="color:#000000;"> in </span></span><span style="color:#993300;"><span style="color:#800000;">.pch</span></span><span style="color:#993300;"><span style="color:#000000;"> file for each project.</span></span></p>
<p><span style="color:#993300;"><span style="color:#000000;">and do <span style="color:#800000;"><em>#import</em></span> based on that definition using </span></span><span style="color:#993300;"><span style="color:#800000;"><em>#ifdef</em></span></span></p>
<p><span style="color:#993300;"><span style="color:#000000;">This is the pretty cool and easy way  if your are sharing single source code set across multiple target/build/project</span></span></p>
<p><span style="color:#993300;"><span style="color:#000000;">Just make use of different </span></span><span style="color:#993300;"><span style="color:#800000;">.pch</span></span><span style="color:#993300;"><span style="color:#000000;"> file for different builds.</span></span></p>
<p><span style="color:#993300;"><span style="color:#000000;">You want to create &lt;n&gt;  number of <span style="color:#800000;">.pch</span> file for &lt;n&gt; targets. Assign corresponding  <span style="color:#800000;">.pch</span> file for each target&#8217;s info</span></span></p>
<p><span style="color:#993300;"><strong><span style="color:#000000;"><br />
</span></strong></span></p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/isujith.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/isujith.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/isujith.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/isujith.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/isujith.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/isujith.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/isujith.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/isujith.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/isujith.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/isujith.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/isujith.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/isujith.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/isujith.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/isujith.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=isujith.wordpress.com&amp;blog=6473936&amp;post=3&amp;subd=isujith&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://isujith.wordpress.com/2009/02/06/conditional-compilation-easy-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acde1c7f4c0d58adde5d57baae337c31?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sujith krishnan</media:title>
		</media:content>
	</item>
	</channel>
</rss>
