This file contains hidden or 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
#!/bin/bash | |
# | |
# Use agvtool to set Xcode project build number and create git tag | |
# Note: requires Xcode project configured to use Apple Generic Versioning and git | |
# | |
# Usage: set_agv_ver.sh 123 | |
# | |
# src: https://gist.github.com/rob-murray/8644974 | |
# |
This file contains hidden or 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 |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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) |