CABasicAnimation Demonstration
//self.ViewTest.backgroundColor = [UIColor redColor]; // Trigger combined animation by calling [self startAnimation2]; // To create a continuous blinking effect use [self opacityForever_Animation:0.3]; // For animation with a specific number of blinks use [self opacityTimes_Animation:10 durTimes:0.3]; // To draw a curved line path use [self drawACurvedLine]; // For path animation, apply [self animateCicleAlongPath]; // Enable the desired comments accordingly.
CABasicAnimationDemo.zip
预估大小:22个文件
CABasicAnimationDemo
文件夹
.DS_Store
6KB
CABasicAnimationDemoTests
文件夹
en.lproj
文件夹
InfoPlist.strings
45B
CABasicAnimationDemoTests-Info.plist
690B
CABasicAnimationDemoTests.m
682B
CABasicAnimationDemo
文件夹
CoreAnimationEffect.h
3KB
ViewController.m
9KB
44.53KB
文件大小:
评论区