<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>Geektastic Mac, iPhone &amp; Web notes from Mike, the creator of NewsieLas Vegas, NV &amp; Seattle, WA

Mike is an iPhone App Creator, and you can find him in these other places.



  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-17739344-2']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</description><title>Hocus Pocus Locus</title><generator>Tumblr (3.0; @instantvoodoomagic)</generator><link>http://hocuspocuslocus.me/</link><item><title>IVM-AwesomeSauce</title><description>&lt;p&gt;I recently created a new GitHub named &amp;#8220;IVM-AwesomeSauce&amp;#8221; in which I intend to put snippets of useful code. Right now there&amp;#8217;s one thing in there: a set of classes for doing custom animations between two UIViewControllers regardless of whether they&amp;#8217;re being pushed in a UINavigationController or presented modally. &lt;a href="https://github.com/leftspin/IVM-Awesomesauce" title="IVM-Awesomesauce" target="_blank"&gt;You can find the source here&lt;/a&gt;. At some point I&amp;#8217;ll dive deep and post a tutorial here, but for now here&amp;#8217;s a snippet to show how it&amp;#8217;s used:&lt;/p&gt;
&lt;script src="http://snipt.net/embed/4bbe93793fe83e3cb172f51950509b27/" type="text/javascript"&gt;&lt;/script&gt;</description><link>http://hocuspocuslocus.me/post/21525275035</link><guid>http://hocuspocuslocus.me/post/21525275035</guid><pubDate>Sat, 21 Apr 2012 14:47:34 -0700</pubDate></item><item><title>The stages of software engineering</title><description>&lt;p&gt;&lt;strong&gt;Beginner&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Y = 10&amp;#160;;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Intermediate&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;float add( float x, float y ) { return x + y; }&lt;/p&gt;
&lt;p&gt;Y = add(5,5)&amp;#160;;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Expert&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Y = 10&amp;#160;; // this should really be a function&lt;/p&gt;</description><link>http://hocuspocuslocus.me/post/20539115346</link><guid>http://hocuspocuslocus.me/post/20539115346</guid><pubDate>Thu, 05 Apr 2012 12:10:00 -0700</pubDate></item><item><title>Hollow Pad on Flickr.I needed a background image for my 3rd...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_m1vb4yukAz1qasibbo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://www.flickr.com/photos/bffmike/6893568138/" title="Hollow Pad"&gt;Hollow Pad&lt;/a&gt; on Flickr.&lt;/p&gt;&lt;p&gt;I needed a background image for my 3rd generation iPad and thought it’d be cool to make it look like it was empty behind the glass, so I whipped this up. Hope you like it!&lt;/p&gt;</description><link>http://hocuspocuslocus.me/post/20361967721</link><guid>http://hocuspocuslocus.me/post/20361967721</guid><pubDate>Mon, 02 Apr 2012 12:50:58 -0700</pubDate></item><item><title>Graphical iOS4 Included Typeface List</title><description>&lt;a href="http://christophmeissner.files.wordpress.com/2010/09/ios4fonts1.png"&gt;Graphical iOS4 Included Typeface List&lt;/a&gt;</description><link>http://hocuspocuslocus.me/post/19583751843</link><guid>http://hocuspocuslocus.me/post/19583751843</guid><pubDate>Mon, 19 Mar 2012 12:49:07 -0700</pubDate></item><item><title>NameChk for iOS Launches!</title><description>&lt;a href="http://bit.ly/waLZ39"&gt;NameChk for iOS Launches!&lt;/a&gt;: &lt;p&gt;&lt;img alt="NameChk iPhone, iPod touch" height="768" src="http://namechk.com/Content/Files/image_2-1.png" width="512"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="NameChk for iPad" height="768" src="http://namechk.com/Content/Files/image_4.png" width="576"/&gt;&lt;/p&gt;
&lt;p&gt;Hey folks, I’ve been working on an iOS version of &lt;a href="http://namechk.com" title="NameChk Web Site" target="_blank"&gt;namechk.com&lt;/a&gt; for a while and it’s just gone live on the app store! Check it out and if you like it please leave a review! If you don’t like it, send me a message and I’ll get to fixing it ;) &lt;/p&gt;
&lt;p&gt;Anyway, enjoy!&lt;/p&gt;
&lt;p&gt;Available for your iPhone, iPad or iPod touch.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://namechk.com/iOS" title="Link to NameChk on App Store"&gt;Direct link to App Store&lt;/a&gt;&lt;/p&gt;</description><link>http://hocuspocuslocus.me/post/16777287127</link><guid>http://hocuspocuslocus.me/post/16777287127</guid><pubDate>Mon, 30 Jan 2012 13:27:00 -0800</pubDate><category>namechk</category><category>iOS</category><category>app</category><category>ipad</category><category>iphone</category><category>launch</category></item><item><title>
The Lions Mane Jellyfish is the largest jellyfish in the world....</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_ljy9v6RUsc1qf1hl1o1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;blockquote&gt;
&lt;p&gt;The Lions Mane Jellyfish is the largest jellyfish in the world. They have been swimming in arctic waters since before the dinosaurs (over 650 million years ago) and are among some of the oldest surviving species in the world.&lt;/p&gt;
&lt;p&gt;The largest can come in at about 6 meters and has tentacles over 50 meters long. Pretty amazing when you think these things have been swimming around for so long.&lt;/p&gt;
&lt;p&gt;They have hundreds of poisonous tentacles that it used to catch passing by fish. it then slowly drags in it’s prey and eats it. &lt;/p&gt;
&lt;p&gt;That is terrifying. &lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://hocuspocuslocus.me/post/16262183347</link><guid>http://hocuspocuslocus.me/post/16262183347</guid><pubDate>Sat, 21 Jan 2012 17:58:00 -0800</pubDate></item><item><title>nickdouglas:

