An alternative to NSNotificationCenter for Swift