Apply color to black-masked-image

In this post, I’ll illustrate how to apply color to specified black-masked-image. Please go through the code to understand implementation.

Take screen-shot of current-application-window

In this post, I’ll illustrate how to take screen-shot of the current-app-window. Please go through the code to understand the snip or just grab it & paste it in your code.

Create an image using color and size supplied in arguments

In this post, I’ll illustrate how to create an image with the help of color specified and size specified. Sometimes, during development, you might need to create an image with specific color. As an example, if you wish to have … Continue reading

Decode HTML String to normal text

In this post, I’ll provide you a quick snippet for trimming/decoding HTML text from NSString. So, the code snippet given here will just remove the HTML tags supplied within the NSString object. Assume you have following string.

Code snippet … Continue reading

Create Circle Path in Objective-c using UIBezierPath

In this post, I’ll quickly illustrate how to create a circle/arc path in objective-c.

 

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

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