RocketData alternatives and similar libraries
Based on the "Cache" category.
Alternatively, view RocketData alternatives based on common mentions on social networks and blogs.
HanekeSwift9.4 0.0 L4 RocketData VS HanekeSwiftA lightweight generic cache for iOS written in Swift with extra love for images.
PINCache8.7 5.2 L3 RocketData VS PINCacheFast, non-deadlocking parallel object cache for iOS, tvOS and OS X
YYCache8.7 0.0 L1 RocketData VS YYCacheHigh performance cache framework for iOS.
Cache8.7 0.0 L3 RocketData VS Cache:package: Nothing but Cache.
Disk8.7 1.6 RocketData VS DiskDelightful framework for iOS to easily persist structs, images, and data
Awesome Cache7.6 0.0 L5 RocketData VS Awesome CacheDelightful on-disk cache (written in Swift)
SPTPersistentCache7.5 0.0 L4 RocketData VS SPTPersistentCacheEveryone tries to implement a cache at some point in their iOS app’s lifecycle, and this is ours.
mattress7.2 0.0 L4 RocketData VS mattressiOS Offline Caching for Web Content
Carlos5.8 2.5 L2 RocketData VS CarlosA simple but flexible cache
Track4.0 0.0 L2 RocketData VS TrackTrack is a thread safe cache write by Swift. Composed of DiskCache and MemoryCache which support LRU.
Cachyr3.0 0.0 RocketData VS CachyrA small key-value data cache for iOS, macOS and tvOS, written in Swift.
UITableView Cache2.2 0.0 L5 RocketData VS UITableView CacheUITableView cell cache that cures scroll-lags on cell instantiating
MemoryCache1.9 0.0 RocketData VS MemoryCacheLRU, type-safe, thread-safe memory cache class in Swift
Johnny1.3 0.0 L3 RocketData VS JohnnyMelodic Caching for Swift
MGCacheManager0.6 0.0 L5 RocketData VS MGCacheManagerA delightful iOS and OS X Networking Cache Managing Class
Vellum0.6 0.0 RocketData VS VellumVellum is local persistent data storage for iOS
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of RocketData or a related project?
Rocket Data is a model management system with persistence for immutable models.
Immutability has many benefits, but keeping models consistent and making changes is difficult. This library manages the consistency and caching of immutable models. It is intended to be an ideal replacement for Core Data. However, unlike Core Data, it does not block the main thread and does not crash whenever you do something slightly incorrect (see Core Data Comparison). In most setups, the backing cache does not need a schema, and you never need to add migration logic.
Rocket Data scales extremely well to large numbers of models and data providers. Since it does nearly all of its work on a background thread, you never need to worry about one change slowing down the whole application. You can also choose to stop listening to changes when a view controller is off screen to further increase performance.
The library is optimized for applications that fetch data from an external source, display it on the device, and allow the user to perform actions on this data. It implements an easy model for synchronizing this data in-memory between view controllers and with the cache.
Bring Your Own Cache
With Rocket Data, you can choose your own caching solution. We recommend a fast key-value store, but you can use any store you can imagine. This also makes it easy to add LRU eviction.
Installation via both CocoaPods and Carthage is supported.
Add this to your Podspec:
Add this to your
carthage update RocketData --platform ios
--platform ios is necessary for some reason. We are investigating the issue.
We are currently not maintaining separate branches for different Swift versions. You can use an older version of Rocket Data for older versions of Swift though. HEAD currently supports Swift 4.2.
|Swift Version||Rocket Data Version|
|2.0 - 2.1||1.x.x (untested)|
|3 (Easy migration API)||2.0.0|
|3 (Better API)||4.x.x|
NOTE: If you are migrating to Swift 3, consider using version 2.0.0 first, then migrating to 3.x.x. 3.0.0 migrates the code to the new syntax without making any API changes. 3.x.x introduces a better API which is more consistent with the new Swift 3 API guidelines.
To get started, you should take a look at the docs.
Rocket Data uses ConsistencyManager to manage the in-memory consistency of models. While you never need to access the Consistency Manager directly, understanding how it works will help you understand Rocket Data.