文件名称:Walkthrough:仅使用CoreAnimation像演练一样实现IFTTT
文件大小:33KB
文件格式:ZIP
更新时间:2024-06-15 05:18:39
Swift
紧凑动画 紧凑的语法,使CoreAnimation更可写 你写 let fadeIn = B. fade ( by : 1 ). begin ( 0 ). duration ( 1 ) let scale = B. scale ( from : 0 , to : 1 ). duration ( 1 ) let appear = G. combine (fadeIn, scale) let move = B. move ( by : CGPointMake (screenSize. width + 50 , 0 )). duration ( 1 ). begin ( 1 ) let disappear = S. scale ( to : 0 ). begin ( 5 ). duration ( 1 ) let timeline = G. combine (appear,move,disap
【文件预览】:
Walkthrough-master
----Walkthrough.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(19KB)
--------xcuserdata()
----Walkthrough Tests()
--------Walkthrough_Tests.swift(2KB)
--------Info.plist(733B)
----Walkthrough()
--------Sources()
--------ViewController.swift(6KB)
--------Info.plist(1KB)
--------Base.lproj()
--------AppDelegate.swift(2KB)
--------Assets.xcassets()
----README.md(3KB)
----Walkthrough.playground()
--------Sources()
--------Contents.swift(3KB)
--------playground.xcworkspace()
--------contents.xcplayground(225B)
--------timeline.xctimeline(3KB)