An elegant event framework built in Swift