【代码笔记】iOS-旋转的风扇
2016-07-07 09:11
435 查看
一,效果图。
二,工程图。
三,代码。
AppDelegate.m
二,工程图。
三,代码。
AppDelegate.m
#import "AppDelegate.h" //加入头文件 #import "RoundDiskViewController.h" @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; // Override point for customization after application launch. RoundDiskViewController *roundViewController = [[RoundDiskViewController alloc] init]; [self.window addSubview:roundViewController.view]; self.window.backgroundColor = [UIColor whiteColor]; [self.window makeKeyAndVisible]; return YES; }
相关文章推荐
- 李洪强iOS开发之让您的Xcode键字如飞
- 学习笔记之内存管理
- ScrollView + 自定义cell 组合(实现复用)
- 学习笔记之KVC,KVO要点总结
- 一张图让你读懂iOS多线程
- 判断字符串中是否含有表情iOS
- 针对苹果最新审核要求为应用兼容IPv6
- iOS中保证线程安全的几种方式与性能对比
- iOS中保证线程安全的几种方式与性能对比
- iOS KVC/KVO
- 苹果发布 iOS 9.3.3 第五个开发者测试版和公测版
- Coding-iOS 的根视图分析
- 李洪强iOS开发之initWithFrame,initWithCoder和aweakFormNib
- iOS10苹果竞价广告美国区iPhone展示效果抢先看
- 【原创】自定义组件仿IOS的SegmentView
- 苹果IOS开发者账号总结
- RSA 加密与Base64 +号变空格的问题
- iOS时钟实现
- iOS核心动画(三个动画类的使用)
- 李洪强iOS开发之断点续传1