peterfeld:

I hope they let him into the...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lv9ystsnrH1qz802uo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://toomuchnick.com/post/13354406032/peterfeld-i-hope-they-let-him-into-the" class="tumblr_blog"&gt;nickdouglas&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;&lt;a class="tumblr_blog" href="http://peterfeld.tumblr.com/post/13350442010/i-hope-they-let-him-into-the-debates"&gt;peterfeld&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I hope they let him into the debates.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Problem, Cole?&lt;/p&gt;&lt;/blockquote&gt;</description><link>http://hocuspocuslocus.me/post/13360945421</link><guid>http://hocuspocuslocus.me/post/13360945421</guid><pubDate>Sat, 26 Nov 2011 12:06:58 -0800</pubDate></item><item><title>The wrong part of the brain</title><description>&lt;a href="http://daringfireball.net/linked/2011/10/26/against-skeuomorphism"&gt;The wrong part of the brain&lt;/a&gt;: &lt;p&gt;There’s some interesting conversation going on about the value of skeuomorphic UI textures used in Apple-designed user interfaces. John Gruber thinks that some people are “over thinking this” and that the textures are “not designed to help users understand how these apps work. They’re just decoration.”&lt;/p&gt;
&lt;p&gt;I agree with John in that I don’t think these designs &lt;em&gt;directly &lt;/em&gt;help the user learn how to use the app. However, I think that they have more value than “just decoration”.&lt;/p&gt;
&lt;p&gt;Here’s a great quote from Steve Jobs from his biography:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I began to realize that an intuitive understanding and consciousness was more significant than abstract thinking and intellectual logical analysis.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Skeuomorphic UI designs make users feel comfortable. They put the user into a creative, curious mood by easing apprehension that a user might have in learning a new interface. Skeuomorphic UI designs are aimed at the primitive brain, not the analytical, which is why trying to analyze their pedagogical efficacy misses the point.&lt;/p&gt;</description><link>http://hocuspocuslocus.me/post/11978240734</link><guid>http://hocuspocuslocus.me/post/11978240734</guid><pubDate>Wed, 26 Oct 2011 20:12:45 -0700</pubDate></item><item><title>Things I wish Siri could do</title><description>&lt;p&gt;Apple&amp;#8217;s new &lt;a title="Siri" href="http://siri.com"&gt;Siri&lt;/a&gt; intelligent agent for the iPhone 4S understands a bunch of useful stuff, but I wish it could do more. Here&amp;#8217;s a list of tasks that I wish Siri could help me with:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&amp;#8220;Remind me to give Mark his present when I see him next&amp;#8221; — use Find My Friends to discover that Mark is close, then remind me to give him a present.&lt;/li&gt;
&lt;li&gt;&amp;#8220;What flights are leaving tomorrow for Seattle?&amp;#8221; — this use to work in Siri the app, but no longer does in Siri for iPhone 4S.&lt;/li&gt;
&lt;li&gt;&amp;#8220;Tweet &amp;#8216;hi there #vegastech&amp;#8217;&amp;#8221; — full integration with Twitter and Facebook, and a full understanding of hashtags and Twitter handles.&lt;/li&gt;
&lt;li&gt;&amp;#8220;Launch TweetBot&amp;#8221; — app launcher would be great!&lt;/li&gt;
&lt;li&gt;&amp;#8220;Reserve a table at a good Italian restaurant.&amp;#8221; — Siri use to have this ability by using &lt;a title="OpenTable" href="http://www.opentable.com"&gt;OpenTable&lt;/a&gt; in the app version. Not so in iPhone 4S.&lt;/li&gt;
&lt;li&gt;&amp;#8220;When&amp;#8217;s a good time to book a two-hour meeting this Thursday?&amp;#8221; — returns some choices for when the meeting might occur. Although this doesn&amp;#8217;t work, you can ask Siri &amp;#8220;what&amp;#8217;s going on at 3 this Thursday?&amp;#8221;&lt;/li&gt;
&lt;li&gt;&amp;#8220;What songs do I have by Dave Matthews?&amp;#8221; — returns a list of songs. Interestingly, she does understand this query, but says &amp;#8220;Sorry Mike, I can&amp;#8217;t search that content.&amp;#8221;&lt;/li&gt;
&lt;li&gt;&amp;#8220;Show me a preview for &amp;#8216;Green Latern&amp;#8217;&amp;#8221; — Siri the app use to return actual movie previews that you could watch. Not so on the iPhone 4S.&lt;/li&gt;
&lt;li&gt;&amp;#8220;What movies are playing tonight?&amp;#8221; — Siri the app use to return movies that were currently playing in theaters. Again, not on the iPhone 4S.&lt;/li&gt;
&lt;li&gt;&amp;#8220;How much time do I have before my next meeting?&amp;#8221; — she answers with the time and date of your next meeting. However, she doesn&amp;#8217;t go as far as actually giving you a time span. She has this data, she should be able to answer the question. &lt;/li&gt;
&lt;li&gt;&amp;#8220;Tell Mel he owes my $20&amp;#8221; — There is no &amp;#8220;Mel&amp;#8221; in my address book because he&amp;#8217;s under his full name &amp;#8220;Melvin&amp;#8221;. Siri should learn nicknames.&lt;/li&gt;
&lt;li&gt;&amp;#8220;Show me reviews for Joseph&amp;#8217;s Restaurant&amp;#8221; — she would return Yelp results.&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;To be fair, Siri does a few smart things that I didn&amp;#8217;t expect. For example, &amp;#8221;remind me to call Kaywood in a minute&amp;#8221; not only notifies you of your call, but she also pops up a dialog box offering to call Kaywood (which, I think, is more a function of the Reminders app).&lt;/p&gt;</description><link>http://hocuspocuslocus.me/post/11599888448</link><guid>http://hocuspocuslocus.me/post/11599888448</guid><pubDate>Mon, 17 Oct 2011 20:03:00 -0700</pubDate><category>iOS 5</category><category>siri</category><category>apple</category><category>iphone 4s</category></item><item><title>Photo</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_lt6at50XYx1qgwthjo1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;</description><link>http://hocuspocuslocus.me/post/11598702842</link><guid>http://hocuspocuslocus.me/post/11598702842</guid><pubDate>Mon, 17 Oct 2011 19:35:27 -0700</pubDate></item><item><title>Exactly right.</title><description>&lt;iframe width="400" height="299" src="http://www.youtube.com/embed/tfDCNpaPBiA?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Exactly right.&lt;/p&gt;</description><link>http://hocuspocuslocus.me/post/11514611405</link><guid>http://hocuspocuslocus.me/post/11514611405</guid><pubDate>Sat, 15 Oct 2011 23:20:28 -0700</pubDate></item><item><title>I don’t really have much to say other than have a great...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lsmbeqo35i1qasibbo1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;I don’t really have much to say other than have a great time wherever you went. You’ll continue to have a space the size of a deck of cards reserved in my pants pocket. Rest in peace dude.&lt;/p&gt;</description><link>http://hocuspocuslocus.me/post/11080137580</link><guid>http://hocuspocuslocus.me/post/11080137580</guid><pubDate>Wed, 05 Oct 2011 17:16:01 -0700</pubDate></item><item><title>Ally Bank is an Internet bank without a brick-and-mortar...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lpqpgehdBD1qasibbo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://ally.com"&gt;Ally Bank&lt;/a&gt; is an Internet bank without a brick-and-mortar presence. I find it ironic that to date they still don’t have a mobile-optimized experience. And when I say mobile-optimized experience, I mean iPhone app.&lt;/p&gt;
&lt;p&gt;Recently, I had a need for a bank with a mobile app that could deposit checks using the iPhone’s camera. I had considered Chase bank, but I just don’t like them. I think banks with a “you’re just a number” attitude like Chase will be given a run for their money by more forward thinking banking experiences like &lt;a href="https://banksimple.com/"&gt;BankSimple&lt;/a&gt;, due to open this year.&lt;/p&gt;
&lt;p&gt;I opened an account with &lt;a href="https://www.pnc.com"&gt;PNC&lt;/a&gt; because they had an &lt;a href="http://itunes.apple.com/us/app/pnc-mobile-banking/id303113127?mt=8"&gt;iPhone app with remote deposit&lt;/a&gt;. Unfortunately, the app is utter crap. It times out on login eight out of ten times. You can’t even access remote deposit until you’ve banked with them for 30 days, but they don’t mention that anywhere in the app’s description. Instead you’re left to hunt all over the app for a button that doesn’t exist. I wasted a good thirty minutes looking for it and Googling for some kind of manual. I’m likely going to close the account.&lt;/p&gt;
&lt;p&gt;I like Ally Bank, the absence of hidden and ATM fees, and their decent web experience, but I’m left wishing that they had a top-notch mobile experience to match. I’m not alone. Point your browser at &lt;a href="http://community.ally.com/straight-talk/2010/06/welcome-to-ally-straight-talk-blog/"&gt;their blog&lt;/a&gt; and do a search for “iPhone” to see what I’m talking about. To see if I could take this discussion from their blog into a more public arena, I created the &lt;a href="http://on.fb.me/allyiphone"&gt;Ally Bank needs an iPhone app&lt;/a&gt; Facebook page. I also created an app mockup to use as an avatar and to exercise my Photoshop skills a bit. If only all banking applications looked as good and worked as well as &lt;a href="http://tapbots.com/software/tweetbot/"&gt;Tweetbot&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Anyway, I guess I’ll wait until someone gets online banking right. I’m banking (pun intended) on BankSimple, but I also have high hopes for Ally. If you happen to be an Ally customer, I hope you’ll &lt;a href="http://on.fb.me/allyiphone"&gt;like my Facebook page&lt;/a&gt;.&lt;/p&gt;</description><link>http://hocuspocuslocus.me/post/8758481553</link><guid>http://hocuspocuslocus.me/post/8758481553</guid><pubDate>Wed, 10 Aug 2011 18:29:00 -0700</pubDate><category>bank</category><category>banking</category><category>internet banking</category><category>iphone</category><category>iOS</category><category>app</category></item><item><title>"Has that been Photoshopped a lot?"</title><description>&lt;a href="http://www.creativepro.com/article/all-photos-are-manipulated"&gt;"Has that been Photoshopped a lot?"&lt;/a&gt;: &lt;p&gt;&lt;a href="http://onefps.net/post/8567915224" class="tumblr_blog"&gt;chartier&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Ben Long, CreativePro.com:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;“Image editing” starts as soon as you lift your eye to the viewfinder. What you choose to include in the frame is a massive edit of the scene before you, and it’s important to understand just how powerful this “cropping” of the real world can be.&lt;/p&gt;
&lt;/blockquote&gt;&lt;/blockquote&gt;

