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 |
||
|---|---|---|
| .. | ||
| IGListAdapterInternal.h | ||
| IGListAdapterProxy.h | ||
| IGListAdapterProxy.m | ||
| IGListAdapterUpdaterInternal.h | ||
| IGListDisplayHandler.h | ||
| IGListDisplayHandler.m | ||
| IGListIndexPathResultInternal.h | ||
| IGListIndexSetResultInternal.h | ||
| IGListMoveIndexInternal.h | ||
| IGListMoveIndexPathInternal.h | ||
| IGListSectionControllerInternal.h | ||
| IGListSectionMap.h | ||
| IGListSectionMap.m | ||
| IGListStackedSectionControllerInternal.h | ||
| IGListWorkingRangeHandler.h | ||
| IGListWorkingRangeHandler.mm | ||
| NSIndexSet+PrettyDescription.h | ||
| NSIndexSet+PrettyDescription.m | ||
| UICollectionView+IGListBatchUpdateData.h | ||
| UICollectionView+IGListBatchUpdateData.m | ||