Skip to content

Instantly share code, notes, and snippets.

View showcove's full-sized avatar

김재한(Jay) showcove

View GitHub Profile
@showcove
showcove / SubViewController2.swift
Created January 8, 2022 04:27
StructVSClass - SubViewController2
//
// SubViewController2.swift
// ClassInStructLifeCycle
//
// Created by jay on 2022/01/08.
//
import UIKit
class SubViewController2: UIViewController {
@showcove
showcove / SubViewController1.swift
Created January 8, 2022 04:25
StructVsClass - SubViewController1
//
// SubViewController1.swift
// ClassInStructLifeCycle
//
// Created by jay on 2022/01/08.
//
import UIKit
class SubViewController1: UIViewController {
@showcove
showcove / ViewController.swift
Created January 8, 2022 04:19
StructVsClass - ViewController
//
// ViewController.swift
// ClassInStructLifeCycle
//
// Created by jay on 2022/01/08.
//
import UIKit
class ViewController: UIViewController {
@showcove
showcove / Model.swift
Created January 8, 2022 04:13
StructVsClass - Model
//
// Model.swift
// ClassInStructLifeCycle
//
// Created by jay on 2022/01/08.
//
import Foundation
struct Model {
@showcove
showcove / StructVsClass_Playground.swift
Created January 8, 2022 02:48
StructVsClass_Playground (1)
import UIKit
struct ModelAsStruct {
var id: Int
var name: String
}
var model1 = ModelAsStruct(id: 1, name: "jay")
var model1Copy = model1
@showcove
showcove / ViewController.swift
Created November 7, 2021 00:43
PushVsModal_2 : Final
//
// ViewController.swift
// PushVsModal
//
// Created by jay on 2021/11/06.
//
import UIKit
class ViewController: UIViewController {
@showcove
showcove / ViewController.swift
Last active November 6, 2021 07:16
PushVsModal_2 : Base
//
// ViewController.swift
// PushVsModal
//
// Created by jay on 2021/11/06.
//
import UIKit
class ViewController: UIViewController {
@showcove
showcove / ViewController.swift
Last active September 3, 2021 08:29
Navigation vs Modal Full Source-Code
//
// ViewController.swift
// PushVsModal
//
// Created by jay on 2021/08/28.
//
import UIKit
class ViewController: UIViewController {
@showcove
showcove / ViewController.swift
Last active November 6, 2021 06:04
PushVsModal-1
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
}
@IBAction func pushViewController() {
let targetViewController = UIViewController.viewControllerFromMainStoryboard(identifier: ViewController.storyboardIdentifier)
@showcove
showcove / pre-build.md
Last active June 27, 2021 03:31
pod binary cache pre-build
$ bundle exec pod binary prebuild