mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-17 11:00:07 +00:00
39 lines
703 B
Objective-C
39 lines
703 B
Objective-C
//
|
|
// LOTPlatformCompat.h
|
|
// Lottie
|
|
//
|
|
// Created by Oleksii Pavlovskyi on 2/2/17.
|
|
// Copyright (c) 2017 Airbnb. All rights reserved.
|
|
//
|
|
|
|
#ifndef LOTPlatformCompat_h
|
|
#define LOTPlatformCompat_h
|
|
|
|
#import "TargetConditionals.h"
|
|
|
|
#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#else
|
|
|
|
#import <AppKit/AppKit.h>
|
|
#import "UIColor.h"
|
|
#import "UIBezierPath.h"
|
|
#import "CADisplayLink.h"
|
|
#import "CALayer+Compat.h"
|
|
#import "NSValue+Compat.h"
|
|
|
|
NS_INLINE NSString *NSStringFromCGRect(CGRect rect) {
|
|
return NSStringFromRect(rect);
|
|
}
|
|
|
|
NS_INLINE NSString *NSStringFromCGPoint(CGPoint point) {
|
|
return NSStringFromPoint(point);
|
|
}
|
|
|
|
typedef NSEdgeInsets UIEdgeInsets;
|
|
|
|
#endif
|
|
#endif
|