Fix warnings (#3194)

This commit is contained in:
Michael Schneider 2017-03-17 07:15:31 -07:00 committed by GitHub
parent 39a2d7eebb
commit 0e73f4ad5e
6 changed files with 4 additions and 38 deletions

View File

@ -23,7 +23,6 @@
#import <AsyncDisplayKit/ASInsetLayoutSpec.h>
#import <AsyncDisplayKit/ASCenterLayoutSpec.h>
static CGFloat kFixedHeight = 75.0f;
static CGFloat kTextPadding = 10.0f;
@interface BlurbNode () <ASTextNodeDelegate>

View File

@ -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,

View File

@ -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];
}

View File

@ -24,8 +24,6 @@
#import <AsyncDisplayKit/ASInsetLayoutSpec.h>
#import <AsyncDisplayKit/ASCenterLayoutSpec.h>
static CGFloat kFixedHeight = 200.0f;
@interface LoadingNode ()
{
ASDisplayNode *_loadingSpinner;

View File

@ -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 () <ASCollectionDataSource, ASCollectionDelegate, ASCollectionDelegateFlowLayout>
{