自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

冉然的博客

可以彼此分享经验

  • 博客(15)
  • 收藏
  • 关注

原创 ios 下拉刷新,下拉加载数据 利用第三方

MJRefreshGifHeader *header=[MJRefreshGifHeader headerWithRefreshingTarget:self refreshingAction:@selector(addPage)];     [header setImages:@[[UIImage imageNamed:@"icon_listheader_animation_1@2x.png

2016-07-22 15:21:26 220

原创 count个数和indexPath.row的关系

count是从第一个开始的,indexPath.row是从第0个开始的

2016-07-21 11:29:38 932

原创 取消TableView的头尾视图

UIView *view=[[UIView alloc] init]; [_tableV setTableFooterView:view]; 设置其尾视图为空

2016-07-20 17:13:56 397

原创 【链接】Xcode升级之后安装插件管理工具

http://www.jianshu.com/p/00d95b6af113  快捷方式创建模型等其他

2016-07-20 17:12:15 186

原创 调用系统的相机

-(void)headBClick{     UIImagePickerController *controlImg=[[UIImagePickerController alloc] init];     //设置代理     controlImg.delegate=self;     //是否编辑     controlImg.allowsEditing=YES;

2016-07-18 17:58:01 194

原创 button中有 UIimage 有 title 设置它的位置

[button setTitleEdgeInsets:UIEdgeInsetsMake(15, -25, -15, 25)];         [button setImageEdgeInsets:UIEdgeInsetsMake(-10, 0, 10, 0)];

2016-07-15 18:26:01 211

原创 不同状态下的button

for (int i =0; i ; i ++) {         UIButton *button = [backView viewWithTag:i+60];         button.backgroundColor = [UIColor whiteColor];         if (sender==button) {             sender

2016-07-15 14:27:18 274

原创 UITableView ,UICollectionView,视图刷新的时候用

reload 直接刷新

2016-07-15 14:23:16 632

原创 UITableView默认加载的区域

在当前的类中 NSIndexPath *indexPath = [NSIndexPath indexPathForRow:1 inSection:1];  [self tableView:tableV didSelectRowAtIndexPath:indexPath];   [self changeViewController:0];

2016-07-14 16:52:05 191

原创 UItableView动态刷新数据 --------->>>组、行动态加载

先动态获取组,然后获取动态组里面的数据

2016-07-13 23:13:28 321

原创 类方法的使用

当前的类中调用

2016-07-13 15:43:44 286

原创 取消TableViewCell的选中状态

[tableView deselectRowAtIndexPath:indexPath animated:YES];

2016-07-13 15:40:38 407

原创 添加子视图

先添加控制器,在添加View视图

2016-07-13 15:39:18 224

原创 在同一个页面中加载不同的子视图时,传值不需要再初始化字控制器,直接获取当前需要的子视图

传值和其他一样,正常传值

2016-07-13 15:37:57 448

原创 解析网络数据之前先?

!!!!!!!判断数据是不是真的有值

2016-07-12 09:30:37 195

空空如也

空空如也

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

TA关注的人

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