Question

Can I pass nil for the object argument of -[NSNotificationCenter postNotificationName:object:] since the observers don't care who the sender is, or is it better practice to pass self for the object argument even though the observers aren't checking who sent the notification?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top