Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (28 sloc) 907 Bytes
//
// WhatsNewVersionStore.swift
// WhatsNewKit-iOS
//
// Created by Sven Tiigi on 21.05.18.
// Copyright © 2018 WhatsNewKit. All rights reserved.
//
import Foundation
// MARK: - WhatsNewVersionStore
/// The WhatsNewVersionStore typealias
public typealias WhatsNewVersionStore = WriteableWhatsNewVersionStore & ReadableWhatsNewVersionStore
// MARK: - WriteableWhatsNewVersionStore
/// The WriteableWhatsNewVersionStore
public protocol WriteableWhatsNewVersionStore {
/// Set Version
///
/// - Parameter version: The Version
func set(version: WhatsNew.Version)
}
// MARK: - ReadableWhatsNewVersionStore
/// The ReadableWhatsNewVersionStore
public protocol ReadableWhatsNewVersionStore {
/// Has Version
///
/// - Parameter version: The Version
/// - Returns: Bool if Version has been presented
func has(version: WhatsNew.Version) -> Bool
}
You can’t perform that action at this time.