- git commands summary (git 명령 정리): git_commands.md
- Installing Git on Cygwin: installing_on_cygwin.md
- Installing msysgit: installing_msysgit.md
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
// | |
// main.swift | |
// UnitConverter | |
// | |
// Created by moon on 2018. 3. 5.. | |
// Copyright © 2018년 moon. All rights reserved. | |
// | |
import Foundation |
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
// | |
// main.swift | |
// UnitConverter | |
// | |
// Created by moon on 2018. 3. 5.. | |
// Copyright © 2018년 moon. All rights reserved. | |
// | |
import Foundation |
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 | |
// 1. 적용 X | |
/* | |
class Handler { | |
let fm = FilesystemManager() | |
func handle(string: String) { |
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
// | |
// main.swift | |
// MetaType_Example | |
// | |
// Created by moon on 2018. 6. 22.. | |
// Copyright © 2018년 moon. All rights reserved. | |
// | |
import Foundation |
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
// | |
// main.swift | |
// MetaType_Example | |
// | |
// Created by moon on 2018. 6. 22.. | |
// Copyright © 2018년 moon. All rights reserved. | |
// | |
import Foundation |
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 | |
class SomeClass { | |
var someList = [1,2,3,4,5,6,7] | |
} | |
class SomeClassIterator: IteratorProtocol { | |
private var someList: [Int] | |
private var index: Int | |
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
class Beverage: NSObject, NSSecureCoding { | |
private let name: String | |
private let price: Int | |
// MARK: NSSecureCoding | |
private struct NSCoderKeys { | |
static let nameKey = "name" | |
static let priceKey = "price" |
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
// | |
// main.swift | |
// UnitConverter | |
// | |
// Created by moon on 2018. 3. 5.. | |
// Copyright © 2018년 moon. All rights reserved. | |
// | |
import Foundation |
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
extension Array { | |
public subscript(safe index: Int) -> Element? { | |
return indices.contains(index) ? self[index] : nil | |
} | |
} | |
let gen: [[Int]] = [[1,1,0,0,0], | |
[1,1,0,0,0], |
OlderNewer