Sending a SOAP Request using ASIHTTP & Parsing using TouchXML

sugartin xml parsing touchxml xmlns custom

Hi All ! For sending requests to SOAP web-services, one can use different techniques as follows. Using NSURLConnection & NSXMLParser Using NSURLConnection & TouchXML Parser Using NSURLConnection & LibXml2 Parser Using ASIHTTPRequest & NSXML Parser/TouchXML Parser/LibXml2 Parser. Using this post, … Continue reading

Zoom in and Zoom out Pinch Gesture Recognizer

pinch Gesture_Pinch.ogg

Hi All ! I will show you how to  Pinch zoom In / Zoom Out over UIImageView,UIViewController ..etc with use of the UIPinchGestureRecognizer.User can zoom in/out view and set the UIImage and any controller over their. Following Code for the … Continue reading

Set Dynamically Height of the UITableViewCell

DynamicHeights_thumb

In this post I will show you how to set your table view cell heights dynamically based upon the text content without subclassing UITableViewCell. You can subclass it, however, doing so does not make the code much cleaner as setting … Continue reading

Hiding Menu on appear in UIWebView/UITextView/UITextField

sugartin hide UIMenu on appear 2

Hi All ! Sometimes, Developer may want to restrict users to copy some data from their app. Most of the time, for displaying rich-media-contents, developers use UIWebView. But UIWebView comes with default behaviors. We eliminated one of the default behavior … Continue reading

Avoid/Disable default ActionSheet for Open,Copy from a UIWebview

sugartin uiwebview avoid actionsheet for actions

Just check following image. So, while displaying contents in a UIWebView, you may face above problem for hyperlinks. By long pressing over a hyper-link, by default UIWebView will display such action-sheet for providing above actions to user. In most of … Continue reading

Adding contact to specific Groups

contact book add contact

Hi All ! Using this post, I am going to illustrate adding contact into specific group using the little code snip. Find the code snip as follows. First part of code snip is for creating group in address book & … Continue reading

Detecting iPhone 5

iphone 5 sugartin xcode detect

Attempt to check if the current device is an iPhone 5 at runtime. The most advanced version of this I’ve found is from this answer on StackOverflow. The following is a slightly modified version of the macros created in the StackOverflow … Continue reading