일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- 조건문
- 알고리즘
- 프로그래머스
- SwiftUI
- 오늘의 색상
- GIT
- 코딩테스트
- WidgetTree
- colorofdays
- ImageSlider
- 새싹후기
- UIKit
- xml
- xcode
- Masil
- flutter #state # stateful #stateless
- 청년취업사관학교후기
- 스터디
- collectionView
- flutter
- IOS
- 백준
- MVVM
- 프로젝트회고
- UserDefault
- stanford
- Swift
- 스위프트
- CS193p
- process
Archives
- Today
- Total
목록escaping (1)
개발을 시작하는 이야기

강의 보기 : Youtube :: Stanford Protocol 특정 기능을 수행에 필요한 필수적인 속성이나 메서드를 정의한다. protocol Moveable { func move(by: Int) var hasMoved: Bool { get } var distanceFromStart: Int { get set } } struct PortableThing: Moveable { func move(by: Int) { print("\(by)만큼 움직입니다") } var hasMoved var distanceFromStart } 프로토콜은 또 다른 프로토콜을 따를 수 있다. protocol Moveable { var hasMoved: Bool { get } } protocol Messagable: Moveab..
개발 이야기/Swift
2022. 4. 18. 18:23