Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 2.32 KB

README.md

File metadata and controls

35 lines (21 loc) · 2.32 KB

Nexum

language license GitHub release documentation GitHub last commit

Updated Reachability for iOS Apps in Objective-C, based on Apple's Reachability, along with some other network utilities

About

Apple appears to have stopped updating their Reachability code. It isn't marked up with nullability for use with Swift projects, it doesn't use ARC, and is generally inflexible. Nexum is a drop-in replacement for Apple's reachability that is still extremely similar and very simple, but designed for easy, drop-in use and more design flexibility. Not everyone wants to use NSNotification all the time :P

Requirements

Nexum is compiled with the iOS 11.2 SDK, but support iOS 9.x+

Set Up

Take a look at the Project Setup guide for detailed step by step instruction on setting up your project and building the documentation locally.

Usage

Basic usage is pretty simple:

  1. Create and retain a reference to an instance of an NXNetwork object, or use the shared instance for basic projects.
  2. Observe changes in reachability using NXNetworkDelegate, NXNetworkReachabilityStatusChangedNotification, or a block.

See the Designing for Reachability for a detailed primer on potential different implentations, and see Example - Basic Reachability for a quick start.

Docs

The full documentaion is available here, hosted on GitHub Pages, but is also included as an xcode docset.

Documentation with made with Jazzy by Realm, using the Jony Theme by Harshil Shah