A collection of utilities that we share across swift-based projects at CELLULAR.
It is a standalone module with no external dependencies.
Features
Codable
There are several extensions on KeyedDecodingContainer.
Most of which are heavily inspired by Unbox.
THE PLANET
Throughout the Codable examples, the following struct is used:
import CELLULAR
public struct Planet: Codable {
public var discoverer: String
public var hasRingSystem: Bool
public var numberOfMoons: Int
public var distanceFromSun: Float // 10^6 km
public var surfacePressure: Double? // bars
public var atmosphericComposition: [String]
1. Allows Foundation types to be inferred on value assignment
CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate CELLULAR into your Xcode project using CocoaPods, specify it in your Podfile:
pod 'CELLULAR'
License
CELLULAR is released under the MIT license. See LICENSE for details.
CELLULAR
A collection of utilities that we share across swift-based projects at CELLULAR.
It is a standalone module with no external dependencies.
Features
Codable
There are several extensions on
KeyedDecodingContainer
. Most of which are heavily inspired by Unbox.THE PLANET
Throughout the
Codable
examples, the following struct is used:1. Allows
Foundation
types to be inferred on value assignment2. Even
Optional
holding these types may be inferred3. Allows instances in collections to fail decoding
Locking
TODO
Storyboard
TODO
Requirements
Installation
Swift Package Manager
Once you have your Swift package set up, adding CELLULAR as a dependency is as easy as adding it to the
dependencies
value of yourPackage.swift
.CocoaPods
CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate CELLULAR into your Xcode project using CocoaPods, specify it in your Podfile:
License
CELLULAR is released under the MIT license. See LICENSE for details.