iOS Custom Colored MKAnnotations on Maps

iOS Custom Colored MKAnnotations on Maps sugartin step 2

Hi All ! In this post, I am going to illustrate implementing custom colored MKAnnotations on Map. I will not write much. Just go through following video to understand output. If output is as per your expectation, this post is … Continue reading

Add To Cart – Shopping Cart View Animation using UITabBar & UITableView

sugartin addtocart shopping animation uiview layer step 11

Check out above video first before going through the entire post. Did you like that implementation ? Do you really want to have similar kind of implementation ? Are you really looking for something similar ? If yes, this post … Continue reading

Handle Tap On UILabel event / UIGesture on UILabel

xcode_hammer_build_blueprint_tool

Step 1. Add UILabel dynamically or using interface builder into your view. Step 2. Put following lines of code for handling Tap On UILabel.

Detect Device Version – iPhone 2G, 3G, 3Gs, 4, 4s, iPad 1, iPad2, iPad3

sugartin iphones detect device by coding

Sometimes, Your application might need to check which device is being used by the user. For example – My App needs to track that – iPhone3G users are 120, iPhone3Gs users are 340 & iPad2 users are 100. So, I … Continue reading

Accessing Application Version into your application

sugartin accessing app version

  As illustrated in image above, Assume that you have to access & display the Application version name. Or While making a web-service call, you have to pass the version of the application, so that server can know, which version … Continue reading

Using TouchXML for XML having Custom XMLNS

sugartin xml parsing touchxml xmlns custom

Yes ! TouchXML would not be able to trigger XPath queries when XMLs have custom name-spaces. ( XMLNS – xml name-spaces ) Here is the sample XML which has custom name-space.

So, For parsing such data if you try … Continue reading

Locally Store/Retrive the data into NSUserDefaults

4b27347123d470cf1a5dcfb4f60b51c6

NSUserDefaults class, you can save settings and properties related to application or user data.I will be showing you how you can save and retrieve different types of data using the NSUserDefaults object. I will be showing you how you can save and retrieve … Continue reading

Quickly playing sound using OpenAL

Sugartin sound audio OpenAL

Yes ! Usually iOS developer uses AVAudioPlayer to play sounds. But AVAudioPlayer takes time to load sound file for the first time. To load & play sound very quickly, one can go for OpenAL sound. So, here are the steps … Continue reading