bealex / awesometableanimationcalculator Goto Github PK
View Code? Open in Web Editor NEWAwesome Table Animation Calculator
License: MIT License
Awesome Table Animation Calculator
License: MIT License
We are using AwesomeTableAnimationCalculator in our app, and we are happy with it so far. Except that we are now facing an issue where we need to fold/unfold sections (e.g. for those sections to be able holding 0 rows); I assume for this moment it is not possible to have a section model with no cell models associated with it? Since Section Models are being built from Cell Models.
I haven't found a solution to cleanly build a mechanism for such collapse/expand feature. Regarding this, I wonder if you might consider adding this feature, or would it be better if we forked and done this by ourselves?
Thanks in advance
We tried to use the AwesomeTableAnimationCalculator
in production for our app, but it did not work out due to performance issues.
We observed the significant CPU usage hit on diff calculation. The diff calculation involves plenty of Array.indexOf()
calls, and those cost ~O(n)
where n
is the size of the array.
I've tried to port the framework to use NSOrderedSet
where the lookup is O(1)
, but did not succeed because ordered set is looking objects up not by hash but by memory address, and as log as the data source objects are copied, the lookup can not be successful.
Possible option could be to use one of implementations of ordered set that are done in swift.
PS: If needed I can provide the port implementation that I've done to try NSOrderedSet
s
Swift syntax is not compatible for XCode 7.2
Проект не компилируется в XCode 7.2
Привет! Столкнулся с траблой, где нужно определить имеется ли уже определенный элемент (ACellModel) в модели, а если есть, то узнать в какой секции. Я стал перебирать sections в модели, и выяснилось, что у нее нету связи с моделями ячеек. Пробовал перебирать items, у них тоже никаких связей с секциями не оказалось. Было бы здорово увидеть подобные связи в публичном API.
Хотелось бы иметь поддержку Swift 3.0, хотя бы на отдельной ветке. Спасибо!
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.