Frage

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?

Keine korrekte Lösung

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top