mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-17 02:49:57 +00:00
21 lines
473 B
Objective-C
21 lines
473 B
Objective-C
//
|
|
// Created by Oleksii Pavlovskyi on 2/2/17.
|
|
// Copyright (c) 2017 Airbnb. All rights reserved.
|
|
//
|
|
|
|
#if !TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface NSValue (Compat)
|
|
|
|
+ (NSValue *)valueWithCGRect:(CGRect)rect;
|
|
+ (NSValue *)valueWithCGPoint:(CGPoint)point;
|
|
|
|
@property (nonatomic, readonly) CGRect CGRectValue;
|
|
@property(nonatomic, readonly) CGPoint CGPointValue;
|
|
@property (nonatomic, readonly) CGSize CGSizeValue;
|
|
|
|
@end
|
|
|
|
#endif
|