반응형
Notice
Recent Posts
Recent Comments
Link
- Today
- Total
07-05 05:44
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- sigmoid
- cocoapods
- SQL
- delegate
- barplot
- ios
- Linux
- 연산자
- 명령어
- trunc
- swiftUI
- rxswift
- Observable
- tapply
- Upper
- Python
- grep
- deeplearning
- r
- MVC
- NVL
- decode
- ReLU
- 시각화
- substr
- struct
- SWIFT
- 딥러닝
- scheduledTimer
- Optional
Archives
목록프로토콜 (1)
iOS 개발 기록 블로그
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/rQuyl/btrEJJeIN65/mLdjFK7fIbOix1muxofMAk/img.png)
지난 글에서 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