Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- HIG
- Clean Code
- clean architecture
- 스위프트
- 클린 코드
- Human interface guide
- ribs
- uitableview
- UITextView
- Refactoring
- swift documentation
- UICollectionView
- SWIFT
- tableView
- 애니메이션
- collectionview
- Protocol
- RxCocoa
- ios
- swiftUI
- map
- 리펙토링
- 리펙터링
- uiscrollview
- rxswift
- combine
- MVVM
- 리팩토링
- Xcode
- Observable
Archives
- Today
- Total
목록inheritance (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift 공식 문서] 13. Inheritance (상속)
Inheritance 클래스들 간의 상속 관계 superclass(부모), subclass(자식) Base class Base class의미: 다른 클래스에서 상속하지 않는 클래스 class Vehicle { var currentSpeed = 0.0 var description: String { return "traveling at \(currentSpeed) miles per hour" } func makeNoise() { // do nothing - an arbitrary vehicle doesn't necessarily make a noise } } subclassing subclassing: 기존 클래스를 기반으로 새로운 클래스를 만드는 작업 class Bicycle: Vehicle { var h..
swift 공식 문서
2021. 7. 5. 23:06