Enable network sharing on Mac OS X

sugartin wifi share network

Using this post, I am going to illustrate – How to enable network sharing over wifi when using Mac OS X ? 1. Ensure that you are connected to internet. 1.1. Go to System Preferences. 1.2. Click on Network. 1.3. … Continue reading

Prevent iPhone from Sleeping

4b27347123d470cf1a5dcfb4f60b51c6

The automatic sleep timer is one of the ways the iPhone saves power. If the screen isn’t touched for a certain amount of time, it dims the screen and eventually turns it off. Although you should leave the timer on, … Continue reading

Wanted! Duel – Free iPhone & iPad Game

iphone ipad game free sugartin wanted dual eypeplay xpandity - 01

Download the Game from HERE Sanco Vanila & Hose Cokito are facing each other and waiting for you to help them find out who will be the greatest cowboy… Wanted! Duel is a 2 player funny and addictive quick fire … Continue reading

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

Disable auto launch of iTunes / iPhoto / ImageCapture on connecting iDevice to Mac

Most of the times, when I connect my iPhone or iPad or iPod to my Mac, I am facing a problem that iPhoto & iTunes start jumping & hangs my system for few seconds. That really irritates me. Just because, … 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