Skip to content

Instantly share code, notes, and snippets.

View ibhavin's full-sized avatar

Bhavin Ramani ibhavin

  • Rajkot
View GitHub Profile
@ibhavin
ibhavin / Time Ago
Last active May 25, 2017 09:12
TimeStamp Calculation
NSDateFormatter * dateFormatter = [[NSDateFormatter alloc]init];
[dateFormatter setDateFormat:@"dd/MM/yyyy hh:mm:ss a"];
NSDate *date = [dateFormatter dateFromString:@"09/07/2016 08:44:12 PM"];
[self getTimestampForDate:date];
- (NSString*)getTimestampForDate:(NSDate*)date {
NSDate* sourceDate = date;
@ibhavin
ibhavin / Swift Playground
Last active September 21, 2016 12:06
Array - Dictionary - Functions (Swift playground)
//: Playground - noun: a place where people can play
import UIKit
var str = "Hello, welcome to playground tutorial"
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
var str1 : String = "Bhavin "
var str2 : String = "Ramani"
@ibhavin
ibhavin / Useful Libraries.txt
Last active December 10, 2016 07:51
Useful Libraries
Useful
----------------
- https://github.com/engineerapart/TheRemoteFreelancer
- https://github.com/swiftcodex/open-source-ios-apps
- http://thestacks.im/?ref=flatuicolors.com
Plug Ins :-
1. https://github.com/rickytan/RTImageAssets
2. https://github.com/nomad/shenzhen