Displaying 1 to 20 from 25 results

LEETheme - 优雅的主题管理库- 一行代码完成多样式切换

  •    Objective-C

优点:直观 清晰, 编码时可随初始化控件编写完成, 不影响编码思路. 缺点:每个主题的设置固定, 不支持新主题的设置.

CodableAlamofire - An extension for Alamofire that converts JSON data into Decodable objects.

  •    Swift

Awesome, isn't it? And this library helps you write less code! It's an extension for Alamofire that converts JSON data into Decodable object. Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

Marshal - Marshaling the typeless wild west of [String: Any]

  •    Swift

In Swift, we all deal with JSON, plists, and various forms of [String: Any]. Marshal believes you don't need a Ph.D. in monads or magic mirrors to deal with these in an expressive and type safe way. Marshal will help you write declarative, performant, error handled code using the power of Protocol Oriented Programming™. Unmarshaling is the process of taking an intermediary data format (the marshaled object) and tranforming it into a local representation. Think of marshaling as serialization and unmarshaling as deserialization, or coding and decoding, respectively.

plank - A tool for generating immutable model objects

  •    Swift

Plank is a command-line tool for generating robust immutable Objective-C models from JSON Schemas. It will save you time writing boilerplate and eliminate model errors as your application scales in complexity. Models are defined in JSON, a well-defined, extensible and language-independent specification.




JSON - Micro framework for easily parsing JSON in Swift with rich error messages in less than 100 lines of code

  •    Swift

Micro framework for easily parsing JSON in Swift with rich error messages in less than 100 lines of code. There’s a specialized verion that returns a Date. You can supply your own functions for custom types if you wish.

SwiftAI - SwiftAI, write Swift code smart

  •    Swift

SwiftAI, write Swift code smart. SwiftAI can generate Model class from JSON now. Codable and HandyJSON is supported. More features will be add.

JSONNeverDie - Auto reflection tool from JSON to Model, user friendly JSON encoder / decoder, aims to never die

  •    Swift

JSONNeverDie is an auto reflection tool from JSON to Model, a user friendly JSON encoder / decoder, aims to never die. Also JSONNeverDie is a very important part of Pitaya. And JSONNeverDie is well tested.

FeatureFlags - 🚩 Allows developers to configure feature flags, run multiple A/B tests or phase feature roll out using a JSON configuration file

  •    Swift

FeatureFlags makes it easy to configure feature flags, A/B and MVT tests via a JSON file which may be bundled with your app or hosted remotely. For remotely-hosted configuration files, you may enable / disable features without another release to the App Store, update the percentages of users in A/B test groups or even roll out a feature previously under A/B test to 100% of your users once you have decided that the feature is ready for prime time. FeatureFlags 2.0.0 brings support for Swift 5.0. The previous version supporting Swift 4.2 is version 1.7.5.


ws - :cloud: Alamofire + Promises + JSON Parsing = Delightful Networking for Swift

  •    Swift

Here you are going to create a function that wraps your request. There are different ways of writing that function depending on what you want back. An empty block, the JSON, the model or the array of models. As you can notice, only by changing the return type, ws automatically knows what to do, for instance, try to parse the response into User models.

QuizKit - ⁉️ A framework for developing local or remote quiz apps for iOS or tvOS

  •    Swift

QuizKit was built to enable rapid development of local or remote quiz apps. It allows for quizzes to be constructed from JSON and supports multiple question types. It handles randomisation of questions, sessions, and scoring. It works great on iOS and tvOS.

osia - :octocat: Super basic iOS app to browse open-source-ios-apps

  •    Swift

You can find the Objective-C version here. This project is available under the MIT license. See the LICENSE file for more info.

SwinjectPropertyLoader - Swinject extension to load property values from resources

  •    Swift

SwinjectPropertyLoader is an extension of Swinject to load property values from resources that are bundled with your application or framework. Swinject is available through Carthage or CocoaPods.

Lift - Lift is a Swift library for generating and extracting values into and out of JSON-like data structures

  •    Swift

Check the Usage section for more information and examples. Swift 4 introduced Codable with the "promise" to have solved working with JSON once and for all. And yes, many of the examples shown are just close to magic. But when your models start to diverge from the simple ones to ones mapping between model and JSON, the magic seems to go away. Now you are back to implementing everything yourself and this using a quite verbose API. The current version of Swift also lacks APIs for building and parsing JSON on the fly (not going through model objects) which is common when e.g. building and parsing network requests. Hence, we believe the demand for third party JSON libraries will still be there for some time to come.

ReactiveAPI - Write clean, concise and declarative network code relying on URLSession, with the power of RxSwift

  •    Swift

To see ReactiveAPI in action we created a complete swapi.co client. After that completes, simply open ReactiveAPIDemo project from Xcode and hit Run.

DictionaryUtils - iOS Dictionary Utilities for Swift - allowing you to pull properties from a dictionary using a string eg

  •    Swift

Dictionary utils allows you to use JSON like referencing to travers an object. To run the example project, clone the repo, and run pod install from the Example directory first.

UnboxedAlamofire - Alamofire + Unbox: the easiest way to download and decode JSON into swift objects

  •    Swift

Alamofire + Unbox: the easiest way to download and decode JSON into swift objects. Objects you request have to conform Unboxable protocol.