mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-24 09:48:21 +00:00
Summary: Replaced the two methods for generating a reusable identifier with an inline C function (as per #40) which has 3 parameters: `viewClass` (unchanged), `nibName` (for when #1 is added), and `kind`. The string is generated following the same pattern as before. A few things: - The current test only tests one of the options. May want to add more tests for each. - Not sure if you guys prefer `NS_INLINE` vs `static inline`. - Not sure if we want to add assertions for empty strings for nibName/kind parameters. - [x] All tests pass. Demo project builds and runs. - [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/CONTRIBUTING.md) Closes https://github.com/Instagram/IGListKit/pull/49 Differential Revision: D4005549 Pulled By: jessesquires fbshipit-source-id: e1683ebe8882d1a8de934c8166f67d3508cffba9 |
||
|---|---|---|
| .. | ||
| Internal | ||
| IGListAdapter.h | ||
| IGListAdapter.m | ||
| IGListAdapterDataSource.h | ||
| IGListAdapterDelegate.h | ||
| IGListAdapterUpdater.h | ||
| IGListAdapterUpdater.m | ||
| IGListAdapterUpdaterDelegate.h | ||
| IGListAssert.h | ||
| IGListBatchUpdateData.h | ||
| IGListBatchUpdateData.mm | ||
| IGListCollectionContext.h | ||
| IGListCollectionView.h | ||
| IGListCollectionView.m | ||
| IGListDiff.h | ||
| IGListDiff.mm | ||
| IGListDiffable.h | ||
| IGListDisplayDelegate.h | ||
| IGListExperiments.h | ||
| IGListIndexPathResult.h | ||
| IGListIndexPathResult.m | ||
| IGListIndexSetResult.h | ||
| IGListIndexSetResult.m | ||
| IGListKit.h | ||
| IGListMacros.h | ||
| IGListMoveIndex.h | ||
| IGListMoveIndex.m | ||
| IGListMoveIndexPath.h | ||
| IGListMoveIndexPath.m | ||
| IGListReloadDataUpdater.h | ||
| IGListReloadDataUpdater.m | ||
| IGListScrollDelegate.h | ||
| IGListSectionController.h | ||
| IGListSectionController.m | ||
| IGListSectionType.h | ||
| IGListSingleSectionController.h | ||
| IGListSingleSectionController.m | ||
| IGListStackedSectionController.h | ||
| IGListStackedSectionController.m | ||
| IGListSupplementaryViewSource.h | ||
| IGListUpdatingDelegate.h | ||
| IGListWorkingRangeDelegate.h | ||
| Info.plist | ||
| NSObject+IGListDiffable.h | ||
| NSObject+IGListDiffable.m | ||