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.

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

Adding Events to default Calendar of iPhone/iPad/iPod

sugartin iphone ios calendar entry add EKEventKit

In this Post, I will quickly illustrate about ‘Adding Events to default Calendar App of the iOS Device’. Please follow the steps as listed below. 1. Add the EventKit.framework into your project. 2. Jump to your class-implementation.m file & import … Continue reading

Local Push Notifications in iPhone/iPod and ipad

Screen Shot 2012-01-06 at 6.31.41 PM

In this post I’ll show you the basics for working with local notifications, which are notifications generated from the device itself, versus a remote notification (aka push notification) that is sent from a remote server. Local notifications are useful when … Continue reading