Skip to content

Instantly share code, notes, and snippets.

Kerem Karatal keremk

View GitHub Profile
@keremk
keremk / Date.playground
Created Jun 24, 2014
Swift Date Helpers
View Date.playground
// Playground - noun: a place where people can play
import UIKit
var str = "Hello, playground"
enum TimeIntervalUnit {
case Seconds, Minutes, Hours, Days, Months, Years
func dateComponents(interval: Int) -> NSDateComponents {
View Test.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.