ObjectiveC implementation of the Promise/A+ proposal