reidmain / fdmodel Goto Github PK
View Code? Open in Web Editor NEWPain free model layer by 1414 Degrees.
License: MIT License
Pain free model layer by 1414 Degrees.
License: MIT License
Currently FDModel has the concept of saving which attempts to save the model object to a FDModelStore but there is no way to delete the model from that store.
FDModel currently makes no attempt to ensure thread safety. If an FDModel object is being encoded while it is simultaneously being updated there is a chance that the encoding could crash https://devforums.apple.com/message/1079616. I'm sure there are also a host of other crashes that are probably just waiting to happen because of model objects being updated on multiple threads.
The first fix that comes to mind is that the FDModel, FDModelStore and FDModelProvider should share a NSOperationQueue that ensures that whenever a unsafe operation being performed it is thrown onto the queue. That immediately brings up the issue where what if the operation cannot be asynchronous so perhaps a recursive lock is better to ensure that deadlocks cannot occur.
Inside FDModel's copyWithZone: method it attempts to set the value of properties who are readonly but don't have a backing ivar. This is indicative of computed properties which will always fail and result in an exception that, while it will be caught, will be annoying when you have exception breakpoint turned on.
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.