iOS) Dispatch(1) - Dynamic / Static Dispatch
Method Dispatch method dispatch ๋ Swift ์์ ๋ฉ์๋๋ฅผ ํธ์ถํ ๋ ํ์ฌ ๋ฉ๋ชจ๋ฆฌ์์ ์ด๋ป๊ฒ ์ด๋ค ๋ฉ์๋๋ฅผ ์คํ์ํฌ์ง๋ฅผ ๊ฒฐ์ ํ ๋ ์ฌ์ฉํ๋ ๋ฐฉ๋ฒ์ ๋๋ค. ํด๋์ค์ dispatch ๊ณผ์ ์ ์์๋ฅผ ๋ค์ด๋ด ์๋ค. class Animal { func bark() { print("bark!") } } class Cow: Animal { func bark() { print("moo!") } } class Dog: Animal { } let animal: Animal = Animal() animal.bark() let cow: Animal = Cow() cow.bark() let dog: Animal = Dog() dog.bark() ์ธ์คํด์ค animal, cow, dog ๊ฐ bark() ๋ฉ์๋..
iOS
2022. 8. 10. 14:48
TAG
- Widget
- configurable widget
- WWDC
- SwiftUI
- APNS
- Objective-C
- WidgetKit
- WWDC22
- UserDefaults
- RxCocoa
- YPImagePicker
- Swift
- rxswift
- IOS
- ์๋ฒํต์
- CloneCoding
- MOYA
- urlsession
- projectsetting
- Firebase
- async/await
- Protocol
- OpenSourceLibrary
- MVVM
- containerBackground
- Algorithm
- watchOS
- 2022 KAKAO TECH INTERNSHIP
- github
- Notification
์ต๊ทผ์ ์ฌ๋ผ์จ ๊ธ
์ต๊ทผ์ ๋ฌ๋ฆฐ ๋๊ธ
๊ธ ๋ณด๊ดํจ
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
๋งํฌ
- Total
- Today
- Yesterday