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
c8d3d142
Commit
c8d3d142
authored
Sep 15, 2017
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved Material 3 to iOS 10+
parent
15d33bde
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
3 additions
and
11 deletions
+3
-11
Material.xcodeproj/project.pbxproj
+2
-2
Sources/Frameworks/Motion/Sources/Animator/MotionViewPropertyViewContext.swift
+0
-1
Sources/Frameworks/Motion/Sources/Extensions/Motion+CALayer.swift
+0
-1
Sources/Frameworks/Motion/Sources/MotionAnimation.swift
+0
-1
Sources/Frameworks/Motion/Sources/MotionCAAnimation.swift
+0
-1
Sources/Frameworks/Motion/Sources/MotionController.swift
+1
-4
Sources/Frameworks/Motion/Sources/MotionTransition.swift
+0
-1
No files found.
Material.xcodeproj/project.pbxproj
View file @
c8d3d142
...
@@ -1253,7 +1253,7 @@
...
@@ -1253,7 +1253,7 @@
GCC_WARN_UNINITIALIZED_AUTOS
=
YES_AGGRESSIVE
;
GCC_WARN_UNINITIALIZED_AUTOS
=
YES_AGGRESSIVE
;
GCC_WARN_UNUSED_FUNCTION
=
YES
;
GCC_WARN_UNUSED_FUNCTION
=
YES
;
GCC_WARN_UNUSED_VARIABLE
=
YES
;
GCC_WARN_UNUSED_VARIABLE
=
YES
;
IPHONEOS_DEPLOYMENT_TARGET
=
8
.0
;
IPHONEOS_DEPLOYMENT_TARGET
=
10
.0
;
MACOSX_DEPLOYMENT_TARGET
=
10.9
;
MACOSX_DEPLOYMENT_TARGET
=
10.9
;
MTL_ENABLE_DEBUG_INFO
=
YES
;
MTL_ENABLE_DEBUG_INFO
=
YES
;
ONLY_ACTIVE_ARCH
=
YES
;
ONLY_ACTIVE_ARCH
=
YES
;
...
@@ -1307,7 +1307,7 @@
...
@@ -1307,7 +1307,7 @@
GCC_WARN_UNINITIALIZED_AUTOS
=
YES_AGGRESSIVE
;
GCC_WARN_UNINITIALIZED_AUTOS
=
YES_AGGRESSIVE
;
GCC_WARN_UNUSED_FUNCTION
=
YES
;
GCC_WARN_UNUSED_FUNCTION
=
YES
;
GCC_WARN_UNUSED_VARIABLE
=
YES
;
GCC_WARN_UNUSED_VARIABLE
=
YES
;
IPHONEOS_DEPLOYMENT_TARGET
=
8
.0
;
IPHONEOS_DEPLOYMENT_TARGET
=
10
.0
;
MACOSX_DEPLOYMENT_TARGET
=
10.9
;
MACOSX_DEPLOYMENT_TARGET
=
10.9
;
MTL_ENABLE_DEBUG_INFO
=
NO
;
MTL_ENABLE_DEBUG_INFO
=
NO
;
PRODUCT_NAME
=
Material
;
PRODUCT_NAME
=
Material
;
...
...
Sources/Frameworks/Motion/Sources/Animator/MotionViewPropertyViewContext.swift
View file @
c8d3d142
...
@@ -28,7 +28,6 @@
...
@@ -28,7 +28,6 @@
import
UIKit
import
UIKit
@available(iOS 10, tvOS 10, *)
internal
class
MotionViewPropertyViewContext
:
MotionAnimatorViewContext
{
internal
class
MotionViewPropertyViewContext
:
MotionAnimatorViewContext
{
/// A reference to the UIViewPropertyAnimator.
/// A reference to the UIViewPropertyAnimator.
fileprivate
var
viewPropertyAnimator
:
UIViewPropertyAnimator
?
fileprivate
var
viewPropertyAnimator
:
UIViewPropertyAnimator
?
...
...
Sources/Frameworks/Motion/Sources/Extensions/Motion+CALayer.swift
View file @
c8d3d142
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
import
UIKit
import
UIKit
@available(iOS 10, *)
extension
CALayer
:
CAAnimationDelegate
{}
extension
CALayer
:
CAAnimationDelegate
{}
internal
extension
CALayer
{
internal
extension
CALayer
{
...
...
Sources/Frameworks/Motion/Sources/MotionAnimation.swift
View file @
c8d3d142
...
@@ -370,7 +370,6 @@ public extension MotionAnimation {
...
@@ -370,7 +370,6 @@ public extension MotionAnimation {
- Parameter damping: A CGFloat.
- Parameter damping: A CGFloat.
- Returns: A MotionAnimation.
- Returns: A MotionAnimation.
*/
*/
@available(iOS 9, *)
static
func
spring
(
stiffness
:
CGFloat
,
damping
:
CGFloat
)
->
MotionAnimation
{
static
func
spring
(
stiffness
:
CGFloat
,
damping
:
CGFloat
)
->
MotionAnimation
{
return
MotionAnimation
{
return
MotionAnimation
{
$0
.
spring
=
(
stiffness
,
damping
)
$0
.
spring
=
(
stiffness
,
damping
)
...
...
Sources/Frameworks/Motion/Sources/MotionCAAnimation.swift
View file @
c8d3d142
...
@@ -81,7 +81,6 @@ fileprivate extension MotionCAAnimation {
...
@@ -81,7 +81,6 @@ fileprivate extension MotionCAAnimation {
}
}
}
}
@available(iOS 9.0, *)
internal
extension
MotionCAAnimation
{
internal
extension
MotionCAAnimation
{
/**
/**
Converts a CABasicAnimation to a CASpringAnimation.
Converts a CABasicAnimation to a CASpringAnimation.
...
...
Sources/Frameworks/Motion/Sources/MotionController.swift
View file @
c8d3d142
...
@@ -500,10 +500,7 @@ fileprivate extension MotionController {
...
@@ -500,10 +500,7 @@ fileprivate extension MotionController {
/// Prepares the animators.
/// Prepares the animators.
func
prepareAnimators
()
{
func
prepareAnimators
()
{
animators
.
append
(
MotionTransitionAnimator
<
MotionCoreAnimationViewContext
>
())
animators
.
append
(
MotionTransitionAnimator
<
MotionCoreAnimationViewContext
>
())
animators
.
append
(
MotionTransitionAnimator
<
MotionViewPropertyViewContext
>
())
if
#available(iOS 10, tvOS 10, *)
{
animators
.
append
(
MotionTransitionAnimator
<
MotionViewPropertyViewContext
>
())
}
for
v
in
animators
{
for
v
in
animators
{
v
.
context
=
context
v
.
context
=
context
...
...
Sources/Frameworks/Motion/Sources/MotionTransition.swift
View file @
c8d3d142
...
@@ -421,7 +421,6 @@ public extension MotionTransition {
...
@@ -421,7 +421,6 @@ public extension MotionTransition {
- Parameter damping: A CGFloat.
- Parameter damping: A CGFloat.
- Returns: A MotionTransition.
- Returns: A MotionTransition.
*/
*/
@available(iOS 9, *)
static
func
spring
(
stiffness
:
CGFloat
,
damping
:
CGFloat
)
->
MotionTransition
{
static
func
spring
(
stiffness
:
CGFloat
,
damping
:
CGFloat
)
->
MotionTransition
{
return
MotionTransition
{
return
MotionTransition
{
$0
.
spring
=
(
stiffness
,
damping
)
$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