diff --git a/examples/CatDealsCollectionView/Sample/BlurbNode.m b/examples/CatDealsCollectionView/Sample/BlurbNode.m index fc4fed6224..7dbe86a8b8 100644 --- a/examples/CatDealsCollectionView/Sample/BlurbNode.m +++ b/examples/CatDealsCollectionView/Sample/BlurbNode.m @@ -23,7 +23,6 @@ #import #import -static CGFloat kFixedHeight = 75.0f; static CGFloat kTextPadding = 10.0f; @interface BlurbNode () diff --git a/examples/CatDealsCollectionView/Sample/Images.xcassets/LaunchImage.launchimage/Contents.json b/examples/CatDealsCollectionView/Sample/Images.xcassets/LaunchImage.launchimage/Contents.json index f0fce54771..c5fda8e395 100644 --- a/examples/CatDealsCollectionView/Sample/Images.xcassets/LaunchImage.launchimage/Contents.json +++ b/examples/CatDealsCollectionView/Sample/Images.xcassets/LaunchImage.launchimage/Contents.json @@ -1,36 +1,6 @@ { "images" : [ - { - "orientation" : "portrait", - "idiom" : "iphone", - "filename" : "Default-568h@2x.png", - "minimum-system-version" : "7.0", - "subtype" : "retina4", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "scale" : "1x", - "orientation" : "portrait" - }, - { - "idiom" : "iphone", - "scale" : "2x", - "orientation" : "portrait" - }, - { - "orientation" : "portrait", - "idiom" : "iphone", - "filename" : "Default-568h@2x.png", - "subtype" : "retina4", - "scale" : "2x" - }, - { - "orientation" : "portrait", - "idiom" : "iphone", - "minimum-system-version" : "7.0", - "scale" : "2x" - } + ], "info" : { "version" : 1, diff --git a/examples/CatDealsCollectionView/Sample/Images.xcassets/LaunchImage.launchimage/Default-568h@2x.png b/examples/CatDealsCollectionView/Sample/Images.xcassets/LaunchImage.launchimage/Default-568h@2x.png deleted file mode 100644 index 1547a98454..0000000000 Binary files a/examples/CatDealsCollectionView/Sample/Images.xcassets/LaunchImage.launchimage/Default-568h@2x.png and /dev/null differ diff --git a/examples/CatDealsCollectionView/Sample/ItemNode.m b/examples/CatDealsCollectionView/Sample/ItemNode.m index 4ee001431d..79d8c2ff21 100644 --- a/examples/CatDealsCollectionView/Sample/ItemNode.m +++ b/examples/CatDealsCollectionView/Sample/ItemNode.m @@ -223,11 +223,11 @@ const CGFloat kSoldOutGBHeight = 50.0; - (void)displayWillStart { [super displayWillStart]; - [self fetchData]; + [self didEnterPreloadState]; } -- (void)fetchData { - [super fetchData]; +- (void)didEnterPreloadState { + [super didEnterPreloadState]; if (self.viewModel) { [self loadImage]; } diff --git a/examples/CatDealsCollectionView/Sample/LoadingNode.m b/examples/CatDealsCollectionView/Sample/LoadingNode.m index f37dc8cc80..4fa29d6e3d 100644 --- a/examples/CatDealsCollectionView/Sample/LoadingNode.m +++ b/examples/CatDealsCollectionView/Sample/LoadingNode.m @@ -24,8 +24,6 @@ #import #import -static CGFloat kFixedHeight = 200.0f; - @interface LoadingNode () { ASDisplayNode *_loadingSpinner; diff --git a/examples/CatDealsCollectionView/Sample/ViewController.m b/examples/CatDealsCollectionView/Sample/ViewController.m index c411008954..6d693f690c 100644 --- a/examples/CatDealsCollectionView/Sample/ViewController.m +++ b/examples/CatDealsCollectionView/Sample/ViewController.m @@ -27,7 +27,6 @@ static const BOOL kSimulateWebResponse = YES; static const NSInteger kBatchSize = 20; static const CGFloat kHorizontalSectionPadding = 10.0f; -static const CGFloat kVerticalSectionPadding = 20.0f; @interface ViewController () {