Skip to content

Instantly share code, notes, and snippets.

View junpluse's full-sized avatar

Jun Tanaka junpluse

View GitHub Profile
import Foundation
/// A type that privides mutation interface for a wrapped value.
public struct Mutation<Value> {
/// The wrapped value.
public var value: Value
/// Creates an instance that wraps the given value.
///
/// - Parameter value: The value to store.
import Foundation
/// https://source.unsplash.com
public struct Unsplash {
public struct Source: RawRepresentable {
public let rawValue: String
public init(rawValue: String) {
self.rawValue = rawValue
}