Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
Material
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitriy Stepanets
Material
Commits
6b0bd134
Commit
6b0bd134
authored
Sep 15, 2017
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "moved Material 3 to iOS 10+"
This reverts commit
c8d3d142
.
parent
c8d3d142
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
3 deletions
+11
-3
Material.xcodeproj/project.pbxproj
+2
-2
Sources/Frameworks/Motion/Sources/Animator/MotionViewPropertyViewContext.swift
+1
-0
Sources/Frameworks/Motion/Sources/Extensions/Motion+CALayer.swift
+1
-0
Sources/Frameworks/Motion/Sources/MotionAnimation.swift
+1
-0
Sources/Frameworks/Motion/Sources/MotionCAAnimation.swift
+1
-0
Sources/Frameworks/Motion/Sources/MotionController.swift
+4
-1
Sources/Frameworks/Motion/Sources/MotionTransition.swift
+1
-0
No files found.
Material.xcodeproj/project.pbxproj
View file @
6b0bd134
...
...
@@ -1253,7 +1253,7 @@
GCC_WARN_UNINITIALIZED_AUTOS
=
YES_AGGRESSIVE
;
GCC_WARN_UNUSED_FUNCTION
=
YES
;
GCC_WARN_UNUSED_VARIABLE
=
YES
;
IPHONEOS_DEPLOYMENT_TARGET
=
10
.0
;
IPHONEOS_DEPLOYMENT_TARGET
=
8
.0
;
MACOSX_DEPLOYMENT_TARGET
=
10.9
;
MTL_ENABLE_DEBUG_INFO
=
YES
;
ONLY_ACTIVE_ARCH
=
YES
;
...
...
@@ -1307,7 +1307,7 @@
GCC_WARN_UNINITIALIZED_AUTOS
=
YES_AGGRESSIVE
;
GCC_WARN_UNUSED_FUNCTION
=
YES
;
GCC_WARN_UNUSED_VARIABLE
=
YES
;
IPHONEOS_DEPLOYMENT_TARGET
=
10
.0
;
IPHONEOS_DEPLOYMENT_TARGET
=
8
.0
;
MACOSX_DEPLOYMENT_TARGET
=
10.9
;
MTL_ENABLE_DEBUG_INFO
=
NO
;
PRODUCT_NAME
=
Material
;
...
...
Sources/Frameworks/Motion/Sources/Animator/MotionViewPropertyViewContext.swift
View file @
6b0bd134
...
...
@@ -28,6 +28,7 @@
import
UIKit
@available(iOS 10, tvOS 10, *)
internal
class
MotionViewPropertyViewContext
:
MotionAnimatorViewContext
{
/// A reference to the UIViewPropertyAnimator.
fileprivate
var
viewPropertyAnimator
:
UIViewPropertyAnimator
?
...
...
Sources/Frameworks/Motion/Sources/Extensions/Motion+CALayer.swift
View file @
6b0bd134
...
...
@@ -25,6 +25,7 @@
import
UIKit
@available(iOS 10, *)
extension
CALayer
:
CAAnimationDelegate
{}
internal
extension
CALayer
{
...
...
Sources/Frameworks/Motion/Sources/MotionAnimation.swift
View file @
6b0bd134
...
...
@@ -370,6 +370,7 @@ public extension MotionAnimation {
- Parameter damping: A CGFloat.
- Returns: A MotionAnimation.
*/
@available(iOS 9, *)
static
func
spring
(
stiffness
:
CGFloat
,
damping
:
CGFloat
)
->
MotionAnimation
{
return
MotionAnimation
{
$0
.
spring
=
(
stiffness
,
damping
)
...
...
Sources/Frameworks/Motion/Sources/MotionCAAnimation.swift
View file @
6b0bd134
...
...
@@ -81,6 +81,7 @@ fileprivate extension MotionCAAnimation {
}
}
@available(iOS 9.0, *)
internal
extension
MotionCAAnimation
{
/**
Converts a CABasicAnimation to a CASpringAnimation.
...
...
Sources/Frameworks/Motion/Sources/MotionController.swift
View file @
6b0bd134
...
...
@@ -500,7 +500,10 @@ fileprivate extension MotionController {
/// Prepares the animators.
func
prepareAnimators
()
{
animators
.
append
(
MotionTransitionAnimator
<
MotionCoreAnimationViewContext
>
())
animators
.
append
(
MotionTransitionAnimator
<
MotionViewPropertyViewContext
>
())
if
#available(iOS 10, tvOS 10, *)
{
animators
.
append
(
MotionTransitionAnimator
<
MotionViewPropertyViewContext
>
())
}
for
v
in
animators
{
v
.
context
=
context
...
...
Sources/Frameworks/Motion/Sources/MotionTransition.swift
View file @
6b0bd134
...
...
@@ -421,6 +421,7 @@ public extension MotionTransition {
- Parameter damping: A CGFloat.
- Returns: A MotionTransition.
*/
@available(iOS 9, *)
static
func
spring
(
stiffness
:
CGFloat
,
damping
:
CGFloat
)
->
MotionTransition
{
return
MotionTransition
{
$0
.
spring
=
(
stiffness
,
damping
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment