mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-09 07:41:40 +00:00
Fix warnings (#3194)
This commit is contained in:
parent
39a2d7eebb
commit
0e73f4ad5e
@ -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>
|
||||
|
||||
@ -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,
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 17 KiB |
@ -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];
|
||||
}
|
||||
|
||||
@ -24,8 +24,6 @@
|
||||
#import <AsyncDisplayKit/ASInsetLayoutSpec.h>
|
||||
#import <AsyncDisplayKit/ASCenterLayoutSpec.h>
|
||||
|
||||
static CGFloat kFixedHeight = 200.0f;
|
||||
|
||||
@interface LoadingNode ()
|
||||
{
|
||||
ASDisplayNode *_loadingSpinner;
|
||||
|
||||
@ -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>
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user