Comments (7)
@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.
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.
@steve21124
Thank you.
I think you should not add section 20 times.
from datasources.
@steve21124
I've added validation.
94aba9b
Thank you!
from datasources.
@steve21124
And also, I've renamed few classes.
Please, check this PR.
#2
from datasources.
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.
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)
- We should add `ListDiff.framework`, not `Diff.framework` when installed DataSources with Carthage HOT 2
- Using DifferenceKit
- Update Cell without Reload Data like IGListKit section controller binding to Cell
- Cannot compile via Carthage HOT 2
- Can't install via Cocoapods HOT 2
- How to make it work without using RxSwift? HOT 1
- Best way to handle Dynamic Section in DataSource. HOT 6
- what the different between IGListKit and yours HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datasources.