Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
Drop support for iOS 8 (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
jverkoey authored Mar 8, 2019
1 parent 52bf147 commit ecb7541
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .kokoro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ set -e
set -x

BAZEL_VERSION="0.20.0"
IOS_MINIMUM_OS="8.0"
IOS_MINIMUM_OS="9.0"
IOS_CPUS="i386,x86_64"

get_xcode_version_from_path() {
Expand Down
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ matrix:
env: SDK="iphonesimulator11.2" DESTINATION="name=iPhone 6s,OS=10.3.1"
- osx_image: xcode9.2
env: SDK="iphonesimulator11.2" DESTINATION="name=iPhone 6s,OS=9.3"
- osx_image: xcode9.2
env: SDK="iphonesimulator11.2" DESTINATION="name=iPhone 6,OS=8.4"
- osx_image: xcode8.3
env: SDK="iphonesimulator10.3" DESTINATION="name=iPhone 6,OS=8.1"
before_install:
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
- pod install --repo-update
Expand Down
2 changes: 1 addition & 1 deletion BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ ios_ui_test(
":UnitTestsSwiftLib"
],
test_host = "@build_bazel_rules_apple//apple/testing/default_host/ios",
minimum_os_version = "8.0",
minimum_os_version = "9.0",
timeout = "short",
visibility = ["//visibility:private"],
)
2 changes: 1 addition & 1 deletion MotionAnimator.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Pod::Spec.new do |s|
s.license = "Apache 2.0"
s.homepage = "https://github.com/material-motion/motion-animator-objc"
s.source = { :git => "https://github.com/material-motion/motion-animator-objc.git", :tag => "v" + s.version.to_s }
s.platform = :ios, "8.0"
s.platform = :ios, "9.0"
s.requires_arc = true

s.public_header_files = "src/*.h"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![Motion Animator Banner](img/motion-animator-banner.gif)

> An animator for iOS 8+ that combines the best aspects of modern UIView and CALayer animation APIs.
> An animator for iOS 9+ that combines the best aspects of modern UIView and CALayer animation APIs.
[![Build Status](https://travis-ci.org/material-motion/motion-animator-objc.svg?branch=develop)](https://travis-ci.org/material-motion/motion-animator-objc)
[![codecov](https://codecov.io/gh/material-motion/motion-animator-objc/branch/develop/graph/badge.svg)](https://codecov.io/gh/material-motion/motion-animator-objc)
Expand All @@ -16,7 +16,7 @@
<tr><td>🎉</td><td>Consistent model layer value expectations.</td></tr>
</table>

The following properties can be implicitly animated using the MotionAnimator on iOS 8 and up:
The following properties can be implicitly animated using the MotionAnimator on iOS 9 and up:

<table>
<tr><td>CALayer <tt>anchorPoint</tt></td></tr>
Expand Down Expand Up @@ -71,7 +71,7 @@ UIView.animate(withDuration: 1.0, animations: {
})

MotionAnimator.animate(withDuration: 1.0, animations: {
view.layer.cornerRadius = 10 // Works on iOS 8 and up
view.layer.cornerRadius = 10 // Works on iOS 9 and up
})
```

Expand Down Expand Up @@ -443,7 +443,7 @@ UIView.animate(withDuration: 0.8, animations: {
view.layer.borderWidth = 10
}, completion: nil)

// This works all the way back to iOS 8.
// This works back to iOS 9.
MotionAnimator.animate(withDuration: 0.8, animations: {
view.layer.borderWidth = 10
}, completion: nil)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8;
IPHONEOS_DEPLOYMENT_TARGET = 9;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -640,7 +640,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8;
IPHONEOS_DEPLOYMENT_TARGET = 9;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down

0 comments on commit ecb7541

Please sign in to comment.