Commit Graph

194 Commits

Author SHA1 Message Date
Sherlock
a748e6f6c7 Changed minimum macOS deployment target to 10.10
Summary:
Worth noting that while we support 10.8 and newer, Swift support is only 10.9 and newer. There were only a few more errors for 10.9 deployment target, but I'm not familiar with how it all works.

Using an `available` to disable row actions for users on 10.10 (only available for 10.11 and newer).
Closes https://github.com/Instagram/IGListKit/pull/374

Differential Revision: D4372977

Pulled By: jessesquires

fbshipit-source-id: 19f4b50c8eb4aa92f80241d69c44a367e854f5e8
2016-12-29 11:13:57 -08:00
James Sherlock
5cd771b546 Added Subspec for Diffing
Summary:
So the main Podspec file now has two Subspecs, `Diffing` and for lack of better name `Default`. `Diffing` is purely the files within the common directories (used for Diffing, if in the future we support MacOS NSCollectionView then this may need changing). `Default` depends on `Diffing` but also adds all the non-common files.

To use it via CocoaPods, nothing changes. You `import IGListKit` and you will only have access to the files in the pod you use. (So if you use `IGListKit/Diffing` in your Podfile, then you will only get access to the diffing files). If you do a manual installation, or I assume via Carthage, then you will need to import the correct header file (either `IGListDiffKit.h` or `IGListKit.h` depending on what you want).

Turns out CocoaPods creates it's own umbrella header (unless you tell it otherwise) meaning our ones are unused by it.

Just to confirm `IGListKit` in your Podfile will give you everything, only if you add `/Diffing` will you "opt-out" o
Closes https://github.com/Instagram/IGListKit/pull/368

Differential Revision: D4367438

Pulled By: jessesquires

fbshipit-source-id: 272318ca551e7e8c4177ca3ca501fde23bd9705a
2016-12-27 12:44:27 -08:00
Sherlock
19d4f9d1f7 Added compatibility header
Summary:
- Added IGListCompatibility.h file, and imported it in the files where we need the target check.
- Ordered the project by type

In "IGListKit.h" we still have the conditional check for `#if TARGET_OS_EMBEDDED || TARGET_OS_SIMULATOR` - Did we want to make a macro or something for this check?

This is the most Obj-C I've ever done... just felt that was a worthy comment.

Closes #364

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn't tested.
- [x] 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/369

Differential Revision: D4366344

Pulled By: jessesquires

fbshipit-source-id: f0a6168b8965ded22a641814797fbdec92ca1c36
2016-12-24 10:44:25 -08:00
Jesse Squires
c6b65cfb8b Create RELEASE_CHECKLIST.md
Summary:
Probably a good idea to document this. 😄

Easy for new contributors to forget steps.

Putting in `.github/` so it doesn't clutter top-level dir.
Closes https://github.com/Instagram/IGListKit/pull/366

Differential Revision: D4365951

Pulled By: jessesquires

fbshipit-source-id: 63a135be0875d7cbd415586ed15c28353da25b9e
2016-12-23 13:44:00 -08:00
Jesse Squires
f896a8b187 Update CONTRIBUTING.md
Summary: Closes https://github.com/Instagram/IGListKit/pull/367

Differential Revision: D4365950

Pulled By: jessesquires

