会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
I'm new
2015年11月25日
UITextView的字数限制 及 添加自定义PlaceHolder
摘要: - (void)textViewDidChange:(UITextView *)textView{ NSString *temp=textView.text; //字数超过限制数量时,进行截取替换 if([[textView text] length] > _limitCharact...
阅读全文
posted @ 2015-11-25 11:44 I'm new
阅读(212)
评论(0)
推荐(0)
编辑
UIView 翻转动画
摘要: [_mapView removeFromSuperview]; [self addSubview:_tableView]; //应将self.view设置为翻转对象 [UIView transitionWithView:self duration:1.0 options:UI...
阅读全文
posted @ 2015-11-25 11:41 I'm new
阅读(201)
评论(0)
推荐(0)
编辑
viewController的自动扩展属性导致TableViewGroupStyle时向上填充
摘要: self.automaticallyAdjustsScrollViewInsets = NO;需设置这个属性
阅读全文
posted @ 2015-11-25 11:39 I'm new
阅读(131)
评论(0)
推荐(0)
编辑
指针属性直接赋值 最好先retain 否则内存释放导致crash
摘要: //先释放之前的 YK_RELEASE_SAFELY(_selectedDate); //retain新的 _selectedDate = [aDate retain];NSString 属性的好像不需要先Retain
阅读全文
posted @ 2015-11-25 11:37 I'm new
阅读(193)
评论(0)
推荐(0)
编辑
UIButton 点击后变灰
摘要: +(UIButton *)getBlueButtonWithTitle:(NSString *)aTitle{ UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom]; //要使用系统的变灰,只需设置Backgroun...
阅读全文
posted @ 2015-11-25 11:34 I'm new
阅读(2340)
评论(0)
推荐(0)
编辑
公告
导航
博客园
首页
新随笔
新文章
联系
订阅
管理