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

iOS Print functionality – to print using AirPrinter

AirPrint - iOS iPad iPhone - 3

Now, It’s possible to print a document/image from the iOS Device having iOS 5. To implement print functionality  UIPrintInteractionControllerDelegate is used. Here are the screen-shots of the sample code given at the end of this post. iPhone screen – before … Continue reading

Best way to trim white spaces from a NSString

Do you guys stuck with trimming white-spaces ? Following snip of code would surely help you to trim string.

As you can notice that, strUserName string will have trimmed characters from textField of UserName. Examples

Also the create … 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

Checking Current Device using macro

I use following macro. I place following macro in Application-Prefix.pch file.

Now, I can write anywhere in code as follows. One can directly write ‘UI_USER_INTERFACE_IDIOM’ but I prefer isIPAD as better option.

The Open Source iPhone Apps List

220px-Opensource.svg

Here is the open source iphone app list in alphabetical order: 1. 2012 Olympics – App displaying timetable for 2012 Olympic events. (iTunes link) (source code) 2. ABC 123 – Sequence memorization game. Utilizes Cocos2D. (iTunes link) (source code) 3. AntiMapLog – An app for recording your own data (location, time, etc.) … Continue reading