Giter Club home page Giter Club logo

Comments (7)

3lvis avatar 3lvis commented on July 17, 2024 1

Hi @MojtabaHs,

This was added 10 days ago. #82

I'll take some time to add it to the README.

from datasource.

3lvis avatar 3lvis commented on July 17, 2024 1

I'll make sure to add a demo project to check that we're on the same page :)

from datasource.

MojtabaHs avatar MojtabaHs commented on July 17, 2024

hmmmm. I see. Index path for cell with id is a good solution. But some times data source object should decide witch cell id should be used. The solution you mentioned is good but its need some index path storing and passing the array to delegate and etc. But it could easily achieved at initial time... if you know what I mean.

from datasource.

3lvis avatar 3lvis commented on July 17, 2024

I'm sorry. I don't follow. Maybe you could more information about your use case. Like how your interface looks and how your data is stored, do you separate by sections? Etc.

I see an opportunity to add an awesome feature and would be nice if we could collaborate to make it happen :)

from datasource.

MojtabaHs avatar MojtabaHs commented on July 17, 2024

Imagine a conversation app like apple native messages. some messages contains only emoji, some only images, videos, maps and etc. Each one has its own xib (I think) and the table view datasource contain all of them. at cell initialization we could have something like:
if (message.containsOnlyVideo) {
cell = videoOnly cell from nib
}

I hope you got the idea. And about collaborate, I love to. But at this time, I'm working on some other part of my application and it could be my next job ;)

from datasource.

3lvis avatar 3lvis commented on July 17, 2024

I think that should work with what was added on #82

🤔

from datasource.

3lvis avatar 3lvis commented on July 17, 2024

Added an issue for this #91

from datasource.

Related Issues (20)

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.