{"id":15007459,"url":"https://github.com/cellular/cellular-swift","last_synced_at":"2026-03-03T19:01:36.019Z","repository":{"id":56904461,"uuid":"139817355","full_name":"cellular/cellular-swift","owner":"cellular","description":"Collection of µ-frameworks and utility classes/extensions used in CELLULAR swift projects.","archived":false,"fork":false,"pushed_at":"2020-03-30T11:45:36.000Z","size":110,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":10,"default_branch":"master","last_synced_at":"2026-01-30T02:14:55.104Z","etag":null,"topics":["cocoapods","ios","linux","macos","swift","swift-package-manager","tvos","watchos","xcode"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cellular.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-05T08:15:24.000Z","updated_at":"2022-05-11T04:35:35.000Z","dependencies_parsed_at":"2022-08-21T02:50:20.630Z","dependency_job_id":null,"html_url":"https://github.com/cellular/cellular-swift","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/cellular/cellular-swift","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cellular%2Fcellular-swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cellular%2Fcellular-swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cellular%2Fcellular-swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cellular%2Fcellular-swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cellular","download_url":"https://codeload.github.com/cellular/cellular-swift/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cellular%2Fcellular-swift/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30056056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cocoapods","ios","linux","macos","swift","swift-package-manager","tvos","watchos","xcode"],"created_at":"2024-09-24T19:10:05.728Z","updated_at":"2026-03-03T19:01:35.982Z","avatar_url":"https://github.com/cellular.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- markdownlint-disable MD002 MD033 MD041 --\u003e\n\u003ch1 align=\"center\"\u003e\n  \u003ca href=\"https://cellular.de\"\u003e\n    \u003cimg src=\"./.github/cellular.svg\" width=\"300\" max-width=\"50%\"\u003e\n  \u003c/a\u003e\n  \u003cbr\u003eCELLULAR\u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003e\n    A collection of utilities that we share across swift-based projects at CELLULAR.\n    \u003cbr /\u003eIt is a standalone module with no external dependencies.\n\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://travis-ci.com/cellular/cellular-swift\"\u003e\n        \u003cimg src=\"https://travis-ci.com/cellular/cellular-swift.svg?branch=master\" alt=\"Build Status\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/cellular/cellular-swift\"\u003e\n        \u003cimg src=\"https://codecov.io/gh/cellular/cellular-swift/branch/master/graph/badge.svg\" alt=\"Codecov\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://cocoapods.org/pods/cellular\"\u003e\n        \u003cimg src=\"https://img.shields.io/cocoapods/v/CELLULAR.svg\" alt=\"CocoaPods Compatible\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://swift.org\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/swift-5.0+-orange.svg\" alt=\"Swift Version\" /\u003e\n    \u003c/a\u003e\n    \u003cimg src=\"https://img.shields.io/badge/platform-iOS%20%7C%20watchOS%20%7C%20tvOS%20%7C%20macOS%20%7C%20linux-lightgrey.svg\" alt=\"Platform\" /\u003e\n\u003c/h4\u003e\n\u003c!-- markdownlint-enable MD033 --\u003e\n\n## Features\n\n### Codable\n\nThere are several extensions on `KeyedDecodingContainer`.\nMost of which are heavily inspired by [Unbox](https://github.com/JohnSundell/Unbox).\n\n#### THE PLANET\n\nThroughout the `Codable` examples, the following struct is used:\n\n```swift\nimport CELLULAR\n\npublic struct Planet: Codable {\n\n    public var discoverer: String\n\n    public var hasRingSystem: Bool\n\n    public var numberOfMoons: Int\n\n    public var distanceFromSun: Float // 10^6 km\n\n    public var surfacePressure: Double? // bars\n\n    public var atmosphericComposition: [String]\n```\n\n##### 1. Allows `Foundation` types to be inferred on value assignment\n\n```swift\n    public init(from decoder: Decoder) throws {\n        let container = try decoder.container(keyedBy: CodingKeys.self)\n\n        discoverer = try container.decode(forKey: .discoverer)\n        // equals: discoverer = try decode(String.self, forKey: key)\n\n        hasRingSystem = try container.decode(forKey: .hasRingSystem)\n        // equals: hasRingSystem = try decode(Bool.self, forKey: key)\n\n        numberOfMoons = try container.decode(forKey: .numberOfMoons)\n        // equals: numberOfMoons = try decode(Int.self, forKey: key)\n        \n        distanceFromSun = try container.decode(forKey: .distanceFromSun)\n        // equals: distanceFromSun = try decode(Float.self, forKey: key)\n```\n\n##### 2. Even `Optional` holding these types may be inferred\n\n```swift\n        surfacePressure = try container.decode(forKey: .surfacePressure)\n        // equals: surfacePressure = try decodeIfPresent(Double.self, forKey: key)\n```\n\n##### 3. Allows instances in collections to fail decoding\n\n```swift\n        atmosphericComposition = try container.decode(forKey: .atmosphericComposition, allowInvalidElements: true) ?? []\n    }\n}\n```\n\n## Locking\n\nTODO\n\n## Storyboard\n\nTODO\n\n## Requirements\n\n- iOS 11.0+ | watchOS 5.0+ | tvOS 11.0+ | macOS 10.14+ | Ubuntu 14.04+\n- Swift 5.0+\n\n## Installation\n\n### [Swift Package Manager](https://swift.org/package-manager/)\n\nOnce you have your Swift package set up, adding CELLULAR as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/cellular/cellular-swift.git\", from: \"6.0.1\")\n]\n```\n\n### [CocoaPods](https://cocoapods.org)\n\nCocoaPods 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:\n\n```ruby\npod 'CELLULAR'\n```\n\n## License\n\nCELLULAR is released under the MIT license. [See LICENSE](https://github.com/cellular/cellular-swift/blob/master/LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcellular%2Fcellular-swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcellular%2Fcellular-swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcellular%2Fcellular-swift/lists"}