fbshipit-source-id: eb364ab216570ad485af804b88f5680811bbc19c
2016-12-23 13:44:00 -08:00
Ryan Nystrom
e9ad6b199e Working ranges in stacked section controllers
Summary:
Closes #354

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn't tested.
- [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
Closes https://github.com/Instagram/IGListKit/pull/356

Differential Revision: D4365718

Pulled By: jessesquires

fbshipit-source-id: 41d7bcd823415e5795a069a4ef335e60e7da806a
2016-12-23 08:29:14 -08:00
Bofei Zhu
c3c0e36144 Full width item crashes grid layout
Summary:
Fixed #352
Closes https://github.com/Instagram/IGListKit/pull/361

Differential Revision: D4365711

Pulled By: jessesquires

fbshipit-source-id: 344b0c781cc807e0ff0bf381a5b12eaef3388d72
2016-12-23 08:14:01 -08:00
James Sherlock
bfdc0383b7 Update Changelog for TBD
Summary: Closes https://github.com/Instagram/IGListKit/pull/363

Differential Revision: D4365710

Pulled By: jessesquires

fbshipit-source-id: 306c30915d3a331763d2bf76a977444a34618328
2016-12-23 07:59:06 -08:00
heshamsalman
4bb3bbd1a0 Updated osx_image to xcode8.2, close #334
Summary:
- Updated `osx_image` in Travis to `xcode8.2`, as in: https://github.com/Instagram/IGListKit/issues/334
- Doesn't require tests, as it'll either pass with no changes to the codebase or break CI. 🤷🏽‍♂️

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn't tested.
- [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
Closes https://github.com/Instagram/IGListKit/pull/350

Differential Revision: D4365178

Pulled By: jessesquires

fbshipit-source-id: 9b21ef59fbda819a3fccf2b0670870f287475e03
2016-12-22 19:44:31 -08:00
Ryan Nystrom
917acb8da8 Add changelog to PR template
Summary:
If anything will help me remember.
Closes https://github.com/Instagram/IGListKit/pull/359

Differential Revision: D4365179

Pulled By: jessesquires

fbshipit-source-id: e002bc6bc31f8d2af59a5d5303a2c5cb09d780b6
2016-12-22 19:44:31 -08:00
Jesse Squires
6d84f85dd0 Fix stacked section controller OOB when cell ends display
Summary:
Fixes bug reported internally. When items are removed dynamically the stack internal store will attempt to access data that has already been removed. Instead use assoc objects.

We did change `IGListAdapter` to [use a map](https://github.com/Instagram/IGListKit/blob/master/Source/IGListAdapter.m#L681) instead of assoc objects. That could be a good cleanup.

cc cdoncarroll

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn't tested.
- [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
Closes https://github.com/Instagram/IGListKit/pull/358

Differential Revision: D4363840

Pulled By: jessesquires

fbshipit-source-id: ef73b4302f88a15cbf70378421d702f7e2bddbd5
2016-12-22 14:44:10 -08:00
Ryan Nystrom
1b70435993 Add stacked section controller demo
Summary:
Adding a pretty basic stacked demo. 3 different sections, each with 3 child section controllers that handle an `Int` data.

Requires #354 to be fully functional (working range).

Closes #134

- [x] All tests pass. Demo project builds and runs.
- [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
Closes https://github.com/Instagram/IGListKit/pull/355

Differential Revision: D4363859

Pulled By: jessesquires

fbshipit-source-id: 5dbc8e18388fed4930f189e3477ff57f0edf2d13
2016-12-22 14:29:08 -08:00
Sherlock
2957ee5feb Print file name when searching for broken links
Summary:
Wasn't sure how to make it a one line wonder, so probably could be improved -- but slapped it into a while loops and print name before triggering the `markdown-link-check`.

Refers to https://github.com/Instagram/IGListKit/pull/344#issuecomment-268163911

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn't tested.
- [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
Closes https://github.com/Instagram/IGListKit/pull/345

Differential Revision: D4352870

Pulled By: jessesquires

fbshipit-source-id: df62c7c29c7236cba5a9163819c56247dd2d5070
2016-12-20 12:28:58 -08:00
Jesse Squires
efca5a7c54 Fix broken links, fix travis
Summary:
Caught by travis.
https://travis-ci.org/Instagram/IGListKit/jobs/185367790

Many thanks to Sherlouk for setting this up. 💯
Closes https://github.com/Instagram/IGListKit/pull/344

Differential Revision: D4351406

Pulled By: jessesquires

fbshipit-source-id: 385a3c5d738b1576a95812b9e4c598ea25773a78
2016-12-19 23:44:20 -08:00
Jesse Squires
4e42712e5b fixup common files and podspec, #270
Summary:
- Add missing common files
- Fix podspec for common files
- Pod install all examples

Reviewed By: rnystrom

Differential Revision: D4350871

fbshipit-source-id: 708ebe6ce66caed75af5b2ac18920dcf45567d16
2016-12-19 21:44:13 -08:00
Ryan Nystrom
4cc91a25c8 Prevent data source deallocation during async updates
Summary: Saw some crashes come in from out-of-sync objects and section controllers. After some digging I found that the nil-datasource assert was firing (not very frequently). Mostly happening on other VCs, probably from hitting the back button and an update arriving.

Reviewed By: jessesquires

Differential Revision: D4347862

fbshipit-source-id: 38c1a4816f5c109de41297309745ac2d5e348e93
2016-12-19 13:43:56 -08:00
Jesse Squires
57c9f84d28 Update CHANGELOG.md
Summary: Closes https://github.com/Instagram/IGListKit/pull/343

Differential Revision: D4347850

Pulled By: jessesquires

fbshipit-source-id: f2f9fc879579fc0dfdc7a5a1652dd71749e56447
2016-12-19 12:29:24 -08:00
Ryan Nystrom
ad30e53507 Move macOS and diffing files to Common dir
Summary:
Moving files to `Common` dir so changes are more automated with Buck and easier to manage in the long run. Ran `pod install` on test and example targets. Updated buck file to include `Common` so diffing lib still works.

Part of #270

Reviewed By: jessesquires

Differential Revision: D4346722

fbshipit-source-id: 366d89f6dd571b158b5fccd542080c51517ed341
2016-12-19 12:29:24 -08:00
Guilherme Rambo
47fbb72fa6 macOS example app
Summary:
Related issue: #333

I've made a very simple macOS example app. It's just a list of names which can be searched, shuffled or deleted.

I think this is a good starting point for anyone who wants to use this on macOS projects :)

![iglistkitmac](https://cloud.githubusercontent.com/assets/67184/21238494/7245f242-c2ea-11e6-98ea-218a6150d14c.gif)
Closes https://github.com/Instagram/IGListKit/pull/337

Reviewed By: rnystrom

Differential Revision: D4345236

Pulled By: jessesquires

fbshipit-source-id: ce75372263d3f451e34f2c816c14ab6bc82116a7
2016-12-19 10:59:03 -08:00
Ryan Nystrom
1765d68406 Invalidate layout when using reloadData
Summary:
Always invalidate the `collectionViewLayout` when calling `reloadData`. Turns out there are inconsistencies when layout attributes are queries/stored using `UICollectionViewFlowLayout` and `estimatedItemSize`.

Reproduced in unit test, fixed the test.

Closes #305

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn't tested.
- [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
Closes https://github.com/Instagram/IGListKit/pull/319

Differential Revision: D4329318

Pulled By: rnystrom

fbshipit-source-id: 91851f6ab170a416810712308727225404ad59ba
2016-12-15 12:14:13 -08:00
Jesse Squires
9600c23d15 run pod install everywhere, gen docs.
Summary:
- Project fixes for macOS support, #270
- Podspec fixes for macOS, #270
- Project test target fixes
- Pod install all examples
- Re-gen docs

Differential Revision: D4327169

fbshipit-source-id: bbe7896f8f50aaf3b8da03d0c21a0fb6f775c7cd
2016-12-14 14:44:10 -08:00
Jesse Squires
b52510559d Fix podspec for macOS support
Summary: Closes https://github.com/Instagram/IGListKit/pull/330

Differential Revision: D4327087

Pulled By: jessesquires

fbshipit-source-id: a63ad7770763d95de1333be130673732706b7e36
2016-12-14 09:44:08 -08:00
Jesse Squires
69c3cc73e7 macOS support follow-up work, #270
Summary:
Progress on #270.

- Setup basic, empty example project
- Setup test target and add tests that work for macOS
- Update changelog
- Update travis-ci
Closes https://github.com/Instagram/IGListKit/pull/328

Differential Revision: D4325876

Pulled By: jessesquires

fbshipit-source-id: 342963ce5103d3980c697655e1f1a9b6f3f1c520
2016-12-13 23:14:07 -08:00
Guilherme Rambo
3da0a6bf84 macOS support
Summary:
Added support for macOS. The macOS target includes only the core diffing functionality so `IGListDiff` can be used on macOS apps.

I have not added the tests because I don't know how you're setting them up, maybe the same tests can be used by adding some `#if os(...)`s to the test files.

I have tested integration on iOS, tvOS and macOS using both Carthage and Cocoapods.
Closes https://github.com/Instagram/IGListKit/pull/235

Differential Revision: D4325423

Pulled By: jessesquires

fbshipit-source-id: 871bf08410061306004872f5feb7a09d362b6bc1
2016-12-13 20:44:07 -08:00
Ryan Nystrom
f7e8bf1634 Fix sentence in readme
Summary:
Nits in the readme, not a full sentence.
Closes https://github.com/Instagram/IGListKit/pull/327

Differential Revision: D4325422

Pulled By: jessesquires

fbshipit-source-id: 6873aef68276107b793934b6b3e06d10fa10a8a4
2016-12-13 19:59:04 -08:00
Ryan Nystrom
86cb59a1f0 Fix changelog link
Summary:
Nit, attribution for svenbacia
Closes https://github.com/Instagram/IGListKit/pull/326

Differential Revision: D4324923

Pulled By: rnystrom

fbshipit-source-id: 2770ea9a5b9de639a0b7c376ad5c91ad81e6b71a
2016-12-13 18:29:03 -08:00
Ryan Nystrom
169c0d6c54 Prevent item reload, delete, insert collisions
Summary:
Adds a new test and fixes an item animation collision that `UICollectionView` throws on. Basically we cannot collide reloads with insert+delete.

The example in the test is trivial, but real-world situations do appear b/c of the coalescence of `IGListAdapterUpdater`. It can queue reloads and deletes/inserts at the same index paths while waiting.

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn't tested.
- [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
Closes https://github.com/Instagram/IGListKit/pull/325

Differential Revision: D4322005

Pulled By: rnystrom

fbshipit-source-id: 2247163c13c0873a74ac485efff2d882ca6568f9
2016-12-13 13:44:02 -08:00
Ryan Nystrom
695440ec1f Add more missing unit tests
Summary:
Working on that coverage %. Hustle to ?

Seriously tho, nearly maxed the coverage that is realistic. I think we need to spend some time on the grid layout tho, there are parts untested that also are unnecessary. I should file a 3.0.0 issue to track work on that.

Waiting for CI ?
Closes https://github.com/Instagram/IGListKit/pull/324

Differential Revision: D4319806

Pulled By: rnystrom

fbshipit-source-id: b626abd65ad73709c231671c0c669414eef1660b
2016-12-13 07:29:10 -08:00
Sven Bacia
fb9d8cea8e disables prefetchEnabled by default
Summary:
Disables `prefetchEnabled` by default on `IGListCollectionView` (#318).

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn't tested.
- [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
Closes https://github.com/Instagram/IGListKit/pull/323

Differential Revision: D4319761

Pulled By: rnystrom

fbshipit-source-id: a3ea4c3d1d1f3123a60c8168fb333e73ab93cb1e
2016-12-13 07:13:58 -08:00
Ryan Nystrom
626d26839b Update changelog for next release
Summary:
Resetting the changelog for next hotfix release.
Closes https://github.com/Instagram/IGListKit/pull/320

Differential Revision: D4316482

Pulled By: jessesquires

fbshipit-source-id: 924bc4770e2eecb615477696243a261b733e2148
2016-12-12 15:44:01 -08:00
Jesse Squires
478264cbc3 Update README.md
Summary: Closes https://github.com/Instagram/IGListKit/pull/321

Differential Revision: D4315759

Pulled By: rnystrom

fbshipit-source-id: 1be7e5799662874d4b41b738115cdb6cde32ed2a
2016-12-12 14:44:08 -08:00
Jesse Squires
fc56c02cec Update README.md
Summary:
rnystrom - I know you removed this before, but I think we should add it back now that we support > 1 platform. 😄

(and macOS is coming up in #235 )
Closes https://github.com/Instagram/IGListKit/pull/322

Differential Revision: D4314033

Pulled By: rnystrom

fbshipit-source-id: d768d0ce19df0154609ab639f0acb8d95fe2b7da
2016-12-12 11:14:19 -08:00
Jesse Squires
faa4595b56 Update README.md
Summary:
Just a few tweaks, less verbose.

Also -- removed the "manual" installation. I don't think hardly anyone uses this. Plus, I don't think a simple drag + drop would work because of `OCMock`.
Closes https://github.com/Instagram/IGListKit/pull/313

Differential Revision: D4313111

Pulled By: rnystrom

fbshipit-source-id: 4796d94e9f4c853220780074807e902a7390c037
2016-12-12 07:14:10 -08:00
Sherlock
2ca1577f3d Check for broken links in markdown files
Summary:
- Install `markdown-link-check` as a dependency
- Check each markdown file for links, and check them using aforementioned library

Closes #312

A few points of note, I'm not sure if we can use the built-in caching capabilities to cache the library (at the moment it's installed for each build, even though it's only used for 1 -- seems a big waste!). Also a downside of the library is it doesn't really like relative links, we only had one -- so I changed it to be absolute.

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn't tested.
- [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
Closes https://github.com/Instagram/IGListKit/pull/314

Differential Revision: D4313106

Pulled By: rnystrom

fbshipit-source-id: a73fef73d7d7b54ddff3d5760756630cedb6a6d6
2016-12-12 07:14:10 -08:00
Jesse Squires
1b187caecd Update CHANGELOG.md
Summary: Closes https://github.com/Instagram/IGListKit/pull/311

Differential Revision: D4307618

Pulled By: jessesquires

fbshipit-source-id: 0698436fdeeec9c6d4a776376572025e6e8e6ee4
2.0.0
2016-12-09 12:43:58 -08:00
Ryan Nystrom
b8d2c3bac0 Update docs with 2.0.0 links and copy, regen docs, pod install tests and examples
Summary: Title

Reviewed By: jessesquires

Differential Revision: D4306896

fbshipit-source-id: 134f3afd92d00bed1dee0b99b4f565a606027bdd
2016-12-09 11:44:36 -08:00
Ryan Nystrom
7f56e0fec0 Update podspec and project version to 2.0.0
Summary:
This needs to land and be part of #307 before that gets merged, right?

Part of #306
Closes https://github.com/Instagram/IGListKit/pull/308

Differential Revision: D4306594

Pulled By: rnystrom

fbshipit-source-id: 59314d669f2d42f7dc7856249cf53b81ca001466
2016-12-09 10:44:02 -08:00
Jeff Bailey
b9ede32f5b Issue #299 Unit tests for IGListCollectionView
Summary:
Add 2 new unit test files for IGListCollectionView.  One is for storyboards and the other for when creating the IGListCollectionView in code.

- [X] All tests pass. Demo project builds and runs.
- [X] I added tests, an experiment, or detailed why my change isn't tested.
- [X] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
Closes https://github.com/Instagram/IGListKit/pull/303

Differential Revision: D4304615

Pulled By: rnystrom

fbshipit-source-id: c6edbcd493fe4ee087ce3d0aee80db484207859d
2016-12-08 20:14:01 -08:00
Jesse Squires
8bfe2fefdd Final re-gen docs for 2.0
Summary:
Using latest jazzy 0.7.3
Closes https://github.com/Instagram/IGListKit/pull/302

Differential Revision: D4299870

Pulled By: rnystrom

fbshipit-source-id: 4c2f343695d91f2bcb9ca99355e101bfe8817a7a
2016-12-08 10:14:23 -08:00
Jesse Squires
ec1a46cdca Fix docs error
Summary:
😳
Closes https://github.com/Instagram/IGListKit/pull/301

Differential Revision: D4299155

Pulled By: rnystrom

fbshipit-source-id: 2bac6824a4d76401cb9eb61a582a734464f9d694
2016-12-08 07:14:04 -08:00
Jeff Bailey
80916636ec Fix for issue #294 - Support for UIAppearance in IGListCollectionView…
Summary:
Updated IGListCollectionView:initWithFrame:collectionViewLayout constructor to support UIAppearance for the backgroundColor property.

Fixes #294

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn't tested.
- [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
Closes https://github.com/Instagram/IGListKit/pull/298

Differential Revision: D4292394

Pulled By: rnystrom

fbshipit-source-id: a7c4f0e516728b684993f2651eadcc25001de783
2016-12-07 10:14:01 -08:00
Jesse Squires
4c4fdec562 travis voodoo
Summary:
 magic 

We forgot the lamb's blood last time.

- run UI tests on ~~iOS 9, not iOS 10~~ iOS 10.1
- only pod lint once
- only build examples for major releases, not point releases. (new APIs are rarely introduced in point releases)
Closes https://github.com/Instagram/IGListKit/pull/296

Differential Revision: D4291789

Pulled By: rnystrom

fbshipit-source-id: fcfd84be4e914fbc9d0a723315ae6d3ff7582e70
2016-12-07 06:29:05 -08:00
Ryan Nystrom
e66bd85e32 Fix deselection from stack collection context offset
Summary:
Offset should be relative.

Fixes #279

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn't tested.
- [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
Closes https://github.com/Instagram/IGListKit/pull/295

Differential Revision: D4290143

Pulled By: rnystrom

fbshipit-source-id: 8d6dccb821b12700d0d7e8704006ef5371396dfd
2016-12-06 18:59:00 -08:00
James Sherlock
ea98e1b41c Update CHANGELOG.md
Summary:
For the sake of completion I added commit/pr numbers to the rest of the changelog
Finishes https://github.com/Instagram/IGListKit/issues/278

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn't tested.
- [x] I have reviewed the [contributing guide]
(https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
- [x] Have a real need to complete minor things
Closes https://github.com/Instagram/IGListKit/pull/293

Differential Revision: D4286735

Pulled By: jessesquires

fbshipit-source-id: 907eec77cc54086daeb52c7c23a097c74f6d0422
2016-12-06 12:44:01 -08:00
Jesse Squires
4aae4edbf8 Update CHANGELOG.md
Summary: Closes https://github.com/Instagram/IGListKit/pull/292

Differential Revision: D4285323

Pulled By: jessesquires

fbshipit-source-id: 1c28a529b6c8477ba1946ea6649077131059cd60
2016-12-06 09:44:10 -08:00
Dave Caunt
394e6c827b Don't set UICollectionView properties in IGListCollectionView
Summary:
Fixes #277
Closes https://github.com/Instagram/IGListKit/pull/285

Differential Revision: D4284679

Pulled By: rnystrom

fbshipit-source-id: 6fae3bc928e0065681ebfce906f9e518f819db89
2016-12-06 06:44:05 -08:00
Ryan Nystrom
0395ca31e9 Add unit tests to reloadData updater
Summary:
Adding a few more missing unit tests.

Closes #185
Closes https://github.com/Instagram/IGListKit/pull/289

Differential Revision: D4284610

Pulled By: rnystrom

fbshipit-source-id: a592fb9c12a3995a62b608f44cdcc693a0f79bec
2016-12-06 05:59:08 -08:00
Ryan Nystrom
10bdfb23f9 Add more unit tests to stack section controller
Summary:
Beefing up our test coverage. Made an improvement to supplementary view behavior along the way. Will update `CHANGELOG.md` once travis finishes w/ link to PR #.

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn't tested.
- [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
Closes https://github.com/Instagram/IGListKit/pull/286

Differential Revision: D4281961

Pulled By: jessesquires

fbshipit-source-id: 32b5877bd72250b9a99e600ceffc64d686fa5651
2016-12-05 17:44:02 -08:00
Ryan Nystrom
4baf267354 Add missing adapter tests
Summary:
Couple more unit tests missing from `IGListAdapter`.

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn't tested.
- [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
Closes https://github.com/Instagram/IGListKit/pull/287

Differential Revision: D4281952

Pulled By: jessesquires

fbshipit-source-id: da01d22b291071e5b2a7623b263574738456b8b8
2016-12-05 17:44:02 -08:00
Jesse Squires
0a08908f7f Update .travis.yml
Summary:
Close #282
Closes https://github.com/Instagram/IGListKit/pull/283

Differential Revision: D4281950

Pulled By: jessesquires

fbshipit-source-id: 38ceddc1162624515d36eda52f177b958fe7fe3e
2016-12-05 17:14:03 -08:00