Downloading Large files with proper download progress

sugartin download progress bar in alertview ios step 2

Sometimes, In your app, you might need to implement coding for downloading mega/large files. We have created a illustration here for that. 1. Download sample code from here & Drag files into your project as illustrated below. 2. Now Import … Continue reading

Divide NSData Into pieces & gather Pieces into single NSData Object for security purpose

XCode-Logo small

Following methods will help you to understand the concept of Dividing data & merging them back. Go through the comments inserted within to understand the code.

Add Encryption to your NSData

4b27347123d470cf1a5dcfb4f60b51c6

1. Import files linked here into your project. 2. Import header file into your implementation to have access to encryption methods. 3. Please find the following example to understand the Encryption Technique.

4. Please find the following example to … 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

Adding overlays on MKMapView using MKPolygon, MKPolygonView, MKOverlayView & MKAnnotationView

Adding overlays on MKMapView

Hey ! Hi All ! Let’s just have a quick look to the output of what I am going to illustrate using this post. So, This is how it looks like. If you are looking for similar kind of solution, … Continue reading

Adding overlays on MKMapView using MKPolygon, MKPolygonView, MKOverlayView & MKAnnotationView

Adding overlays on MKMapView

Hey ! Hi All ! Let’s just have a quick look to the output of what I am going to illustrate using this post. So, This is how it looks like. If you are looking for similar kind of solution, … 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

Download images, Store & Access them within application

In this post, I’ll illustrate downloading images, storing them locally, manage the .plist file for those images & using that .plist file access images application-wide. For that following code to implement. 1) Create new Project select “Single View Application” and … Continue reading