&lt;p&gt;Yup.&lt;/p&gt;</description><link>http://hocuspocuslocus.me/post/8568396515</link><guid>http://hocuspocuslocus.me/post/8568396515</guid><pubDate>Sat, 06 Aug 2011 13:05:02 -0700</pubDate></item><item><title>A phone number formatting category on NSString</title><description>&lt;p&gt;Actually, all the credit goes to &lt;a href="http://the-lost-beauty.blogspot.com/2010/01/locale-sensitive-phone-number.html"&gt;Ahmed Abdelkader&lt;/a&gt; for this code. All I did was stick it in an easy-to-use category.&lt;/p&gt;
&lt;p&gt;This work is licensed under a &lt;a href="http://creativecommons.org/licenses/by/3.0/us/"&gt;Creative Commons Attribution 3.0 License&lt;/a&gt; which basically means you can use it free for any purpose as long as you give proper attribution.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NSString+PhoneNumberFormatting.m&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;//
//  NSString+PhoneNumberFormatting.m
//
//  Created by Mike Manzano on 7/28/11.
//
//	This work is licensed under a Creative Commons Attribution 3.0 License.
//
//	Adapted from work by Ahmed Abdelkader on 1/22/10, whose work is
//  licensed under a Creative Commons Attribution 3.0 License.
//	&lt;a href="http://the-lost-beauty.blogspot.com/2010/01/locale-sensitive-phone-number.html"&gt;http://the-lost-beauty.blogspot.com/2010/01/locale-sensitive-phone-number.html&lt;/a&gt;

