Skip to content

Commit 329c4e8

Browse files
adrummickeyreiss
authored andcommitted
Added tvOS support
1 parent 59cff03 commit 329c4e8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

PureLayout.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Pod::Spec.new do |s|
66
s.author = 'Tyler Fox'
77
s.ios.deployment_target = '6.0'
88
s.osx.deployment_target = '10.7'
9+
s.tvos.deployment_target = '9.0'
910
s.source = { :git => 'https://github.com/PureLayout/PureLayout.git', :tag => 'v3.0.1' }
1011
s.source_files = 'PureLayout/PureLayout'
1112
s.requires_arc = true

PureLayout/PureLayout/PureLayoutDefines.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
#define __NSArray_of(type) __PL_GENERICS(NSArray, type)
6060

6161
// Define generic AL-prefixed macros for the types/constants/etc that have slight naming variations across iOS and OS X, which allows the same code to be platform-independent.
62-
#if TARGET_OS_IPHONE
62+
#if TARGET_OS_IPHONE || TARGET_OS_TV
6363
# import <UIKit/UIKit.h>
6464
# define ALView UIView
6565
# define ALEdgeInsets UIEdgeInsets

0 commit comments

Comments
 (0)