摘要:
资源文件都是放在根目录下 1、index.html <html> <head> <title>My test Page</title> <link rel="stylesheet" href = "test.css" type="text/css"/> <script type = "text/ja 阅读全文
摘要:
http://macpu.github.io/2015/11/12/iOS%E5%A6%82%E4%BD%95%E8%8E%B7%E5%8F%96%E8%93%9D%E7%89%99Mac%E5%9C%B0%E5%9D%80/ 阅读全文
摘要:
1、新建分类 #import "UIViewController+swizzling.h"#import <objc/runtime.h>@implementation UIViewController (swizzling)//load方法会在类第一次加载的时候被调用//调用的时间比较靠前,适合在 阅读全文
摘要:
https://github.com/github/gitignore 阅读全文
摘要:
@interface ViewController (){ CALayer *_layer; CAAnimationGroup *_animaTionGroup; CADisplayLink *_disPlayLink;}@end@implementation ViewController- ... 阅读全文
摘要:
//微博个人中心- (void)configTableView{//image 高度375; testTableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, kScreenWith, kScreenHeight)]; tes... 阅读全文
摘要:
//微博弹性动画- (void)moveInAnimation{ UIView *centerV = [[UIView alloc] initWithFrame:CGRectMake(0, 200, 300, 100)]; [self.view addSubview:centerV]; ... 阅读全文
摘要:
http://my.oschina.net/u/2340880/blog/511509#OSC_h3_3 阅读全文
摘要:
[[UINavigationBar appearance] setTintColor:[UIColor colorWithWhite:0.0 alpha:0.0f]];//去掉导航栏 的阴影线self.navigationController.navigationBar.clipsToBounds ... 阅读全文
摘要:
self.view.window.rootViewController.modalPresentationStyle = UIModalPresentationCurrentContext; //半透明 BiaoQianViewController *biaoQianVC = [[BiaoQi... 阅读全文