• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
有一天
博客园 首页 新随笔 联系 订阅 订阅 管理

2015年6月18日

Unknown type name “CGFloat
摘要: 一、编绎显示Unknown type name “CGFloat”错误解决方法将Compile Sources As 改为 Objective-C++二、如果是extern const引起的。直接加头文件#import 阅读全文
posted @ 2015-06-18 23:16 有一天 阅读(295) 评论(0) 推荐(0)
 
报错
摘要: 错误代码:objc_msgSend(self.beginRefreshingTaget, self.beginRefreshingAction, self);Too many arguments to function call, expected 0, have 3经过几番周折,终于叨叨解决方案了... 阅读全文
posted @ 2015-06-18 23:04 有一天 阅读(122) 评论(0) 推荐(0)
 
数组排序法
摘要: //第一种,利用数组的sortedArrayUsingComparator调用 NSComparator ,obj1和obj2指的数组中的对象NSComparator cmptr = ^(id obj1, id obj2){if ([obj1 integerValue] > [obj2 intege... 阅读全文
posted @ 2015-06-18 21:19 有一天 阅读(146) 评论(0) 推荐(0)
 
设置navigation baritem方法
摘要: UIButton *RightBtn=[UIButton buttonWithType:UIButtonTypeRoundedRect]; [RightBtn setImage:[UIImage imageNamed:@"indexLeftNav"] forState:UIControlState... 阅读全文
posted @ 2015-06-18 14:12 有一天 阅读(155) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3