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
- ScrollView
- struct
- NotificationCenter
- mvvm
- viewlifecycle
- Switch
- SWIFTUI
- list
- singleton
- 고차함수
- 글또
- calendar
- array
- SWIFT
- 화면전환
- error
- class
- PushNotification
- protocol
- uikit
- apns
- Observer
- http
- Refresh
- Animation
- self
- Git
- IOS
- escaping
- segue
Archives
- Today
- Total
목록LocalNotification (1)
seong_hye, the developer
Swift) Notification에 대해 알아보기
notification은 쉽게 말하면 앱에서 오는 알림이다iOS에서는 크게 두 가지로 나뉘어 진다- NotificationCenter : 앱 내부에서 메시지를 주고 받는 방법- Push Notification : 외부 서버에서 사용자 기기로 보내는 알림 이 내용에 대해 자세히 알아보자 📘 NotificationCenter앱 내부에서 이벤트를 전달하는 "게시 - 구독(Pub - Sub)" 방식의 메시지 시스템 🔹 사용 예시✅ 알림 보내기 (Post)NotificationCenter.default.post(name: .testNotification, object: nil) ✅ 알림 수신 (Add Observer)NotificationCenter.default.addObserver(forName: .tes..
IOS
2022. 10. 19.