Displaying iOS Device Battery level indication within your application.

sugartin battery iOS Device

Very simple illustration for implementing this. 1. Open your view controller. 2. Enable Battery monitoring. 3. Put a scheduler to update battery details. Here is the code for it.

Here is the scheduler method.

Grab the source code … Continue reading

Show Map, Show website, Send Mail & Make a phone call – All in one sample code

phonecall, map, website, email - 2

In this post, I will create a sample code which will help to add multiple functions. Output of the application is as follows. It will include following feature. Show Map Show web-site Send email Make a phone call Here, I … Continue reading

Show Map, Show website, Send Mail & Make a phone call – All in one sample code

phonecall, map, website, email - 2

In this post, I will create a sample code which will help to add multiple functions. Output of the application is as follows. It will include following feature. Show Map Show web-site Send email Make a phone call Here, I … Continue reading

Having trouble while checkout from Google ?

SVN and HG Checkouts 2

Google-code mostly uses either SVN or Mercurial tools as sub-version control systems. But in mac osx, neither SVN nor Mercurial commands are installed by default. First I will describe installing Mercurial. Installation & usage steps for Mercurial ( HG ) … Continue reading

Strange error by iOS Simulator – bootStrap server – couldn’t register …

iOS iPhone iPad Simulator Hang Another instance error

Sometimes, when you try to run your project in iOS Simulator, you might get following strange error.   Couldn’t register com.sugartin.info with the bootstrap server. Error: unknown error code. This generally means that another instance of this process was already … Continue reading

Strange error by iOS Simulator – bootStrap server – couldn't register …

iOS iPhone iPad Simulator Hang Another instance error

Sometimes, when you try to run your project in iOS Simulator, you might get following strange error.   Couldn’t register com.sugartin.info with the bootstrap server. Error: unknown error code. This generally means that another instance of this process was already … Continue reading

Enabling zooming in mac os x lion

Enable Zoom in LION Mac OSX Step1

I am going to describe “enabling zooming in mac os x lion” step by step in this post. Step 1 ) Click on System Preferences or Open System Preferences. Step 2 ) Click on Universal Access. Step 3 ) Select … Continue reading

UIView Transitions HMGLTransitionManager

ClothEffect

Note : This post is entirely based on HGMLTransition Git Source. UIView’s sweet animation capabilities we were used to in pre-iOS 4 are now deprecated and Apple suggests we start using blocks which is far more convenient and simpler way … Continue reading