自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

GhostClock的专栏

鸟随鸾凤飞腾远,人伴贤良品质高。

  • 博客(7)
  • 资源 (4)
  • 收藏
  • 关注

原创 swift 修改navigationItem.title的颜色

let dict:NSDictionary = NSDictionary(object: UIColor.orangeColor(),forKey:NSForegroundColorAttributeName) navigationBar.titleTextAttributes = dict as? [String : AnyObject] 用titleTextAttributes 修改navi

2016-07-21 15:33:04 1169

原创 UIAlertController在Swift中的用法

let alert:UIAlertController = UIAlertController(title: "message" ,message: "Thank you clicking",preferredStyle: UIAlertControllerStyle.Alert) alert.addAction(UIAlertAction(title: "close AlertView"

2016-07-03 00:02:26 290

原创 Swift下隐藏navigationBar下面那天横线

说实话Google了一大圈,最后还是在Stack Overflow上找到了自己想要的答案,但是在swift里面还像没有imageWithColor方法,只能自定义了 下面是代码 func shadowImageLine() -> Void { self.navigationController?.navigationBar .setBackgroundImage(imageWi

2016-06-19 02:13:29 934

原创 单例传值(三个界面)

1,在Appdelegate.m文件中创建根视图控制器 ViewController * vc = [[ViewController alloc]init]; UINavigationController * nvc = [[UINavigationController alloc]initWithRootViewController:vc]; self.window.rootV

2015-05-16 10:03:14 403

原创 iOS开发表格的复用机制

//  这个方法的模板- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{    //cell的标示符    //  以后表格中可能有不同样式的cell, 区分样式的cell    static NSString *cellID = @"cell

2015-04-23 13:05:45 483

原创 在iOS开发中关于正向传值的问题

两个输入框和一个按钮 _TextFiled = [[UITextField alloc]init]; _TextFiled.frame = CGRectMake(0, 100, 320, 50); _TextFiled.textColor = [UIColor redColor]; _TextFiled.borderStyle = UITextBorderStyleRou

2015-04-19 11:44:24 514

原创 iOS中输入框被软键盘遮挡了怎么办?

看这个博客对于iOS中输入框被软键盘遮挡的回答,http://blog.csdn.net/enuola/article/details/7917221,感觉还是挺麻烦的,于是继续Google中,查到可以移动输入框来避免被键盘遮挡这一办法,于是自己试了试,真的蛮简单的,下面开始: 新建工程  Single view application 在ViewController.h

2015-04-18 19:18:19 518

UITableViewCell根据文字自动改变cell和lable的高度

UITableViewCell根据文字自动改变cell和lable的高度 boundingRectWithSize

2016-03-13

versions1.3.2 破解版

versions1.3.2 破解版,versions,移动开发,代码版本管理

2015-06-16

Reveal1.5.1破解版

Reveal1.5.1破解版,UI查看利器,逆向工程,破解版,童叟无欺

2015-06-05

演示代码,养车邦

演示代码,养车邦,单例传值,单例模式,页面间的跳转

2015-05-16

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除