Drastically simplifies app code by providing a client-side cache of observable models for RESTful resources. The elegant way to write iOS / macOS REST clients. You need to display response data whenever it arrives. Unless the requesting screen is no longer visible. Unless some other currently visible bit of UI happens to need the same data. Or is about to need it. You should show a loading indicator (but watch out for race conditions that leave it stuck spinning forever), display user-friendly errors (but not redundantly, no modal alert dogpiles!), give users a retry mechanism, and hide all of that when a subsequent request succeeds. Remember not to retain your ViewController/model/helper thingy by accident in your callback closures. Unless you’re supposed to.

Features

  • For iOS 10+, macOS 10.11+, tvOS 9.0+
  • Written in Swift
  • Supports apps in both Swift and Objective-C
  • Requires Xcode 11.3+, Swift 5.1+
  • Licensed under the MIT License
  • Decouples view, model, and controller lifecycle from network request lifecycle
  • Decouples request initiation from request configuration
  • Eliminates error-prone state tracking logic
  • Unified handling for all errors: encoding, network, server-side, and parsing

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Siesta

Siesta Web Site

Other Useful Business Software
Earn up to 16% annual interest with Nexo. Icon
Earn up to 16% annual interest with Nexo.

Access competitive interest rates on your digital assets.

Generate interest, borrow against your crypto, and trade a range of cryptocurrencies — all in one platform. Geographic restrictions, eligibility, and terms apply.
Get started with Nexo.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Siesta!

Additional Project Details

Operating Systems

Apple iPhone, Mac

Programming Language

Swift

Related Categories

Swift Software Development Software

Registered

2023-06-08