mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-11 08:50:24 +00:00
Fix warnings (#3194)
This commit is contained in:
parent
39a2d7eebb
commit
0e73f4ad5e
@ -23,7 +23,6 @@
|
|||||||
#import <AsyncDisplayKit/ASInsetLayoutSpec.h>
|
#import <AsyncDisplayKit/ASInsetLayoutSpec.h>
|
||||||
#import <AsyncDisplayKit/ASCenterLayoutSpec.h>
|
#import <AsyncDisplayKit/ASCenterLayoutSpec.h>
|
||||||
|
|
||||||
static CGFloat kFixedHeight = 75.0f;
|
|
||||||
static CGFloat kTextPadding = 10.0f;
|
static CGFloat kTextPadding = 10.0f;
|
||||||
|
|
||||||
@interface BlurbNode () <ASTextNodeDelegate>
|
@interface BlurbNode () <ASTextNodeDelegate>
|
||||||
|
|||||||
@ -1,36 +1,6 @@
|
|||||||
{
|
{
|
||||||
"images" : [
|
"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" : {
|
"info" : {
|
||||||
"version" : 1,
|
"version" : 1,
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 17 KiB |
@ -223,11 +223,11 @@ const CGFloat kSoldOutGBHeight = 50.0;
|
|||||||
|
|
||||||
- (void)displayWillStart {
|
- (void)displayWillStart {
|
||||||
[super displayWillStart];
|
[super displayWillStart];
|
||||||
[self fetchData];
|
[self didEnterPreloadState];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)fetchData {
|
- (void)didEnterPreloadState {
|
||||||
[super fetchData];
|
[super didEnterPreloadState];
|
||||||
if (self.viewModel) {
|
if (self.viewModel) {
|
||||||
[self loadImage];
|
[self loadImage];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -24,8 +24,6 @@
|
|||||||
#import <AsyncDisplayKit/ASInsetLayoutSpec.h>
|
#import <AsyncDisplayKit/ASInsetLayoutSpec.h>
|
||||||
#import <AsyncDisplayKit/ASCenterLayoutSpec.h>
|
#import <AsyncDisplayKit/ASCenterLayoutSpec.h>
|
||||||
|
|
||||||
static CGFloat kFixedHeight = 200.0f;
|
|
||||||
|
|
||||||
@interface LoadingNode ()
|
@interface LoadingNode ()
|
||||||
{
|
{
|
||||||
ASDisplayNode *_loadingSpinner;
|
ASDisplayNode *_loadingSpinner;
|
||||||
|
|||||||
@ -27,7 +27,6 @@ static const BOOL kSimulateWebResponse = YES;
|
|||||||
static const NSInteger kBatchSize = 20;
|
static const NSInteger kBatchSize = 20;
|
||||||
|
|
||||||
static const CGFloat kHorizontalSectionPadding = 10.0f;
|
static const CGFloat kHorizontalSectionPadding = 10.0f;
|
||||||
static const CGFloat kVerticalSectionPadding = 20.0f;
|
|
||||||
|
|
||||||
@interface ViewController () <ASCollectionDataSource, ASCollectionDelegate, ASCollectionDelegateFlowLayout>
|
@interface ViewController () <ASCollectionDataSource, ASCollectionDelegate, ASCollectionDelegateFlowLayout>
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user