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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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