iOS & macOS development
113.9K views | +7 today
iOS & macOS development
cool tips and source code for Cocoa, Swift and Objective-C
Curated by Alessio Nonni
Your new post is loading...
Your new post is loading...
Scoop.it!

Malibu - Networking library built on promises

Malibu - Networking library built on promises | iOS & macOS development | Scoop.it

Palm trees, coral reefs and breaking waves. Welcome to the surf club Malibu, a networking library built on promises. It's more than just a wrapper around URLSession, but a powerful framework that helps to chain your requests, validations and request processing.

 

Using When under the hood, Malibu adds a lot of sugar helpers and moves your code up to the next level:

  • No more "callback hell".
  • Your requests are described in one place.
  • Response processing could be easily broken down into multiple logical tasks.
  • Data and errors are handled separately.
  • Your networking code is much cleaner, readable and follows DRY principle.

 

Equip yourself with the necessary gears of Malibu, become a big wave surfer and let the days of shark infested asynchronous networking be a thing of the past. Enjoy the ride!

more...
No comment yet.
Scoop.it!

MBRequest — A simple networking library for iOS and OS X

Announcing MBRequest, a simple, open source library for making network requests on iOS and Mac OS X.

 

Making network requests is one of the most common activities apps perform, especially on mobile devices that are always connected to the internet. While Apple gives us some classes and tools to help us perform these requests, it is left as an exercise to the developer to do so in a clean, reusable way.

more...
No comment yet.
Scoop.it!

RestKit

RestKit is an Objective-C framework for iOS that aims to make interacting with RESTful web services simple, fast and fun. It combines a clean, simple HTTP request/response API with a powerful object mapping system that reduces the amount of code you need to write to get stuff done.

more...
No comment yet.
Scoop.it!

Moya - Network abstraction layer written in Swift

Moya - Network abstraction layer written in Swift | iOS & macOS development | Scoop.it

You probably use Alamofire to abstract away access to NSURLSession and all those nasty details you don't really care about. But then, like lots of smart developers, you write ad hoc network abstraction layers. They are probably called "APIManager" or "NetworkModel".

more...
No comment yet.
Scoop.it!

iOS Framework: Introducing MKNetworkKit

How awesome would it be if a networking framework automatically takes care of caching responses for you?


How awesome would it be if a networking framework automatically remembers your operations when your client is offline?


You favorite a tweet or mark a feed as read when you are offline and the Networking Framework performs all these operations when the device comes back online, all with no extra coding effort from you.


Introducing MKNetworkKit.

more...
No comment yet.