Code Monkey home page Code Monkey logo

awesometableanimationcalculator's People

Contributors

bealex avatar mikeger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

awesometableanimationcalculator's Issues

Animated collapse/expand sections

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

Performance improvement / Diff calculation

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 NSOrderedSets

Связь ASectionModel и ACellModel

Привет! Столкнулся с траблой, где нужно определить имеется ли уже определенный элемент (ACellModel) в модели, а если есть, то узнать в какой секции. Я стал перебирать sections в модели, и выяснилось, что у нее нету связи с моделями ячеек. Пробовал перебирать items, у них тоже никаких связей с секциями не оказалось. Было бы здорово увидеть подобные связи в публичном API.

Swift 3.0

Хотелось бы иметь поддержку Swift 3.0, хотя бы на отдельной ветке. Спасибо!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.