This file contains 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
// | |
// Promise.swift | |
// | |
// Created by Donald Hays on 6/4/14. | |
// | |
import Foundation | |
/** | |
* A Promise is a container of a single value. That value will be assigned only |
This file contains 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
import Foundation | |
/// Represents a person for the purposes of Secret Santa pairing. | |
struct Person: Equatable, CustomStringConvertible { | |
/// The person's given name. | |
var givenName: String | |
/// The person's family name. | |
var familyName: String | |
This file contains 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
import Swift | |
/// A `TimeInterval` represents a length of time in seconds. | |
public typealias TimeInterval = Double | |
/// A `Date` represents a single point in time. | |
public struct Date: Hashable, Comparable, CustomStringConvertible { | |
// MARK: - | |
// MARK: Public Properties | |
This file contains 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
import Swift | |
/// `UUID` represents a 128-bit value suitable for uniquely identifying things. | |
public struct UUID: Hashable { | |
// MARK: - | |
// MARK: Public Properties | |
/// The raw bytes of the UUID. | |
public let data: Data | |
This file contains 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
// | |
// Path.swift | |
// | |
// Created by Donald Hays on 9/17/15. | |
// | |
import Darwin | |
/// `Path` represents the basic components of a file system path. | |
public struct Path: Hashable, CustomStringConvertible, StringLiteralConvertible, ArrayLiteralConvertible { |