To run the example project, clone the repo, and run pod install
from the Example directory first.
Checkout the tests to get started!
The example project also has some good stuff. LoginNetworkCall
shows how you can send, receive, and parse json with this library and Eson (a different pod I wrote). AuthenticatedNetworkCall
shows how you can alter the headers and most other things in this pod.
- Functional code!
- Modular! Using subclassing and having one call per class makes it really easy to take calls with you between controllers, view models, or even projects.
- Lightweight! Only a few classes here, and none terribly long or involved.
- Convenient! Smart defaults make things easy to work with out of the box.
- Flexible! Since everything is broken up into tiny pieces, it's easy to swap things out, or mix and match.
- Testable! Easily stub your calls so you can quickly reproduce tricky edge cases.
FunkyNetwork is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'FunkyNetwork', git: 'https://github.com/schrockblock/funky-network.git'
Elliot Schrock
FunkyNetwork is available under the MIT license. See the LICENSE file for more info.