文件名称:GravityBall:实现仿真重力效果
文件大小:24KB
文件格式:ZIP
更新时间:2024-06-05 09:56:35
Objective-C
GravityBall 实现仿真重力效果 1 - HYGyroTool 负责获取重力坐标 x/y/z轴 It is responsible for obtaining the gravity coordinate x/y/z axis. 2 - HYAnimationView 动画展示View It is responsible for showing the animation effect 代码 // 1 - (void)viewDidLoad { [super viewDidLoad]; // Create 动画展示View [self.view addSubview:({ HYAnimationView *subView = [[HYAnimationView alloc] init]; subView.frame = CGR
【文件预览】:
GravityBall-master
----HYTestAUITests()
--------Info.plist(680B)
--------HYTestAUITests.m(1KB)
----HYTestA.xcodeproj()
--------project.xcworkspace()
--------xcuserdata()
--------project.pbxproj(23KB)
----HYTestA()
--------HYTestA.xcdatamodeld()
--------ViewController.m(3KB)
--------Info.plist(1KB)
--------main.m(342B)
--------HYPhysicsAnimation()
--------Base.lproj()
--------ViewController.h(223B)
--------AppDelegate.h(411B)
--------Assets.xcassets()
--------AppDelegate.m(4KB)
----HYTestATests()
--------Info.plist(680B)
--------HYTestATests.m(907B)
----README.md(1KB)