#import 

// Supported locales
extern NSString *xPhoneNumberLocale_US ;
extern NSString *xPhoneNumberLocale_UK ;
extern NSString *xPhoneNumberLocale_JP;

@interface NSString (PhoneNumberFormatting)
- (NSString *)formattedPhoneNumberForLocale:(NSString *)xPhoneNumberLocale ;
@end
&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;NSString+PhoneNumberFormatting.m&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;//
//  NSString+PhoneNumberFormatting.m
//
//  Created by Mike Manzano on 7/28/11.
//
//	This work is licensed under a Creative Commons Attribution 3.0 License.
//
//	Adapted from work by Ahmed Abdelkader on 1/22/10, whose work is
//  licensed under a Creative Commons Attribution 3.0 License.
//	&lt;a href="http://the-lost-beauty.blogspot.com/2010/01/locale-sensitive-phone-number.html"&gt;http://the-lost-beauty.blogspot.com/2010/01/locale-sensitive-phone-number.html&lt;/a&gt;


#import "NSString+PhoneNumberFormatting.h"

NSString *xPhoneNumberLocale_US = @"us" ;
NSString *xPhoneNumberLocale_UK = @"uk" ;
NSString *xPhoneNumberLocale_JP = @"jp" ;


@implementation NSString (PhoneNumberFormatting)

