mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-04 11:50:38 +00:00
* Audit property attributes for core classes * Update style guide * Go crazy * Update changelog
31 lines
1009 B
Objective-C
31 lines
1009 B
Objective-C
//
|
|
// _ASCollectionGalleryLayoutInfo.h
|
|
// Texture
|
|
//
|
|
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@interface _ASCollectionGalleryLayoutInfo : NSObject
|
|
|
|
// Read-only properties
|
|
@property (nonatomic, readonly) CGSize itemSize;
|
|
@property (nonatomic, readonly) CGFloat minimumLineSpacing;
|
|
@property (nonatomic, readonly) CGFloat minimumInteritemSpacing;
|
|
@property (nonatomic, readonly) UIEdgeInsets sectionInset;
|
|
|
|
- (instancetype)initWithItemSize:(CGSize)itemSize
|
|
minimumLineSpacing:(CGFloat)minimumLineSpacing
|
|
minimumInteritemSpacing:(CGFloat)minimumInteritemSpacing
|
|
sectionInset:(UIEdgeInsets)sectionInset NS_DESIGNATED_INITIALIZER;
|
|
|
|
- (instancetype)init NS_UNAVAILABLE;
|
|
|
|
@end
|