会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
玻色-爱因斯坦凝聚态
博客园
首页
新随笔
联系
订阅
管理
2017年3月1日
IOS willMoveToParentViewController和didMoveToParentViewController的使用
摘要: 在iOS 5.0及以后,iOS为UIViewController类添加了新的属性和方法: 1 2 3 4 5 6 @property(nonatomic,readonly) NSArray *childViewControllers - (void)addChildViewController:(U
阅读全文
posted @ 2017-03-01 17:29 玻色-爱因斯坦凝聚态
阅读(180)
评论(0)
推荐(0)
2017年2月15日
iOS(swift)设置圆角属性
摘要: 设置圆角 假设现在圆角视图非常多(比如在 UICollectionView 中),那么如何为视图高效的添加圆角呢?网上的教程大多没有说全,因为这个事要分两种情况考虑。为普通的 UIView 设置圆角,和为 UIImageView 设置圆角的原理截然不同。 有一种做法是这样的,这种写法试图实现 cor
阅读全文
posted @ 2017-02-15 19:32 玻色-爱因斯坦凝聚态
阅读(778)
评论(0)
推荐(0)
2017年2月14日
自定义UIButton
摘要: #import <UIKit/UIKit.h> #import "UIView+SDExtension.h" @interface CookButton : UIButton @end #import "CookButton.h" @implementation CookButton - (inst
阅读全文
posted @ 2017-02-14 22:01 玻色-爱因斯坦凝聚态
阅读(156)
评论(0)
推荐(0)
2017年2月10日
自定义progressHHUD
摘要: #import <UIKit/UIKit.h> @interface ProgressHUD : UIView + (void)show; + (void)dismiss; + (void)dismissWithDelay:(NSTimeInterval)delay; @end #import "P
阅读全文
posted @ 2017-02-10 22:15 玻色-爱因斯坦凝聚态
阅读(226)
评论(0)
推荐(0)
公告