Just alternatives and similar libraries
Based on the "Networking" category.
Alternatively, view Just alternatives based on common mentions on social networks and blogs.
-
AFNetworking
A delightful networking framework for iOS, macOS, watchOS, and tvOS. -
CocoaAsyncSocket
Asynchronous socket networking library for Mac and iOS -
RestKit
RestKit is a framework for consuming and modeling RESTful web resources on iOS and OS X -
Reachability.swift
Replacement for Apple's Reachability re-written in Swift with closures -
YTKNetwork
YTKNetwork is a high level request util based on AFNetworking. -
ASIHTTPRequest
Easy to use CFNetwork wrapper for HTTP requests, Objective-C, Mac OS X and iPhone -
swift-protobuf
Plugin and runtime library for using protobuf with Swift -
apollo-ios
๐ฑ ย A strongly-typed, caching GraphQL client for iOS, written in Swift. -
RealReachability
We need to observe the REAL reachability of network. That's what RealReachability do. -
Netfox
A lightweight, one line setup, iOS / OSX network debugging library! ๐ฆ -
MonkeyKing
MonkeyKing helps you to post messages to Chinese Social Networks. -
SwiftHTTP
Thin wrapper around NSURLSession in swift. Simplifies HTTP requests. -
APIKit
Type-safe networking abstraction layer that associates request type with response type. -
ResponseDetective
Sherlock Holmes of the networking layer. :male_detective: -
Networking
Easy HTTP Networking in Swift a NSURLSession wrapper with image caching support -
XMNetworking
A lightweight but powerful network library with simplified and expressive syntax based on AFNetworking. -
Pitaya
๐ A Swift HTTP / HTTPS networking library just incidentally execute on machines -
SOAPEngine
This generic SOAP client allows you to access web services using a your iOS app, Mac OS X app and AppleTV app. -
Digger
Digger is a lightweight download framework that requires only one line of code to complete the file download task -
TWRDownloadManager
A modern download manager based on NSURLSession to deal with asynchronous downloading, management and persistence of multiple files. -
Restofire
Restofire is a protocol oriented networking client for Alamofire -
ws โ๏ธ
โ ๏ธ Deprecated - (in favour of Networking) :cloud: Elegantly connect to a JSON api. (Alamofire + Promises + JSON Parsing) -
EVURLCache
a NSURLCache subclass for handling all web requests that use NSURLRequest -
AFNetworking+RetryPolicy
Nice category that adds the ability to set the retry interval, retry count and progressiveness. -
MultiPeer
๐ฑ๐ฒ A wrapper for the MultipeerConnectivity framework for automatic offline data transmission between devices -
AFNetworking-Synchronous
Synchronous requests for AFNetworking 1.x, 2.x, and 3.x
Appwrite - The open-source backend cloud platform
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Just or a related project?
Popular Comparisons
README
Just is a client-side HTTP library inspired by python-requests - HTTP for Humans.
Features
Just lets you to the following effortlessly:
- URL queries
- custom headers
- form (
x-www-form-encoded
) / JSON HTTP body - redirect control
- multipart file upload along with form values.
- basic/digest authentication
- cookies
- timeouts
- synchronous / asynchronous requests
- upload / download progress tracking for asynchronous requests
- link headers
- friendly accessible results
Use
The simplest request with Just looks like this:
// A simple get request
Just.get("http://httpbin.org/get")
The next example shows how to upload a file along with some data:
// talk to registration end point
let r = Just.post(
"http://justiceleauge.org/member/register",
data: ["username": "barryallen", "password":"ReverseF1ashSucks"],
files: ["profile_photo": .url(fileURLWithPath:"flash.jpeg", nil)]
)
if r.ok { /* success! */ }
Here's the same example done asynchronously:
// talk to registration end point
Just.post(
"http://justiceleauge.org/member/register",
data: ["username": "barryallen", "password":"ReverseF1ashSucks"],
files: ["profile_photo": .url(fileURLWithPath:"flash.jpeg", nil)]
) { r in
if r.ok { /* success! */ }
}
Read Getting Started on the web or in this playground to learn more!
Install
Here are some ways to leverage Just.
Xcode
Add https://github.com/dduan/Just.git
the usual way.
Swift Package Manager
Add the following to your dependencies
:
.package(url: "https://github.com/dduan/Just.git", from: "0.8.0")
โฆ and "Just"
to your target dependencies.
Carthage
Include the following in your Cartfile:
github "dduan/Just"
Just includes dynamic framework targets for both iOS and OS X.
CocoaPods
The usual way:
platform :ios, '8.0'
use_frameworks!
target 'MyApp' do
pod 'Just'
end
Manual
Drop Just.xcodeproj
into your project navigator. Under the General tab of
your project settings, use the plus sign to add Just.framework
to
Linked Framework and Libraries. Make sure to include the correct version
for your target's platform.
It's also common to add Just as a git submodule to your projects repository:
cd path/to/your/project
git submodule add https://github.com/dduan/Just.git
Source File
Put Just.swift
directly into your project. Alternately, put it in the
Sources folder of a playground. (The latter makes a fun way to explore the
web.)
Contribute
Pull requests are welcome. Here are some tips for code contributors:
Work in Just.xcworkspace
.
The tests for link headers relies on Github APIs, which has a low per-hour
limit. To overcome this, you can edit the Xcode build schemes and add
environment variables GITHUB_TOKEN
. Learn more about
personal tokens here.
For Xcode rebels, checkout Makefile
.
HTML documentation pages are generated by literate programmin tool docco
License
MIT, see LICENSE.md.
*Note that all licence references and agreements mentioned in the Just README section above
are relevant to that project's source code only.