+ (NSDictionary *) sharedPhoneFormats
	{
	static NSDictionary *formats = nil ;
	
	static dispatch_once_t onceToken;
	dispatch_once(&amp;amp;onceToken, ^{
		NSArray *usPhoneFormats = [NSArray arrayWithObjects:
								   @"+1 (###) ###-####",
								   @"1 (###) ###-####",
								   @"011 $",
								   @"###-####",
								   @"(###) ###-####", nil];
		
		NSArray *ukPhoneFormats = [NSArray arrayWithObjects:
								   @"+44 ##########",
								   @"00 $",
								   @"0### - ### ####",
								   @"0## - #### ####",
								   @"0#### - ######", nil];
		
		NSArray *jpPhoneFormats = [NSArray arrayWithObjects:
								   @"+81 ############",
								   @"001 $",
								   @"(0#) #######",
								   @"(0#) #### ####", nil];
		
		formats = [[NSDictionary alloc] initWithObjectsAndKeys:
							 usPhoneFormats, xPhoneNumberLocale_US,
							 ukPhoneFormats, xPhoneNumberLocale_UK,
							 jpPhoneFormats, xPhoneNumberLocale_JP,
							 nil];
		});
	
	return formats ;
	}


- (BOOL)canBeInputByPhonePad:(char)c 
	{
	if(c == '+' || c == '*' || c == '#') return YES;
	if(c &amp;gt;= '0' &amp;amp;&amp;amp; c &amp;lt;= '9') return YES;
	return NO;
	}

// Strips out invalid characters
- (NSString *)strip:(NSString *)phoneNumber 
	{
	NSMutableString *res = [[[NSMutableString alloc] init] autorelease];
	for(int i = 0; i &amp;lt; [phoneNumber length]; i++) 
		{
		char next = [phoneNumber characterAtIndex:i];
		if([self canBeInputByPhonePad:next])
			[res appendFormat:@"%c", next];
		}
	return res;
	}


