会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
xiaoxiaoxigua
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
20
下一页
2016年5月16日
runtime 实现方法交换 viewwillappear方法
摘要: 1、新建分类 #import "UIViewController+swizzling.h"#import <objc/runtime.h>@implementation UIViewController (swizzling)//load方法会在类第一次加载的时候被调用//调用的时间比较靠前,适合在
阅读全文
posted @ 2016-05-16 14:50 xiaoxiaoxigua
阅读(1060)
评论(0)
推荐(0)
2016年5月11日
各种语言的gitignore文件
摘要: https://github.com/github/gitignore
阅读全文
posted @ 2016-05-11 11:30 xiaoxiaoxigua
阅读(290)
评论(0)
推荐(0)
2016年1月27日
雷达效果
摘要: @interface ViewController (){ CALayer *_layer; CAAnimationGroup *_animaTionGroup; CADisplayLink *_disPlayLink;}@end@implementation ViewController- ...
阅读全文
posted @ 2016-01-27 11:54 xiaoxiaoxigua
阅读(173)
评论(0)
推荐(0)
2015年12月14日
微博个人中心效果
摘要: //微博个人中心- (void)configTableView{//image 高度375; testTableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, kScreenWith, kScreenHeight)]; tes...
阅读全文
posted @ 2015-12-14 17:21 xiaoxiaoxigua
阅读(245)
评论(0)
推荐(0)
微博弹性按钮
摘要: //微博弹性动画- (void)moveInAnimation{ UIView *centerV = [[UIView alloc] initWithFrame:CGRectMake(0, 200, 300, 100)]; [self.view addSubview:centerV]; ...
阅读全文
posted @ 2015-12-14 17:19 xiaoxiaoxigua
阅读(164)
评论(0)
推荐(0)
2015年10月12日
ios9 3dtouch 博客
摘要: http://my.oschina.net/u/2340880/blog/511509#OSC_h3_3
阅读全文
posted @ 2015-10-12 17:54 xiaoxiaoxigua
阅读(134)
评论(0)
推荐(0)
2015年9月23日
去掉导航栏阴影
摘要: [[UINavigationBar appearance] setTintColor:[UIColor colorWithWhite:0.0 alpha:0.0f]];//去掉导航栏 的阴影线self.navigationController.navigationBar.clipsToBounds ...
阅读全文
posted @ 2015-09-23 16:57 xiaoxiaoxigua
阅读(383)
评论(0)
推荐(0)
模态全屏模式,实现半透明效果
摘要: self.view.window.rootViewController.modalPresentationStyle = UIModalPresentationCurrentContext; //半透明 BiaoQianViewController *biaoQianVC = [[BiaoQi...
阅读全文
posted @ 2015-09-23 13:43 xiaoxiaoxigua
阅读(295)
评论(0)
推荐(0)
剪切图片
摘要: http://blog.sina.com.cn/s/blog_6fd90b5b01018yng.html
阅读全文
posted @ 2015-09-23 13:41 xiaoxiaoxigua
阅读(135)
评论(0)
推荐(0)
2015年9月18日
修改push动画的方向
摘要: CATransition *animation = [CATransition animation]; animation.duration = 0.4; animation.timingFunction = UIViewAnimationCurveEaseInOut; animation.f...
阅读全文
posted @ 2015-09-18 11:37 xiaoxiaoxigua
阅读(246)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
20
下一页
公告