Sha256: c4505307f80195c9d80976ea62c11bfadcb370dd10060df28d1aa0233e2feb73

Contents?: true

Size: 602 Bytes

Versions: 14

Compression:

Stored size: 602 Bytes

Contents

//
//  Sampler.swift
//  DemoApp
//
//  Created by MORITANAOKI on 2015/07/11.
//  Copyright (c) 2015年 MORITANAOKI. All rights reserved.
//

import Foundation

struct Sample {
    let desc: String
    let result: String
    init(desc: String, result: String) {
        self.desc = desc
        self.result = result
    }
    func string() -> String {
        return "DESCRIPTION: \(desc)\t RESULT: \(result)"
    }
}

struct Sampler {
    let samples: [Sample]
    init(samples: [Sample]) {
        self.samples = samples
    }

    func print() {
        samples.map { println($0.string()) }
    }
}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
xcmultilingual-0.3.1 DemoApp/DemoApp/Sampler.swift
xcmultilingual-0.3.0 DemoApp/DemoApp/Sampler.swift
xcmultilingual-0.2.3 DemoApp/DemoApp/Sampler.swift
xcmultilingual-0.2.2 DemoApp/DemoApp/Sampler.swift
xcmultilingual-0.2.1 DemoApp/DemoApp/Sampler.swift
xcmultilingual-0.2.0 DemoApp/DemoApp/Sampler.swift
xcmultilingual-0.1.7 DemoApp/DemoApp/Sampler.swift
xcmultilingual-0.1.6 DemoApp/DemoApp/Sampler.swift
xcmultilingual-0.1.5 DemoApp/DemoApp/Sampler.swift
xcmultilingual-0.1.4 DemoApp/DemoApp/Sampler.swift
xcmultilingual-0.1.3 DemoApp/DemoApp/Sampler.swift
xcmultilingual-0.1.2 DemoApp/DemoApp/Sampler.swift
xcmultilingual-0.1.1 DemoApp/DemoApp/Sampler.swift
xcmultilingual-0.1.0 DemoApp/DemoApp/Sampler.swift