This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UIView.swift | |
// Kidsay | |
// | |
// Created by Jeremy Fox on 12/19/14. | |
// Copyright (c) 2014 Jeremy Fox. All rights reserved. | |
// | |
import UIKit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Examples: | |
var date: NSDate | |
date = 10.seconds.fromNow | |
date = 30.minutes.ago | |
date = 2.days.from(someDate) | |
date = NSDate() + 3.days | |
if dateOne < dateTwo { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
applicationID: #<ActionDispatch::Http::Headers:0x007f97a82499a0 @req=#<ActionDispatch::Request:0x007f97a2b4a820 @env={"rack.version"=>[1, 3], "rack.errors"=>#<IO:<STDERR>>, "rack.multithread"=>true, "rack.multiprocess"=>false, "rack.run_once"=>false, "SCRIPT_NAME"=>"", "QUERY_STRING"=>"", "SERVER_PROTOCOL"=>"HTTP/1.1", "SERVER_SOFTWARE"=>"puma 3.6.0 Sleepy Sunday Serenity", "GATEWAY_INTERFACE"=>"CGI/1.2", "REQUEST_METHOD"=>"GET", "REQUEST_PATH"=>"/v1/buildings/18906/", "REQUEST_URI"=>"/v1/buildings/18906/", "HTTP_VERSION"=>"HTTP/1.1", "HTTP_HOST"=>"localhost:3000", "HTTP_USER_AGENT"=>"curl/7.43.0", "HTTP_ACCEPT"=>"*/*", "HTTP_XAPPLICATIONID"=>"ag/iphone", "SERVER_NAME"=>"localhost", "SERVER_PORT"=>"3000", "PATH_INFO"=>"/v1/buildings/18906", "REMOTE_ADDR"=>"::1", "puma.socket"=>#<TCPSocket:fd 33>, "rack.hijack?"=>true, "rack.hijack"=>#<Puma::Client:0x3fcbd4824814 @ready=true>, "rack.input"=>#<Puma::NullIO:0x007f97a548e330>, "rack.url_scheme"=>"http", "rack.after_reply"=>[], "puma.config"=>#<Puma::Configuration |
OlderNewer