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 UIKit | |
public enum DisplayType { | |
case unknown | |
case iphone4 | |
case iphone5 | |
case iphone6 | |
case iphone6plus | |
static let iphone7 = iphone6 | |
static let iphone7plus = iphone6plus |
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
# Xcode 6.2 (6C131e) | |
Swift version 1.1 (swift-600.0.57.4) | |
Target: x86_64-apple-darwin14.1.0 | |
# Xcode 6.3 (6D570) | |
Apple Swift version 1.2 (swiftlang-602.0.49.3 clang-clang-602.0.49) | |
Target: x86_64-apple-darwin14.1.0 | |
# Xcode 6.3.1 (6D1002) | |
Apple Swift version 1.2 (swiftlang-602.0.49.6 clang-602.0.49) |
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 XCTest | |
@testable import Notes | |
class NoteTests: XCTestCase { | |
private let uid = "123" | |
private let title = "title" | |
private let content = "text" | |
private let importance = Note.Importance.normal | |
private var sut: Note! |
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 XCTest | |
@testable import Notes | |
class NoteTests: XCTestCase { | |
private let uid = "123" | |
private let title = "title" | |
private let content = "text" | |
private let importance = Note.Importance.normal | |
private var sut: Note! |
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 XCTest | |
@testable import Notes | |
class NoteTests: XCTestCase { | |
private let uid = "123" | |
private let title = "title" | |
private let content = "text" | |
private let importance = Note.Importance.normal | |
private var sut: Note! |
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 XCTest | |
@testable import Notes | |
class NoteTests: XCTestCase { | |
private let uid = "123" | |
private let title = "title" | |
private let content = "text" | |
private let importance = Note.Importance.normal | |
private var sut: Note! |
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
// | |
// FileNotebookTests.swift | |
// NoteTests | |
// | |
// Created by Roman Brovko on 6/19/19. | |
// Copyright © 2019 Roman Brovko. All rights reserved. | |
// | |
import XCTest | |
@testable import Note |
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
// | |
// NoteExtensionsTests.swift | |
// NoteTests | |
// | |
// Created by Roman Brovko on 6/18/19. | |
// Copyright © 2019 Roman Brovko. All rights reserved. | |
// | |
import XCTest | |
@testable import Note |
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
// | |
// NoteTests.swift | |
// NoteTests | |
// | |
// Created by Roman Brovko on 6/17/19. | |
// Copyright © 2019 Roman Brovko. All rights reserved. | |
// | |
import XCTest | |
@testable import Note |
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 | |
struct NuclearPowerStationOperator { | |
class Storage { | |
var turnOffCores: Bool = false | |
func copy() -> Storage { | |
let new = Storage() | |
new.turnOffCores = turnOffCores | |
return new |
NewerOlder