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

307 Views Asked by At

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?

0

There are 0 best solutions below