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.

2ddf3bc5f8500fa7ae37cc364e662309?s=128

Sunshinejr

June 23, 2016
Tweet

Transcript

  1. 5.

    5

  2. 9.

    9

  3. 16.
  4. 17.

    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
  5. 18.
  6. 19.
  7. 20.
  8. 21.
  9. 22.
  10. 23.
  11. 24.
  12. 40.

    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