nodes-ios / cashier Goto Github PK
View Code? Open in Web Editor NEWAn easy to use 2-layered object cache for iOS.
Home Page: https://nodesagency.com
License: MIT License
An easy to use 2-layered object cache for iOS.
Home Page: https://nodesagency.com
License: MIT License
Working on branch https://github.com/nodes-ios/Cashier/tree/mariusc-tests for Cashier tests
Hi Guys,
How are you doing? It’s been so much time =)
I am having troubles with NOPersistentStore
and final Class Arrays objects.
For example: If I cache an array of a Final Class type and then I update one of its elements by subscripting e.g: myCars[indexPath.row].isNew = true
it will update the cache but the next time I open the app the cache will go back to previous status.
It doesn’t happen if Car
is a Value Type (struct, enum, etc) instead of a NSObject
.
And it also doesn’t happen if the array item is replaced entirely. For example: myCar[indexPath.row] = Car()
works fine when reopening the app.
PS: Attached you will find the data structure example, just in case it's needed.
dataExample.zip
Thanks in advance. Say hi to all the team!
Working on branch https://github.com/nodes-ios/Cashier/tree/mariusc-docs for Cashier docs
Wait for #6 to be done first
Maybe there should be a way of making sure cache is not wiped for the current version. Otherwise we need to make sure we NEVER use the regular cache for anything relating to state?
Don't necessarily need to remove the objective-c code, but we should also provide swift.
OSX, tvOS, watchOS
Saving a Swift's Double type into NOPersistentStore and then retrieving immediately after does not seem to work.
Also update Xcode project to be 1:1 to folders.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.