IGListKit/Tests/Objects
Ryan Nystrom 4e9b0bb4c4 Prevent negative spaces for items and supplementaries
Summary:
If a negative height/width comes down, cap it to `0.0`.

Issue fixed: #566

Also fixes t16455632 internally.

- [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.
Closes https://github.com/Instagram/IGListKit/pull/583

Differential Revision: D4797520

Pulled By: jessesquires

fbshipit-source-id: 3eeec5244a445bb451460286b4f006ca0d9c67d1
2017-03-29 15:01:08 -07:00
..
IGLayoutTestDataSource.h Vertical UICollectionViewLayout supporting inline sections (take 2) 2017-02-10 18:01:22 -08:00
IGLayoutTestDataSource.m Vertical UICollectionViewLayout supporting inline sections (take 2) 2017-02-10 18:01:22 -08:00
IGLayoutTestItem.h Vertical UICollectionViewLayout supporting inline sections (take 2) 2017-02-10 18:01:22 -08:00
IGLayoutTestItem.m Vertical UICollectionViewLayout supporting inline sections (take 2) 2017-02-10 18:01:22 -08:00
IGLayoutTestSection.h Vertical UICollectionViewLayout supporting inline sections (take 2) 2017-02-10 18:01:22 -08:00
IGLayoutTestSection.m Vertical UICollectionViewLayout supporting inline sections (take 2) 2017-02-10 18:01:22 -08:00
IGListTestAdapterDataSource.h Backed out changeset b72b444c1197 2017-02-12 14:30:39 -08:00
IGListTestAdapterDataSource.m Container Inset Size For Section Controller 2017-03-15 09:25:40 -07:00
IGListTestAdapterHorizontalDataSource.h Unit tests for -scrollToObject horizontal end position 2016-11-22 06:44:01 -08:00
IGListTestAdapterHorizontalDataSource.m Unit tests for -scrollToObject horizontal end position 2016-11-22 06:44:01 -08:00
IGListTestAdapterStoryboardDataSource.h Support supplementaryViews created from storyboard 2016-11-01 10:59:21 -07:00
IGListTestAdapterStoryboardDataSource.m Support supplementaryViews created from storyboard 2016-11-01 10:59:21 -07:00
IGListTestContainerSizeSection.h Container Inset Size For Section Controller 2017-03-15 09:25:40 -07:00
IGListTestContainerSizeSection.m Container Inset Size For Section Controller 2017-03-15 09:25:40 -07:00
IGListTestHorizontalSection.h Unit tests for -scrollToObject horizontal end position 2016-11-22 06:44:01 -08:00
IGListTestHorizontalSection.m Unit tests for -scrollToObject horizontal end position 2016-11-22 06:44:01 -08:00
IGListTestOffsettingLayout.h Initial commit 2016-10-11 10:12:17 -04:00
IGListTestOffsettingLayout.m Initial commit 2016-10-11 10:12:17 -04:00
IGListTestSection.h Prevent negative spaces for items and supplementaries 2017-03-29 15:01:08 -07:00
IGListTestSection.m Prevent negative spaces for items and supplementaries 2017-03-29 15:01:08 -07:00
IGListTestStoryboardSection.h Support supplementaryViews created from storyboard 2016-11-01 10:59:21 -07:00
IGListTestStoryboardSection.m Support supplementaryViews created from storyboard 2016-11-01 10:59:21 -07:00
IGListTestUICollectionViewDataSource.h Initial commit 2016-10-11 10:12:17 -04:00
IGListTestUICollectionViewDataSource.m Change equality API to avoid NSObject override 2016-11-10 16:59:02 -08:00
IGTestCell.h Auto diffing section controller 2017-03-15 07:47:24 -07:00
IGTestCell.m Auto diffing section controller 2017-03-15 07:47:24 -07:00
IGTestDelegateController.h Track batch updates in object and explicit state 2017-03-07 09:33:03 -08:00
IGTestDelegateController.m Layout invalidation API 2017-02-21 15:30:56 -08:00
IGTestDelegateDataSource.h Initial commit 2016-10-11 10:12:17 -04:00
IGTestDelegateDataSource.m Initial commit 2016-10-11 10:12:17 -04:00
IGTestDiffingDataSource.h Auto diffing section controller 2017-03-15 07:47:24 -07:00
IGTestDiffingDataSource.m Auto diffing section controller 2017-03-15 07:47:24 -07:00
IGTestDiffingObject.h Auto diffing section controller 2017-03-15 07:47:24 -07:00
IGTestDiffingObject.m Auto diffing section controller 2017-03-15 07:47:24 -07:00
IGTestDiffingSectionController.h Auto diffing section controller 2017-03-15 07:47:24 -07:00
IGTestDiffingSectionController.m Auto diffing section controller 2017-03-15 07:47:24 -07:00
IGTestNibSupplementaryView.h Support supplementaryViews created from nibs (continued) 2016-11-05 16:29:06 -07:00
IGTestNibSupplementaryView.m Support supplementaryViews created from nibs (continued) 2016-11-05 16:29:06 -07:00
IGTestNumberBindableCell.h Auto diffing section controller 2017-03-15 07:47:24 -07:00
IGTestNumberBindableCell.m Auto diffing section controller 2017-03-15 07:47:24 -07:00
IGTestObject.h Initial commit 2016-10-11 10:12:17 -04:00
IGTestObject.m Remove NSObject+IGListDiffable category 2016-11-21 16:59:00 -08:00
IGTestSingleItemDataSource.h Initial commit 2016-10-11 10:12:17 -04:00
IGTestSingleItemDataSource.m Provide object in IGListSingleSectionController size block 2016-11-01 10:59:21 -07:00
IGTestSingleNibItemDataSource.h Support cells created from nibs 2016-10-14 18:59:18 -07:00
IGTestSingleNibItemDataSource.m Provide object in IGListSingleSectionController size block 2016-11-01 10:59:21 -07:00
IGTestSingleStoryboardItemDataSource.h Add storyboard support #39 2016-10-25 15:29:13 -07:00
IGTestSingleStoryboardItemDataSource.m Provide object in IGListSingleSectionController size block 2016-11-01 10:59:21 -07:00
IGTestStackedDataSource.h Initial commit 2016-10-11 10:12:17 -04:00
IGTestStackedDataSource.m Container Inset Size For Section Controller 2017-03-15 09:25:40 -07:00
IGTestStoryboardCell.h Add storyboard support #39 2016-10-25 15:29:13 -07:00
IGTestStoryboardCell.m Add storyboard support #39 2016-10-25 15:29:13 -07:00
IGTestStoryboardSupplementarySource.h Support supplementaryViews created from storyboard 2016-11-01 10:59:21 -07:00
IGTestStoryboardSupplementarySource.m Prevent negative spaces for items and supplementaries 2017-03-29 15:01:08 -07:00
IGTestStoryboardSupplementaryView.h Support supplementaryViews created from storyboard 2016-11-01 10:59:21 -07:00
IGTestStoryboardSupplementaryView.m Support supplementaryViews created from storyboard 2016-11-01 10:59:21 -07:00
IGTestStoryboardViewController.h Revert D4640425: [IGListKit] kill IGListCollectionView. GH issue #409 2017-03-06 16:15:31 -08:00
IGTestStoryboardViewController.m Support supplementaryViews created from storyboard 2016-11-01 10:59:21 -07:00
IGTestStringBindableCell.h Auto diffing section controller 2017-03-15 07:47:24 -07:00
IGTestStringBindableCell.m Auto diffing section controller 2017-03-15 07:47:24 -07:00
IGTestSupplementarySource.h Prevent negative spaces for items and supplementaries 2017-03-29 15:01:08 -07:00
IGTestSupplementarySource.m Prevent negative spaces for items and supplementaries 2017-03-29 15:01:08 -07:00