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
- 스위프트
- swiftUI
- MVVM
- Protocol
- Xcode
- collectionview
- UICollectionView
- 애니메이션
- 리팩토링
- rxswift
- Observable
- ios
- UITextView
- Human interface guide
- Refactoring
- 리펙터링
- clean architecture
- RxCocoa
- Clean Code
- SWIFT
- 리펙토링
- map
- swift documentation
- uiscrollview
- ribs
- tableView
- combine
- uitableview
Archives
- Today
- Total
목록post (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] 16. notificationCenter
1. 개념 - 특정 객체가 NotificationCenter에 등록된 Event를 발생(post) - 등록된 Observer들이 Event에 대한 행동을 취하는 것 2. 구현 버튼을 클릭하면 Label이 안보이게 하는 내용 1) post (이벤트 발생) @IBAction func unhide(_ sender: Any) { NotificationCenter.default.post(name: NSNotification.Name(rawValue: "unhide"), object: nil, userInfo: nil) } 2) 이벤트 처리 adObserver // in the viewDidLoad NotificationCenter.default.addObserver(self, selector: #selector(..
iOS 기본 (swift)
2020. 7. 11. 10:12