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 |
Tags
- IOS
- 포켓몬 GO
- swift3
- Bitcode
- 해몽
- 신도림
- error
- Check
- loop
- UITableView
- 포켓볼
- push
- 공략
- 스마트폰
- 앱스토어
- afterdelay
- Xcode
- 보라카이
- 샘플
- 얻는법
- simulator
- setting
- 페이백
- Example
- 신도림 테크노마트
- UIView
- GCD
- swift
- LG유플러스
- 아이폰7
Archives
- Today
- Total
도래울
swift nsnotification 구현 본문
Send(Post) Notification
NSNotificationCenter.defaultCenter().postNotificationName("NotificationIdentifier", object: nil)
Receive(Get) Notification
NSNotificationCenter.defaultCenter().addObserver(self, selector: #selector(YourClassName.methodOfReceivedNotification(_:)), name:"NotificationIdentifier", object: nil)
Method handler for received Notification
func methodOfReceivedNotification(notification: NSNotification){
//Take Action on Notification
}
'개발 > iOS' 카테고리의 다른 글
Unable to run app in Simulator: An error was encountered while running (Domain = LaunchServicesError, Code = 0) (0) | 2016.10.27 |
---|---|
2016년 6월 - 앱스토어 심사기준 지침 및 마이그레이션 가이드 (0) | 2016.10.26 |
Firebase Analytics 기본 수집 이벤트 (0) | 2016.09.27 |
xcode downloads all version (0) | 2016.09.23 |
cocoapods 최신버전 업데이트 (0) | 2016.09.20 |
Comments