Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Flexible Networking in Swift.

Flexible Networking in Swift.

Tips and tricks for using Moya in a flexible manner. Recording stubs, auth token problems and some history included.

Sunshinejr

June 23, 2016
Tweet

More Decks by Sunshinejr

Other Decks in Programming

Transcript

  1. 5

  2. 9

  3. PROBLEM 2: PASSING AUTH TOKEN … BUT SOMETIMES IN HEADERS

    … AND SOMETIMES IN PARAMETERS … AND SOMETIMES DON’T SEND IT AT ALL … AND SOMETIMES SEND GUEST TOKEN 17
  4. QUESTIONS? https://github.com/sunshinejr/FlexibleMoya Code from slides at: More examples: https://github.com/Moya/Moya/tree/master/docs/Examples My

    Moya + RxSwift Networking tutorial: http://www.thedroidsonroids.com/blog/ios/rxswift-examples-3-networking/ sunshinejr thesunshinejr