일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 백준
- Swift
- 새싹후기
- IOS
- 스위프트
- Masil
- flutter #state # stateful #stateless
- stanford
- 알고리즘
- WidgetTree
- ImageSlider
- process
- 오늘의 색상
- flutter
- collectionView
- 코딩테스트
- UIKit
- UserDefault
- MVVM
- CS193p
- xml
- GIT
- 프로젝트회고
- 조건문
- 프로그래머스
- 청년취업사관학교후기
- SwiftUI
- 스터디
- xcode
- colorofdays
Archives
- Today
- Total
목록viewbuilder (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