A data-driven UICollectionView framework for building fast and flexible lists.
Find a file
Bofei Zhu f7702fa713 Container Inset Size For Section Controller
Summary:
Add API for #315. Not sure if this is what you want rnystrom though 🤔. Will add tests after you confirm.

- [x] All tests pass. Demo project builds and runs.
- [x] 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.
- [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
Closes https://github.com/Instagram/IGListKit/pull/456

Reviewed By: jessesquires

Differential Revision: D4697190

Pulled By: rnystrom

fbshipit-source-id: f8513cf2fa33441eb40f486954136553d19dda0c
2017-03-15 09:25:40 -07:00
.github Update PULL_REQUEST_TEMPLATE.md 2017-02-15 16:32:32 -08:00
docs Fix spelling in documentation 2017-03-07 08:31:06 -08:00
Examples Auto diffing section controller 2017-03-15 07:47:24 -07:00
Guides Update Best Practices and FAQ.md 2017-03-13 09:32:01 -07:00
IGListKit.xcodeproj Container Inset Size For Section Controller 2017-03-15 09:25:40 -07:00
IGListKit.xcworkspace Initial commit 2016-10-11 10:12:17 -04:00
Pods Revert D4640425: [IGListKit] kill IGListCollectionView. GH issue #409 2017-03-06 16:15:31 -08:00
Resources Optimized images 2017-02-20 16:18:20 -08:00
Source Container Inset Size For Section Controller 2017-03-15 09:25:40 -07:00
Tests Container Inset Size For Section Controller 2017-03-15 09:25:40 -07:00
.gitignore Use bundler to manage CocoaPods and xcpretty 2016-10-13 19:29:09 -07:00
.slather.yml Ignore Xcode dir in coverage reports 2016-11-20 07:58:58 -08:00
.travis.yml Setup Danger 2017-03-13 09:32:00 -07:00
build_docs.sh Fix build docs script 2017-01-28 01:13:54 -08:00
CHANGELOG.md Auto diffing section controller 2017-03-15 07:47:24 -07:00
Dangerfile Setup Danger 2017-03-13 09:32:00 -07:00
IGListKit.podspec Release 2.1.0 prep 2017-01-04 10:14:37 -08:00
LICENSE.md Initial commit 2016-10-11 10:12:17 -04:00
PATENTS.md Initial commit 2016-10-11 10:12:17 -04:00
Podfile Add tvOS support. Close #118 2016-10-29 14:44:11 -07:00
Podfile.lock Revert D4640425: [IGListKit] kill IGListCollectionView. GH issue #409 2017-03-06 16:15:31 -08:00
README.md Changed minimum macOS deployment target to 10.10 2016-12-29 11:13:57 -08:00

Build Status Coverage Status Pods Version Platforms Carthage Compatible


A data-driven UICollectionView framework for building fast and flexible lists.

Main Features
🙅 Never call performBatchUpdates(_:, completion:) or reloadData() again
🏠 Better architecture with reusable cells and components
🔠 Create collections with multiple data types
🔑 Decoupled diffing algorithm
Fully unit tested
🔍 Customize your diffing behavior for your models
📱 Simply UICollectionView at its core
🚀 Extendable API
🐦 Written in Objective-C with full Swift interop support

IGListKit is built and maintained with ❤️ by Instagram engineering. We use the open source version master branch in the Instagram app.

Requirements

  • Xcode 8.0+
  • iOS 8.0+
  • tvOS 9.0+
  • macOS 10.10+ (diffing algorithm components only)
  • Interoperability with Swift 3.0+

Installation

CocoaPods

The preferred installation method is with CocoaPods. Add the following to your Podfile:

pod 'IGListKit', '~> 2.0.0'

Carthage

For Carthage, add the following to your Cartfile:

github "Instagram/IGListKit" ~> 2.0.0

For advanced usage, see our Installation Guide.

Getting Started

Documentation

You can find the docs here. Documentation is generated with jazzy and hosted on GitHub-Pages.

Contributing

Please see the CONTRIBUTING file for how to help out. At Instagram we sync the open source version of IGListKit daily, so we're always testing the latest changes. But that requires all changes be thoroughly tested and follow our style guide.

License

IGListKit is BSD-licensed. We also provide an additional patent grant.

The files in the /Examples/ directory are licensed under a separate license as specified in each file. Documentation is licensed CC-BY-4.0.