GithubHelp home page GithubHelp logo

Comments (7)

muukii avatar muukii commented on May 22, 2024 2

@steve21124
Hi, Thank you for sample code.

I've fixed your code. please check it.
https://gist.github.com/muukii/dac32876237c127cbfa4fc0257905686

And sorry.
Calling update will be throttled, therefore updating numberOfItems will be updated asynchronously.

You can get an actual count of data in update.completion closure.

from datasources.

steve21124 avatar steve21124 commented on May 22, 2024 1

Thank you so much for the fixes. Now it make sense. It take a while to debug it. :)

With this sample code, I now know, it will work without using "RxSwift and RxCocoa" .

from datasources.

muukii avatar muukii commented on May 22, 2024

@steve21124
Thank you.
I think you should not add section 20 times.

from datasources.

muukii avatar muukii commented on May 22, 2024

@steve21124
I've added validation.
94aba9b

Thank you!

from datasources.

muukii avatar muukii commented on May 22, 2024

@steve21124
And also, I've renamed few classes.
Please, check this PR.
#2

from datasources.

steve21124 avatar steve21124 commented on May 22, 2024

Thank you for the help.
https://gist.github.com/steve21124/cf1a11e30b58e6957812fdbea583de01

I still have problem with this line
https://gist.github.com/steve21124/cf1a11e30b58e6957812fdbea583de01#file-viewcontroller-L48

It return zero items. Do you have simple example without using "RxSwift and RxCocoa" ?

from datasources.

steve21124 avatar steve21124 commented on May 22, 2024

fyi: currently, i am planning to remove "import RxSwift, EasyPeasy, AsyncDisplayKit" dependencies of Component.swift the reason because I am using ios 11 beta 5 and these libraries is not compatible yet with swift 4.0. If you do have solution for it. feel free to share it. Thank you

from datasources.

Related Issues (9)

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.