A data-driven UICollectionView framework for building fast and flexible lists.
Find a file
Krys Jurgowski 2414d3cca5 Downgrade IGListAdapter assert
Summary:
Chatted with maxolls about this assertion - it fires when a user of IGListKit accidentally implements a UICV layout (which IGListKit will ignore). Definitely not ideal, but not a launch blocking issue so demoting this assert to a warning.

It's currently the second highest firing mustfix in alpha 239.
https://fburl.com/scuba/errorreporting_instagram_ios_assertions/yap7opjy

Reviewed By: maxolls

Differential Revision: D36983661

fbshipit-source-id: 00497637cffea7553495c837bec267acca7cd3d8
2022-06-09 09:06:29 -07:00
.github Update CI Xcode version to 13.0 (#1536) 2021-10-14 08:47:56 -07:00
docs Adding Social Banner in Support of Ukraine (#1556) 2022-03-04 16:30:14 -08:00
Examples Fix Carthage build issue (#1531) 2021-09-30 16:04:18 -07:00
Guides Add <IGListDiffable> to isEqualToDiffableObject method argument type 2021-03-18 02:20:45 -07:00
IGListKit.xcodeproj SPM number10 (#1487) 2021-08-31 19:28:37 -07:00
remodel-plugin Add <IGListDiffable> to isEqualToDiffableObject method argument type 2021-03-18 02:20:45 -07:00
Resources Create binding and modeling guide/tutorial 2017-08-21 14:46:53 -07:00
scripts Fix 'The domain/default pair of (Info.plist,CFBundleShortVersionString) does not exist' issue (#1507) 2021-10-13 16:06:21 -07:00
Source Downgrade IGListAdapter assert 2022-06-09 09:06:29 -07:00
spm/Sources SPM number10 (#1487) 2021-08-31 19:28:37 -07:00
Tests Get index path or scroll position of first visible item in list (#1544) 2021-11-09 00:04:10 -08: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 Fix the podlint error (#1428) 2020-02-25 23:20:25 -08:00
CHANGELOG.md Add shouldDeselectItemAtIndex to IGListSectionController 2022-03-09 10:13:06 -08:00
CODE_OF_CONDUCT.md Adopt Contributor Covenant 2019-08-29 23:20:54 -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 Cocoapods 2019-11-13 05:30:27 -08:00
IGListDiffKit.podspec Run lint on IGListKit 2019-12-19 09:34:42 -08:00
IGListKit.podspec Run lint on IGListKit 2019-12-19 09:34:42 -08:00
IGListSwiftKit.podspec Run lint on IGListKit 2019-12-19 09:34:42 -08:00
LICENSE.md Update MIT license language (#1272) 2018-11-01 10:58:46 -07:00
Package.swift SPM number10 (#1487) 2021-08-31 19:28:37 -07:00
Podfile Fix the Gemfile.lock for the CI build (#1524) 2021-08-16 17:10:48 -07:00
README.md Re-sync with internal repository (#1547) 2021-12-09 15:33:04 -08:00
README.zh.md Update README.zh.md (#1545) 2022-01-18 14:57:58 -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.

Multilingual translation

Chinese README

Requirements

  • Xcode 9.0+
  • iOS 9.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', '~> 4.0.0'

Carthage

For Carthage, add the following to your Cartfile:

github "Instagram/IGListKit" ~> 4.0.0

Swift Package Manager

For Swift Package Manager:

To integrate using Xcode:

File -> Swift Packages -> Add Package Dependency

Enter package URL: https://github.com/Instagram/IGListKit, and select the latest release.

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.