A data-driven UICollectionView framework for building fast and flexible lists.
Find a file
Jordan Morgan c04fa2fcaa Add correct comment syntax for Remodel
Summary:
Using "//" causing a parsing issue with Remodel, whereas "#" appears to be the correct syntax. This pull simply updates the code sample using the correct syntax.

- [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/1169

Differential Revision: D8204551

Pulled By: rnystrom

fbshipit-source-id: 3c77bb943cf2b99e1c48f74f72560c56601c026d
2018-05-30 11:58:22 -07:00
.github Update ISSUE_TEMPLATE.md 2017-04-26 13:17:23 -07:00
docs Regenerate docs for 3.4 2018-05-01 17:04:28 -07:00
Examples give section controllers access to collection view scrolling traits 2018-05-14 14:56:54 -07:00
Guides Add correct comment syntax for Remodel 2018-05-30 11:58:22 -07:00
IGListKit.xcodeproj give section controllers access to collection view scrolling traits 2018-05-14 14:56:54 -07:00
IGListKit.xcworkspace Minimum fixes for Xcode 9.3 build errors 2018-04-09 08:37:18 -07:00
Pods Bump min macOS version to 10.11 #trivial 2018-02-03 08:31:28 -08:00
remodel-plugin Update remodel plugin to latest openSource changes 2018-02-26 23:09:03 -08:00
Resources Create binding and modeling guide/tutorial 2017-08-21 14:46:53 -07:00
scripts Update .travis.yml and lint.sh, try to fix #1060 and lint errors #trivial 2018-02-02 13:16:46 -08:00
Source Clean listAdapterUpdater state if collectionView becomes nil during update 2018-05-23 15:06:17 -07:00
Tests Clean listAdapterUpdater state if collectionView becomes nil during update 2018-05-23 15:06:17 -07:00
.gitignore Nitpicky comment fixes 2017-03-31 13:01:40 -07:00
.slather.yml Ignore Xcode dir in coverage reports 2016-11-20 07:58:58 -08:00
.travis.yml Minimum fixes for Xcode 9.3 build errors 2018-04-09 08:37:18 -07:00
CHANGELOG.md Clean listAdapterUpdater state if collectionView becomes nil during update 2018-05-23 15:06:17 -07:00
Dangerfile Update .travis.yml and lint.sh, try to fix #1060 and lint errors #trivial 2018-02-02 13:16:46 -08:00
Gemfile Update .travis.yml and lint.sh, try to fix #1060 and lint errors #trivial 2018-02-02 13:16:46 -08:00
Gemfile.lock Update .travis.yml and lint.sh, try to fix #1060 and lint errors #trivial 2018-02-02 13:16:46 -08:00
IGListKit.podspec Update README and podspec with new license, bump version to 3.4 2018-05-01 16:10:19 -07:00
LICENSE.md Relicense to MIT 2018-05-01 14:50:56 -07:00
Podfile Update Travis to Xcode 9.2 #trivial 2018-01-21 18:51:27 -08:00
Podfile.lock Update Travis to Xcode 9.2 #trivial 2018-01-21 18:51:27 -08:00
README.md Update README and podspec with new license, bump version to 3.4 2018-05-01 16:10:19 -07: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 9.0+
  • iOS 8.0+
  • tvOS 9.0+
  • macOS 10.11+ (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', '~> 3.0'

Carthage

For Carthage, add the following to your Cartfile:

github "Instagram/IGListKit" ~> 3.0

For advanced usage, see our Installation Guide.

Getting Started

$ git clone https://github.com/Instagram/IGListKit.git
$ cd IGListKit/
$ ./scripts/setup.sh

Documentation

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

To regenerate docs, run ./scripts/build_docs.sh from the root directory in the repo.

Vision

For the long-term goals and "vision" of IGListKit, please read our Vision doc.

Contributing

Please see the CONTRIBUTING file for how to help. 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.

We have a set of starter tasks that are great for beginners to jump in on and start contributing.

License

IGListKit is MIT-licensed.

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