`
文章列表
http://codingobjc.com/blog/2014/10/15/shi-yong-autolayoutshi-xian-uitableviewde-celldong-tai-bu-ju-he-ke-bian-xing-gao/index.html   http://www.ifun.cc/blog/2014/02/21/dong-tai-ji-suan-uitableviewcellgao-du-xiang-jie/

将博客搬至CSDN

    博客分类:
  • ios
将博客搬至CSDN   http://blog.csdn.net/dsr_22
    bounds  是以自己为参考坐标的   frame 是以父对象为参考坐标的
  git hub 地址   https://github.com/TouchCode/TouchJSON     // // ViewController.m // JsonProject // // Created by seandeng on 6/1/15. // Copyright (c) 2015 seandeng. All rights reserved. // #import "ViewController.h" #import "CJSONDeserializer.h" @interface Vi ...

bmob

    博客分类:
  • ios
bmob    http://www.bmob.cn/   有时候我们想为自己的app加一个服务器端的服务 比如排行榜什么的 自己租server搭数据库 搞webservice太麻烦了 现在有人做了了这个  请求量不大的话是免费的 

table cell选中又反选

    博客分类:
  • ios
 
[tableView deselectRowAtIndexPath:indexPath animated:YES];  
有时候我们需要将uitableview的分割线从最左边开始显示,而不是系统默认的方法   比如这样子    我们可以这样写代码   首先在viewDidLoad方法中加上如下代码: if ([self.tableView respondsToSelector:@selector(setSeparatorInset:)]) { [self.tableView setSeparatorInset:UIEdgeInsetsZero]; } if ([self.tableView respondsToSelector:@selector(setLayoutMargi ...

一些问题的积累

    博客分类:
  • ios
1.Category支持添加属性与成员变量吗 不支持2.iOS7之后, 蓝牙的围栏功能所谓iBeacons,就是一种使用蓝牙低能耗进行微定位的技术,它允许iOS设备使用蓝牙4.0获取位置数据。也就是说,配备iBeacons技术的iOS设备就相当于位置数据的接收方和发送方,在蓝牙时代里进行着数据的互联。iBeacon的出现让地理定位能够更加精确——从几百米的精度提高到了一米甚至半米。这个精细度非常高的地理围栏,终于可以让很多的实际物体都有条件具有了定义自己地理位置标识的能力,例如一张桌子、一把椅子,都可以有自己的地理坐标3.说说Cell重用原理 - (UITableViewCell *)ta ...
修改 navigationbar的字体颜色 比如返回按钮   [self.navigationController.navigationBar setTintColor:[UIColor whiteColor]];        修改 navigationbar的颜色 [self.navigationController.navigationBar.barTintColor =  [UIColor colorWithRed:0.15green:0.47blue:0.84alpha:1];
Set UIViewControllerBasedStatusBarAppearance to NO. Call [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];

贺臣的博客

    博客分类:
  • ios
贺成的博客 写的文章很好   这篇是讲@property的 也讲一些内存管理 http://www.cnblogs.com/andyque/archive/2011/08/03/2125728.html
registerClass我记得是iOS6新加的在此之前cell的重用写法是   static NSString *ID = @"cell"; UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:ID]; if (cell == nil) { cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseId ...
//通常用于删除缓存的时,计算缓存大小 //单个文件的大小 - (long long) fileSizeAtPath:(NSString*) filePath{ NSFileManager* manager = [NSFileManager defaultManager]; if ([manager fileExistsAtPath:filePath]){ return [[manager attributesOfItemAtPath:filePath error:nil] fileSize]; } return 0; } / ...

mac photoshop

    博客分类:
  • ios
 
mac photoshop http://www.sdifenzhou.com/657.html

app 检查更新

    博客分类:
  • ios
 
一篇讲述app检查更新的文章    挺不错的 应用到了工作中     http://www.tuicool.com/articles/aENF32
Global site tag (gtag.js) - Google Analytics