How to Use the Notification Center in Swift 5 and iOS (Xcode 11) - 2020

preview_player
Показать описание
The NotificationCenter is an essential tool for communication in iOS Apps. Learn the benefits of using this tool and how to implement it in swift. Communication between objects is a staple of iOS Development and this video will get you on the right track to mastering it.

iOS Academy offers the #1 course for iOS Development for Beginners. Learn to create iPhone and iPad apps from scratch. Everyone these days has an app idea; learn the important skill of making those apps, make yourself more marketable, change industries to get a different job, and enjoy the ride!

Рекомендации по теме
Комментарии
Автор

thanks, i can use this in my project. it turned out to be easier than i thougth

АлександраМатвеева-шр
Автор

Dude, You know what I love your channel, you are a lifesaver. thanks by all means.

mohamedjaber
Автор

Thank you very much friend! I spent weeks trying to solve a problem with my application and I never realized it was a problem with the notification Center, after your video finally works!

FrostwareMx
Автор

I like the tutorial content but why is it so magnified. IMO makes it harder to keep up with what is actually happening

zachdavis
Автор

as i understand from the tutorial

i can create any string And use this String to be the notification Name OR is there Any other conditions
thank you in advance

saadaltwaim
Автор

how to pass notification payload to a view controller would be a wonderful video? Can you help me out with that?

explosionradical
Автор

I followed your but i don't why it's not working code is same.


in vc1.swift
@IBAction func BtnTapped(_ sender: Any) {


Notification.Name("connect"), object: nil)
}


in vc2.swift
override func viewDidLoad() {
super.viewDidLoad()



NotificationCenter.default.addObserver(self, selector: #selector(fet(_:)), name: Notification.Name("connect"), object: nil)
}

quoteu
Автор

why zooming in and out you gave me headache man

jamilamini
Автор

You do a lot of zoom in/out in all your videos. I get always headache. please stop it, we can see when its zoom out or we can do zoom in. BTW thanks for your effort and videos.

swiftxcode
Автор

Yeah thats annoying and not helpful at all as you cant see the whole context while you doing that.... not a great way to present, but beside that great content... also keep in mind that people with disability get affected when you do that

SwiftUICodeCraft