-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Binding to UICollectionView not initially configuring collection view #3
Comments
I just noticed that, though the |
That does not sound good. I'll check it out :) Thanks for reporting! |
Let me know if you need a demo project I can try to set one up!
|
@srdanrasic After more testing, I've found multiple different issues with this through my unit testing. I'm getting exceptions thrown when trying to insert new items into my All of these issues disappear as soon as I remove |
@AnthonyMDev those messages smell on some email malware 😟 |
Yeah not sure what's that's about. Looking into it. :/ |
When I bind an
ObservableCollection
to aUICollectionView
, the collection view is not being set up until I make some changes to my collection. The initial values of my collection are not being loaded to the collection view.I've noticed in debugging that the
RKCollectionViewDataSource.sourceCollection
is empty, even though theobservableCollection
has items in it.This is fixed by removing the
skip(1)
fromobservableCollection.skip(1).observe(on: ImmediateOnMainExecutionContext) { [weak self] event in
on line 76 ofUICollectionView.swift
.Why are we skipping the 1st observation anyways?
The text was updated successfully, but these errors were encountered: