From 0e73f4ad5e2c6e4d885b34326cea1f6d90bc6e55 Mon Sep 17 00:00:00 2001 From: Michael Schneider Date: Fri, 17 Mar 2017 07:15:31 -0700 Subject: [PATCH] Fix warnings (#3194) --- .../CatDealsCollectionView/Sample/BlurbNode.m | 1 - .../LaunchImage.launchimage/Contents.json | 32 +----------------- .../Default-568h@2x.png | Bin 17520 -> 0 bytes .../CatDealsCollectionView/Sample/ItemNode.m | 6 ++-- .../Sample/LoadingNode.m | 2 -- .../Sample/ViewController.m | 1 - 6 files changed, 4 insertions(+), 38 deletions(-) delete mode 100644 examples/CatDealsCollectionView/Sample/Images.xcassets/LaunchImage.launchimage/Default-568h@2x.png 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 1547a98454a45fe958e45470a1e9594e3a8906fd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 17520 zcmeI3&u`;I6vw9vhb5>d4j{zA$_fDzj(<0aNm5GErIkpxYKyiNhuw)iPOK)jv7ILE zX$2=vNSqMjuzvyn01^l!&fGb11%VKUJ#d1togeN?GIZ5NXr+nN#&6zy-^_g8%(HXw zC;NNvt`}Y|AcWR;cUlJs-FSe|v%$?9wB^z7;a&RmT(ENzA@uwU$=@3K;>(v1dh1j7 z=r}%Zzh_$hpoDF|LrUX8Kzk!p+Z+ejIwi5tAzjz27ytPB+oIsw_2ONlEw_Uv>A5=> zAvwI*JF+fLt*TwzY!qr^lLi=&7z^V;-;2y~y_m)|>2=a96@|1*d|EGVB?Ah_?R}x? zheR++hG@x(E|jY!#ZdH$@}{85iYCdLq-dg|nsU`t3}NyqHVX8r7TS(^(7HVtj#~9% zFOCCKl18IZX{43>uq!FmYE_a|NmWJKLyXS77>`9Sx|Ic)#%Ynr3f&-feNRZ@;*LLz z>&0R+(Cjl=*C3b;&fF^pra5W1XJap&?_jWW=qTPkqX;HQmnx&9^MFVPB=U!$MYhlAQf@66Bj z|2*0AP^5)p(x97B7Zq7l^dnU^wW=wXMY(LsaxO^L6U1oyw(FcPiJ@0aSV{SoJJ@kVxmu}Iuwgikil?D-@`ccMLYI~~+|Tt%X8*WD zED5tP)Q%g`&3T^Nv~=sHh3t@gc)4}z=(}k_3UC;a_F@aa3oW;+{SC2935s!7CvQTNS)j=ZPiAOjjTV1**{`H_| zAunrS?3$F+{l5DjWFf+5*UNz+E2@mEy0~GKv8b12B32ERh~*YY# zOjVy2r2i=g^Zje}u-7GaLz*sY+VE7R?Mk)pnrX}5N1pbyWoPhmDV$dD#nM?z9v)0u zc4-N~X}MEs(n8yO!({!Blk(Xgrv1yROh1y6{GUkkZYVurOY?3hoh#q>+_*t+dFez! zb54~!;beEB3SG^ek1L%$16wZRDjn z*F>6SEBEA_md>n|K9|#<1k&s`!9rD?-Fcqm#e7XqGAfA02LV9XCdb9*1H2p;0Kzso zE;b+F<+uP4w#jj^`2a7+1%R+kj*HC)csVWrgl%$MY(ButaRDG~ljCCZ0bY&^0AZUP z7n=|8a$Eoi+vK>|e1MnZ0zlX%$HnFYyc`z*!ZtZBHXq>SxBw8g$#Jpy058V{fUr%D zi_HgkIW7Q%ZE{>}KETUy0U&IX<6`pxUXBX@VVfKmn-B1ETmT5$HaRXfAK>M<01&pxak2RTFUJLduuUee!u%~;;?Y-YNAw-q_19i`o4$W5 zSUU%8gf3o1=)uPb{q;Bf{sp0-jL@(55i&nV=tcjtdq3Pp=;jBzt*xW+PrrSqtWo9n z4mH~~(86W|0m0Z!mC3H;oB2JPKLYv26X|1**9Ztu0edguN}{{Z>Z BpTqzF 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 () {