Fresh Beginning
  • Home
  • Portfolio
  • My Clothing Shop
  • Etsy Clothing Store
  • Buy Me A Coffee
  • Patreon
  • Speaking
  • Reading
  • About Me
  • Contact Me
Subscribe

NSNotifications

A collection of 2 posts
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
Oct 10, 2020 4 min read
Swift 3.0

Pass data with iOS Notifications - Swift 3.0

We all have used Notifications on iOS. (I would not call them NSNotifications though, since this post is about Swift 3.0). I used them long ago when I was yet a newcomer. They were easy way to transport information among different parts of program. Although easy, Notifications can have
Jan 3, 2017 2 min read
Fresh Beginning © 2025
Powered by Ghost