- (NSString *)formattedPhoneNumberForLocale:(NSString *)xPhoneNumberLocale 
	{
	NSString *phoneNumber = self ;
	NSArray *localeFormats = [[NSString sharedPhoneFormats] objectForKey:xPhoneNumberLocale];
	if(localeFormats == nil) return phoneNumber;
	NSString *input = [self strip:phoneNumber];
	for(NSString *phoneFormat in localeFormats) 
		{
		int i = 0;
		NSMutableString *temp = [[[NSMutableString alloc] init] autorelease];
		for(int p = 0; temp != nil &amp;amp;&amp;amp; i &amp;lt; [input length] &amp;amp;&amp;amp; p &amp;lt; [phoneFormat length]; p++) 
			{
			char c = [phoneFormat characterAtIndex:p];
			BOOL required = [self canBeInputByPhonePad:c];
			char next = [input characterAtIndex:i];
			switch(c) 
				{
				case '$':
					p--;
					[temp appendFormat:@"%c", next]; i++;
					break;
				case '#':
					if(next &amp;lt; '0' || next &amp;gt; '9') 
						{
						temp = nil;
						break;
						}
					[temp appendFormat:@"%c", next]; i++;
					break;
				default:
					if(required) 
						{
						if(next != c) 
							{
							temp = nil;
							break;
							}
						[temp appendFormat:@"%c", next]; i++;
						} 
					else 
						{
						[temp appendFormat:@"%c", c];
						if(next == c) i++;
						}
				break;
				}
			} // build temp loop
		if(i == [input length]) 
			{
			return temp;
			}
		} // for each format
	return input;
	}
@end
&lt;/pre&gt;</description><link>http://hocuspocuslocus.me/post/8174687796</link><guid>http://hocuspocuslocus.me/post/8174687796</guid><pubDate>Thu, 28 Jul 2011 09:23:00 -0700</pubDate><category>objc</category><category>objective-c</category><category>iphone</category><category>mac</category><category>iOS</category><category>code</category><category>phone numbers</category></item><item><title>Comehangwith.me (Taken with instagram)</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lnoqs42wXl1qasibbo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Comehangwith.me (Taken with &lt;a href="http://instagr.am"&gt;instagram&lt;/a&gt;)&lt;/p&gt;</description><link>http://hocuspocuslocus.me/post/7143350594</link><guid>http://hocuspocuslocus.me/post/7143350594</guid><pubDate>Fri, 01 Jul 2011 19:55:16 -0700</pubDate></item><item><title>Desktop vs. Web apps at #FOWA.  (Taken with instagram)</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lnim3dcsNm1qasibbo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Desktop vs. Web apps at #FOWA.  (Taken with &lt;a href="http://instagr.am"&gt;instagram&lt;/a&gt;)&lt;/p&gt;</description><link>http://hocuspocuslocus.me/post/7018745040</link><guid>http://hocuspocuslocus.me/post/7018745040</guid><pubDate>Tue, 28 Jun 2011 12:28:25 -0700</pubDate><category>fowa</category></item><item><title>Startup Weekend Las Vegas Presentations #SWLV (Taken with...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lnfe03QPqZ1qasibbo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Startup Weekend Las Vegas Presentations #SWLV (Taken with &lt;a href="http://instagr.am"&gt;Instagram&lt;/a&gt; at El Cortez Hotel &amp; Casino)&lt;/p&gt;</description><link>http://hocuspocuslocus.me/post/6958406128</link><guid>http://hocuspocuslocus.me/post/6958406128</guid><pubDate>Sun, 26 Jun 2011 18:40:51 -0700</pubDate><category>swlv</category></item><item><title>Mini (Taken with Instagram at Ceasar’s Palace - Forum...</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_lmudv5B7SP1qasibbo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Mini (Taken with &lt;a href="http://instagr.am"&gt;Instagram&lt;/a&gt; at Ceasar’s Palace - Forum Shops)&lt;/p&gt;</description><link>http://hocuspocuslocus.me/post/6558310785</link><guid>http://hocuspocuslocus.me/post/6558310785</guid><pubDate>Wed, 15 Jun 2011 10:28:17 -0700</pubDate></item><item><title>Evil dog checkers (Taken with instagram)</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lmgim8g3Ba1qasibbo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Evil dog checkers (Taken with &lt;a href="http://instagr.am"&gt;instagram&lt;/a&gt;)&lt;/p&gt;</description><link>http://hocuspocuslocus.me/post/6311957495</link><guid>http://hocuspocuslocus.me/post/6311957495</guid><pubDate>Tue, 07 Jun 2011 22:44:33 -0700</pubDate></item></channel></rss>

