Locations for Simulators, Provisioning profiles, Snap-shots, Build, Documentation, Project Archives

XCode Documentation Location

Simulators location cd ~/Library/Developer/CoreSimulator/Devices/ Provisioning profile location ~/Library/MobileDevice/Provisioning Profiles/ Build location ~/Library/Developer/Xcode/DerivedData/your-project-name-xyz/ Snapshot location ~/Library/Developer/Xcode/Snapshots/your-project-name-xyz/ Archives location ~/Library/Developer/Xcode/Archives/ Documentation location ~/Library/Developer/Shared/Documentation/DocSets/

XCode5 Target capabilities Settings under Project Settings

In newer XCode5, you would find a quick short-cut to enable/disable target capabilities like iCloud, Game center, Passbook, Maps, In-App Purchases, key-chain sharing, Inter-app audio, Background modes, Data protection under Project-target settings directly as illustrated in following image.

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.

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

MultiLevel Parsing using DOM parser – TouchXML

TouchXML for Flickr API

Hello Everyone ! Using this post I am going to describe the most complicated parsing of complex XML data using TouchXML parsing method. Let’s have a brief idea. Say for example, if you have to parse following xml file. It’s … Continue reading

MultiLevel Parsing using DOM parser – TouchXML

TouchXML for Flickr API

Hello Everyone ! Using this post I am going to describe the most complicated parsing of complex XML data using TouchXML parsing method. Let’s have a brief idea. Say for example, if you have to parse following xml file. It’s … Continue reading

NSData to Base64 NSString & Base64 NSString to NSData – Conversion/Encoding

Base 64 encoding & Decoding

This post is surely going to help for easy conversion between Base64 NSString & NSData. I will guide you how to encode & decode.

You can always use methods base64DataFromString and base64StringFromData if you have properly imported following file. NSStringAdditions.h … Continue reading

NSData to Base64 NSString & Base64 NSString to NSData – Conversion/Encoding

Base 64 encoding & Decoding

This post is surely going to help for easy conversion between Base64 NSString & NSData. I will guide you how to encode & decode.

You can always use methods base64DataFromString and base64StringFromData if you have properly imported following file. NSStringAdditions.h … Continue reading