Skip to content

State, Promises, and Reactive Programming (w/ Yasuhiro Inami of LINE & ReactKit)

Photo of Tim Anglade
Hosted By
Tim A. and Jean-Pierre S.
State, Promises, and Reactive Programming (w/ Yasuhiro Inami of LINE & ReactKit)

Details

Promises are a well-known design pattern used to delay evaluation of future values, and to pipeline operations in an asynchronous manner. Typically, there are three internal states: Pending, Fulfilled, Rejected, used to control Promises’ behavior, but this lacks core interfaces such as Cancel, Pause, Resume, Progress, that are all essential in our daily iOS & OS X development. Needing more powerful classes than Promise or NSOperation, SwiftTask was created, and entirely written in Swift.

By taking a closer look into SwiftTask's resume/progress handling, we will explore a new approach to the Reactive Programming paradigm. Every Task will eventually become a Stream.

Overview:

  1. What are Promises?

• History of event-driven programming

• Callback hells and Promise

  1. Extending Promises

• Introduction of SwiftTask

• Demo

  1. Going Reactive

• Introduction to ReactKit

• Demo

  1. V.S. & Acknowledgements

• PromiseKit / Bolts-iOS

• FBKVOController

• ReactiveCocoa

  1. Conclusion

About your speaker, Yasuhiro Inami

Yasuhiro is an iOS developer at LINE He developed ReactKit (https://github.com/ReactKit/ReactKit)and SwiftTask (https://github.com/ReactKit/SwiftTask) and loves contributing to the open source community.

Though he's been concentrating on a Java server-side project recently, he's a big fan of Apple, the Swift language, and a whole new functional programming world. Find him on @inamiy (https://twitter.com/inamiy)

Schedule:

6:00pm: Doors open. Look for the doorman standing outside the building.

6:30 - 7pm: Refreshments and snacks. We will not be serving alcohol at this meetup. We’ll have plenty of other drinks available, along with food for omnivores & vegetarians.

7pm: Presentation + Q&A

After, you're welcome to stay and chat.

Location:

The Realm office is on Townsend St. between 2nd and 3rd.

Look for the doorman standing outside the building. He'll guide you up.

Getting there:

• 5-minute walk to the King St. Caltrain station. 20-minute walk from the Powell St. BART Station.

• Bike Parking. We don't have bike racks, but you can bring your bike up, but you'll need to carry it to the 2nd floor. The building doesn't have an elevator.

Thanks to:

Realm (http://realm.io/) for hosting and providing food + drinks

Questions?

Email: Arwa - arwa@realm.io

Photo of Swift Language User Group (San Francisco) x Cocoaheads SF group
Swift Language User Group (San Francisco) x Cocoaheads SF
See more events
Realm
148 Townsend St. 2nd Floor · San Francisco, CA