上一页 1 ··· 3 4 5 6 7 8 9 下一页
  2017年1月18日
摘要: UITableView自动的调整行高 tableView.rowHeight = UITableViewAutomationDimension //要调整button里面的 图片和文字 距离边框的距离 button.titleEdgeInsets = 阅读全文
posted @ 2017-01-18 22:12 1018475062 阅读(61) 评论(0) 推荐(0)
  2017年1月10日
摘要: 定冠词:特指 the i want the bike. 冠词 不定冠词: 广泛 a/an I want a book 1.冠词的用法 These cakes are tasty. Would you like a third one? This is a most useful book for E 阅读全文
posted @ 2017-01-10 20:32 1018475062 阅读(282) 评论(0) 推荐(0)
  2017年1月9日
摘要: #import "CZSearchBar.h" @implementation CZSearchBar - (instancetype)initWithFrame:(CGRect)frame { if (self = [super initWithFrame:frame]) { self.font 阅读全文
posted @ 2017-01-09 22:30 1018475062 阅读(97) 评论(0) 推荐(0)
摘要: #ifdef __OBJC__ #import "UIView+Frame.h" #import "UIImage+Image.h" #define SKKeyWindow [UIApplication sharedApplication].keyWindow // 在发布的时候 // 如果一个空间 阅读全文
posted @ 2017-01-09 22:23 1018475062 阅读(208) 评论(0) 推荐(0)
摘要: 5.1 微博 (ok) 好友列表(no ) 好友对话(ok),团购(ok) 再敲一遍 5.3: 汤姆猫,传智猜图的逻辑,缩放(ok),轮播(待研究),英雄列表,汽车展示重新敲 5.4: 把以前做的思路理一理; 5.5: 预习一下; ios校招: 主要是c,c++ (很少有问ios的,项目问的很简单, 阅读全文
posted @ 2017-01-09 22:09 1018475062 阅读(267) 评论(0) 推荐(0)
  2017年1月6日
摘要: // 错误存储路径 - (NSString *)dataFilePath{ NSString *dbPath = [NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES) lastObject]; 阅读全文
posted @ 2017-01-06 17:45 1018475062 阅读(109) 评论(0) 推荐(0)
摘要: // 全局队列 异步下载图片 - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { dispatch_async(dispatch_get_global_queue(0, 0), ^{ NSLog(@"%@", [NST 阅读全文
posted @ 2017-01-06 16:43 1018475062 阅读(140) 评论(0) 推荐(0)
摘要: // 获得当前的版本 #define iOS(version) ([UIDevice currentDevice].systemVersion.doubleValue >= (version)) #define ColorA(r, g, b, a) [UIColor colorWithRed:(r) 阅读全文
posted @ 2017-01-06 16:30 1018475062 阅读(271) 评论(0) 推荐(0)
摘要: iOS 客户端固定时间发送经纬度(x,y)到服务器s,服务器存储每个登录用户的经纬度到表t中,表t按照经纬度分表,将地图分成一个个的小格子。当用户点击附近的人时,对用户的(x,y)进行计算,最多一次查询其中的4个格子(子表),计算两点间距离获取结果(有点像桶排序)性能上可以将表t替换为内存结构,容灾 阅读全文
posted @ 2017-01-06 16:29 1018475062 阅读(319) 评论(0) 推荐(0)
摘要: // 计入导航控制器时,要使得底部的TabBar消消失 test.hidesBottomBarWhenPushed = YES; /** * 布局子控件 */ - (void)layoutSubviews { [super layoutSubviews]; // NSClassFromString( 阅读全文
posted @ 2017-01-06 16:27 1018475062 阅读(80) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 下一页