Several months ago, we posted about Crew’s commitment to open software, and the important role that this plays in delivering value and the best possible experience to our customers.
Today, we’re excited to announce that we have just open sourced our FetchRequests library, which is one of the core building blocks of our iOS app.
We depend upon this library for every place in the app where we show a list of data. It can be used to render local storage, or to interface with a RESTful API. Most importantly, it's designed to be flexible and performant.
If you’re interested in working with FetchRequests libraries, read on! Once you've figured out what your data access patterns are, it's easy to build up complex queries.
The data will always stay up to date, and you can gracefully animate the changes. If you've ever used NSFetchedResultsController you should be able to pick this up.
Examples:
Fetch reaction history from a paginated RESTful endpoint
Fetch messages from a SQLite database