Fresh Beginning
  • Home
  • Speaking
  • Reading
  • Github
  • Alma Mater
  • Contact
Subscribe
Tagged

Custom Notification

A collection of 1 post

Implementing custom NotificationCenter in Swift
NSNotifications

Implementing custom NotificationCenter in Swift

NSNotificationCenter is a classic API on iOS. It's used so that classes can register for notifications by name and execute the function/block whenever the notification with same name is fired somewhere else in the project. Today, we will see how to implement NSNotificationCenter API in Swift from scratch. Here

  • Jayesh Kawli
Jayesh Kawli Oct 10, 2020 • 4 min read
Fresh Beginning © 2022
Powered by Ghost