Huy-Anh Hoang
Huy-Anh Hoang

Reputation: 797

NotificationCenter.default.addObserver(forName:object:queue:using:) documentation about the object returned

What is exactly created in this function?

I'm trying to create a reusable extension so that every UIViewController can hold a reference to the NSObjectProtocol observer that's returned in this function. The observer doesn't seem to be the object that called the function.

so where is it created?

Upvotes: 0

Views: 315

Answers (0)

Related Questions