上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 20 下一页
  2016年9月1日
摘要: 2、解决问题的办法 将Build Setting下的Apple LLVM 7.0选择成GUN99 将Build Setting下的Apple LLVM 7.0选择成GUN99 3、产生此问题的原因 3.1、在NSException.h的文件中定义了如下宏 /* * Asserts to use in 阅读全文
posted @ 2016-09-01 13:41 廖利君 阅读(7138) 评论(0) 推荐(0) 编辑
  2016年8月15日
摘要: 1,在viewdidload里面 写一个方法 [self registerKeyBoardAction]; 2,实现这个方法 #pragma mark - 注册键盘弹起与消失事件 -(void)registerKeyBoardAction{ [[NSNotificationCenter defaul 阅读全文
posted @ 2016-08-15 10:33 廖利君 阅读(168) 评论(0) 推荐(0) 编辑
  2016年8月5日
摘要: isNaN 判断字符串是否为数字 阅读全文
posted @ 2016-08-05 10:05 廖利君 阅读(97) 评论(0) 推荐(0) 编辑
  2016年5月12日
摘要: NSMutableAttributedString *noteStr = [[NSMutableAttributedString alloc] initWithString:[NSString stringWithFormat:@"作品:%@",data[@"works_num"]]]; NSRan 阅读全文
posted @ 2016-05-12 16:58 廖利君 阅读(209) 评论(0) 推荐(0) 编辑
摘要: @property(strong,nonatomic)UIWindow *window; @property(strong,nonatomic)UIButton *FloatBtn; _FloatBtn = [UIButton buttonWithType:UIButtonTypeCustom]; 阅读全文
posted @ 2016-05-12 16:55 廖利君 阅读(226) 评论(0) 推荐(0) 编辑
  2016年1月28日
摘要: NSMutableAttributedString *noteStr = [[NSMutableAttributedString alloc] initWithString:[NSString stringWithFormat:@"作品:%@",data[@"works_num"]]]; NSRan 阅读全文
posted @ 2016-01-28 15:28 廖利君 阅读(133) 评论(0) 推荐(0) 编辑
摘要: // button.titleLabel.textAlignment = NSTextAlignmentLeft; 这句无效 button.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft; button.tit 阅读全文
posted @ 2016-01-28 15:26 廖利君 阅读(234) 评论(0) 推荐(0) 编辑
  2016年1月8日
摘要: import Foundationclass People : NSObject{ //普通属性 var firstName:String = "" var lastName:String = "" var nickName:String = "" //计算... 阅读全文
posted @ 2016-01-08 14:21 廖利君 阅读(217) 评论(0) 推荐(0) 编辑
  2016年1月6日
摘要: Swift语言使用var定义变量,但和别的语言不同,Swift里不会自动给变量赋初始值,也就是说变量不会有默认值,所以要求使用变量之前必须要对其初始化。如果在使用变量之前不进行初始化就会报错:var stringValue : String //error: variable 'stringValu... 阅读全文
posted @ 2016-01-06 14:56 廖利君 阅读(416) 评论(0) 推荐(0) 编辑
  2015年11月23日
摘要: 今天遇到个很简单的几个问题,关于UIButton的,以前没有很注意,就是设置它的文字的显示位置,字体的大小。//设置按钮上的自体的大小//[btn setFont: [UIFont systemFontSize: 14.0]];//这种可以用来设置字体的大小,但是可能会在将来的SDK版本中去除改方法... 阅读全文
posted @ 2015-11-23 14:30 廖利君 阅读(287) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 20 下一页