반응형
Notice
Recent Posts
Recent Comments
Link
- Today
- Total
04-24 22:08
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- SQL
- scheduledTimer
- 연산자
- r
- 티스토리챌린지
- cocoapods
- struct
- Request
- decode
- rest api
- Linux
- barplot
- substr
- deeplearning
- sigmoid
- SWIFT
- tapply
- 시각화
- rxswift
- 오블완
- Optional
- ReLU
- Observable
- swiftUI
- Python
- 딥러닝
- MVC
- ios
- 명령어
- HTTP
Archives
목록프로토콜 (1)
iOS 개발 기록 블로그

지난 글에서 UITextFieldDelegate 라는 프로토콜이 있었다. 코드 class Bird { var isFemale= true func layEgg() { if isFemale{ print("Lay egg.") } } func fly() { print("Fly.") } } class Eagle: Bird{ func soar() { print("Soar.") } } class Penguin: Bird { func swim() { print("Swim.") } } let myEagle = Eagle() myEagle.fly() myEagle.layEgg() let myPenguin = Penguin() myPenguin.layEgg() myPenguin.swim() myPenguin.fly() 위 ..
iOS
2022. 6. 15. 09:00