Convert UnixTimeStamp Date with specified Timezone. Example "/Date(1395486890000+0530)/" as a sample value.

Convert Unix time stamp to NSDate

Convert UnixTimeStamp Date with specified Timezone. Example “/Date(1395486890000+0530)/” as a sample value.

Compare two array without use of loop

1526

In this post, I’m going to provide you code snips for compare two different array of objects using NSMutableSet of NSSet class methods use which is following ,among of that here some example and output here.

 

Generate random string in Objective-C

Random string generation in objective-c

Following code snip will help you to generate random string by specifying the length of random string to be generated. Copy & paste following method as per your desire.  

Fetching recent tweets from twitter which works for iOS 7 + iOS 6 + iOS 5

Twitter icon

Fetching recent tweets from twitter which works for iOS 7 + iOS 6 + iOS 5 Download following class into your project & use class to fetch recent tweets.

An Objective-C CSV Parser which works with single-quote and double-quote on iOS 7 + iOS 6 + iOS 5 + iOS 4

CSV Icon

An Objective-C CSV Parser which works with ‘ (single-quote) or/and ” (double-quote) on iOS 7 + iOS 6 + iOS 5 + iOS 4 Put following code to parse CSV file.  

Get IP Address or MAC Address of iOS Device or iOS Simulator

Put this method into your class & you can obtain the IP address of current device. To obtain MAC address, put following code.

Common Date operations in Objective-C

In this post, I’m going to provide you code snips for common date operations like yesterday, last month, last week etc. Just keep scrolling through code snips & I hope you would get what you need. 1. LastWeek: Get date … Continue reading

iOS7 / iOS 6 / iOS 5 – Get Device Unique Identifier UDID

Following code will help you to get the unique-device-identifier known as UDID. No matter what iOS user is using, you can get the UDID of the current iOS device by following code.