Skip to content

Instantly share code, notes, and snippets.

View AppleCEO's full-sized avatar
💻

사이먼 AppleCEO

💻
View GitHub Profile
@AppleCEO
AppleCEO / main.swift
Created April 2, 2019 05:59 — forked from hwj0623/main.swift
04/02 pair programming of UnitConverter
//
// main.swift
// UnitConverter
//
// Created by Doran & Dominic on 02/04/2019.
// Copyright © 2019 hw. All rights reserved.
//
import Foundation
@AppleCEO
AppleCEO / main.swift
Last active April 4, 2019 12:16
Step2-5
//
// main.swift
// UnitConverter
//
// Created by Doran & Dominic on 02/04/2019.
// Copyright © 2019 hw. All rights reserved.
//
import Foundation
import Darwin
@AppleCEO
AppleCEO / Contents.swift
Last active April 4, 2019 05:55
CS step1
import UIKit
func nand(paramA: Bool, paramB: Bool) -> Bool {
var answer:Bool = true;
if paramA && paramB {
answer = false
}
return answer;
}
@AppleCEO
AppleCEO / main.swift
Last active April 4, 2019 13:50
Step 2-6
//
// main.swift
// UnitConverter
//
// Created by Doran & Dominic on 02/04/2019.
// Copyright © 2019 hw. All rights reserved.
//
import Foundation
import Darwin
@AppleCEO
AppleCEO / main.swift
Created April 5, 2019 05:42
Step 2-7
//
// main.swift
// UnitConverter
//
// Created by Doran & Dominic on 02/04/2019.
// Copyright © 2019 hw. All rights reserved.
//
import Foundation
import Darwin
@AppleCEO
AppleCEO / main.swift
Created April 9, 2019 01:51
Step 2 final
//
// main.swift
// UnitConverter
//
// Created by Doran & Dominic on 02/04/2019.
// Copyright © 2019 hw. All rights reserved.
//
import Foundation
@AppleCEO
AppleCEO / main.swift
Last active April 12, 2019 06:19
LadderGame
//
// main.swift
// LadderGame
//
// Created by Joon-ho Kil on 04/09/2019.
// Copyright © 2019 Codesquad Inc. All rights reserved.
//
import Foundation
enum SomeEnumeration {
// enumeration definition goes here
}
enum CompassPoint {
case north
case south
case east
case west
}
enum Planet {
case mercury, venus, earth, mars, jupiter, saturn, uranus, neptune
}