From 1e7fa064abd50988cb4b91feb1465195277e64e8 Mon Sep 17 00:00:00 2001 From: Sherlock Date: Wed, 16 Nov 2016 15:09:15 -0800 Subject: [PATCH] Update links to new path Summary: - Fixed broken links in README.md and CHANGELOG.md - Also updated to use relative links - [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/CONTRIBUTING.md) Closes https://github.com/Instagram/IGListKit/pull/212 Differential Revision: D4192912 Pulled By: rnystrom fbshipit-source-id: 991e0637ce36772801f3c4ab6146980f2930973d --- CHANGELOG.md | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d1a49095..1dc97077 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,7 @@ This release closes the [2.0.0 milestone](https://github.com/Instagram/IGListKit - Added support for supplementaryViews created from nibs. [Rawlinxx](https://github.com/rawlinxx) [(#90)](https://github.com/Instagram/IGListKit/pull/90) - Added support for cells created from nibs. [Sven Bacia](https://github.com/svenbacia) [(#56)](https://github.com/Instagram/IGListKit/pull/56) -- Added an additional initializer for `IGListSingleSectionController` to be able to support single sections created from nibs. An example can be found [here](Example/IGListKitExamples/ViewControllers/SingleSectionViewController.swift). +- Added an additional initializer for `IGListSingleSectionController` to be able to support single sections created from nibs. An example can be found [here](Examples/Examples-iOS/IGListKitExamples/ViewControllers/SingleSectionViewController.swift). - Fixed `-[IGListAdapter reloadDataWithCompletion:]` not returning early when `collectionView` or `dataSource` is nil and `completion` is nil. [Ben Asher](https://github.com/benasher44) [(#51)](https://github.com/Instagram/IGListKit/pull/51) - Added `-isFirstSection` and `-isLastSection` APIs to `IGListSectionController` - Added support for cells created from storyboard. [Bofei Zhu](https://github.com/zhubofei) [(#92)](https://github.com/Instagram/IGListKit/pull/92) diff --git a/README.md b/README.md index d6da0e6a..1587d0e7 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ After installing `IGListKit`, creating a new list is really simple. Creating a new section controller is very simple. You just subclass `IGListSectionController` and conform to the `IGListSectionType` protocol. Once you conform to `IGListSectionType`, the compiler will make sure you implement all of the required methods. -Take a look at [LabelSectionController](https://github.com/Instagram/IGListKit/blob/master/Example/IGListKitExamples/SectionControllers/LabelSectionController.swift) for an example section controller that handles a `String` and configures a single cell with a `UILabel`. +Take a look at [LabelSectionController](Examples/Examples-iOS/IGListKitExamples/SectionControllers/LabelSectionController.swift) for an example section controller that handles a `String` and configures a single cell with a `UILabel`. ```swift class LabelSectionController: IGListSectionController, IGListSectionType { @@ -123,7 +123,7 @@ func emptyView(for listAdapter: IGListAdapter) -> UIView? { } ``` -You can return an array of _any_ type of data, as long as it conforms to `IGListDiffable`. We've included a [default implementation](https://github.com/Instagram/IGListKit/blob/master/Source/NSObject%2BIGListDiffable.m) for all objects, but adding your own implementation can unlock even better diffing. +You can return an array of _any_ type of data, as long as it conforms to `IGListDiffable`. We've included a [default implementation](Source/NSObject+IGListDiffable.m) for all objects, but adding your own implementation can unlock even better diffing. ## Diffing