                     a.append(zPosition)
                 case .width(_), .height(_), .size(_, _):
                     a.append(Motion.size(CGSize(width: w, height: h)))
+                case let .depth(offset, opacity, radius):
+                    a.append(Motion.shadow(offset: offset))
+                    a.append(Motion.shadow(opacity: opacity))
+                    a.append(Motion.shadow(radius: radius))
                 default:break
                 }
             }

        animation.toValue = NSValue(cgSize: size)
        return animation
    }
}

    case width(CGFloat)
    case height(CGFloat)
    case size(width: CGFloat, height: CGFloat)
    case depth(offset: CGSize, opacity: Float, radius: CGFloat)
}

@available(iOS 10, *)
