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

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