Skip to content
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

Disable prefetching when setting the collection view #889

Closed
wants to merge 2 commits into from
Closed

Conversation

rnystrom
Copy link
Contributor

@rnystrom rnystrom commented Aug 11, 2017

Followup from #852 since UIAppearance doesn't have any effect. Automatically disable prefetching.

Issue fixed: #846

Checklist

  • All tests pass. Demo project builds and runs.
  • I added tests, an experiment, or detailed why my change isn't tested.
  • I added an entry to the CHANGELOG.md for any breaking changes, enhancements, or bug fixes.

@facebook-github-bot
Copy link
Contributor

@rnystrom updated the pull request - view changes

@jessesquires jessesquires added this to the 3.1.0 milestone Aug 11, 2017
@rnystrom
Copy link
Contributor Author

Ping @jessesquires but importing for eyeballs

@facebook-github-bot
Copy link
Contributor

@rnystrom has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@@ -49,6 +49,8 @@ NS_SWIFT_NAME(ListAdapter)

/**
The collection view used with the adapter.

@note Setting this property will automatically set isPrefetchingEnabled to `NO` for performance reasons.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • i'd use @warning
  • put isPrefetchingEnabled in back ticks

@jessesquires
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Common UICollectionView config in category
3 participants