Quantcast
Channel: Piyush Hari
Browsing latest articles
Browse All 5 View Live

A Tip on programming Table Views

I found a great post on organizing your code while writing code around Table View/Table View Delegate. It details how one can organize sections and rows by making them enums instead of using numbers...

View Article



“Expected Expression” when declaring and initializing NSInteger in a switch...

I ran across a strange problem today. Tried something like this: switch(controlVariable) { case 0: NSInteger x = kSomeConstant; // some other code… break; case 1: // … default: // … } And to my...

View Article

Image may be NSFW.
Clik here to view.

Mad World by Gary Jules – in my voice and on my guitar!

A bright Saturday afternoon and I can’t stop humming this song. Time to record ! Here is the Music Player. You need to installl flash player to show this cool thing!

View Article

REST API – Testing

So, you’ve written a REST API that handles the following request methods: GET POST DELETE PUT Now, you want to test them. I’ve found two great clients in order to test your REST APIs. POSTER (for users...

View Article

HTTP POST from iOS

This post shares the code to do a simple HTTP POST from iOS. NSString *post = [NSString stringWithFormat:@"key1=%@&key2=%@",value1,value2]; NSData *postData = [post...

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images