Skip to content

Commit

Permalink
target OS X 10.9
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnCoates committed Oct 27, 2015
1 parent 230d93d commit bea4d9c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Aerial.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MACOSX_DEPLOYMENT_TARGET = 10.9;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
Expand Down Expand Up @@ -371,7 +371,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MACOSX_DEPLOYMENT_TARGET = 10.9;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
};
Expand Down
4 changes: 3 additions & 1 deletion Aerial/AerialView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,9 @@ class ManifestLoader {
playerView.autoresizingMask = [.ViewHeightSizable, .ViewWidthSizable]
playerView.controlsStyle = .None
playerView.player = player;
playerView.videoGravity = AVLayerVideoGravityResizeAspectFill;
if #available(OSX 10.10, *) {
playerView.videoGravity = AVLayerVideoGravityResizeAspectFill
};
self.addSubview(playerView);
}
func setup() {
Expand Down
4 changes: 3 additions & 1 deletion Aerial/PreferencesWindowController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ class City {

playerView.player = player;
playerView.controlsStyle = .None;
playerView.videoGravity = AVLayerVideoGravityResizeAspectFill;
if #available(OSX 10.10, *) {
playerView.videoGravity = AVLayerVideoGravityResizeAspectFill
};
defaults.synchronize();

if (defaults.boolForKey("differentDisplays")) {
Expand Down

0 comments on commit bea4d9c

Please sign in to comment.