2018年7月25日
摘要:
- (void)viewDidLoad { [super viewDidLoad]; //每个Item宽高 CGFloat W = 80; CGFloat H = 100; //每行列数 NSInteger rank = 3; //每列间距 CGFloat rankMargin = (self.vi
阅读全文
posted @ 2018-07-25 16:29
强者VS弱者
阅读(178)
推荐(0)
摘要:
#import "ViewController.h" #define width_w [UIScreen mainScreen].bounds.size.width #define height_h [UIScreen mainScreen].bounds.size.height #define P
阅读全文
posted @ 2018-07-25 14:17
强者VS弱者
阅读(278)
推荐(0)
摘要:
NSDictionary *dic = [NSJSONSerialization JSONObjectWithData:responseObject options:NSJSONReadingAllowFragments error:nil] ; 方法:解析并转码 - (NSString*)data
阅读全文
posted @ 2018-07-25 10:23
强者VS弱者
阅读(370)
推荐(0)
2018年7月17日
摘要:
//设置介绍内容行间距 -(void)LineSpacing:(UILabel*)lab{ NSMutableAttributedString * attributedString1 = [[NSMutableAttributedString alloc] initWithString:lab.te
阅读全文
posted @ 2018-07-17 15:19
强者VS弱者
阅读(105)
推荐(0)
2018年7月6日
摘要:
表刷新超出页面显示的内容会重复出现 -(UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ //定义唯一标识 static NSString *cell
阅读全文
posted @ 2018-07-06 17:20
强者VS弱者
阅读(190)
推荐(0)
2018年5月11日
摘要:
更新版本的时候遇到几个问题 1.ERROR ITMS-90535: "Unexpected CFBundleExecutable Key. The bundle at 'Payload/dianlan2.app/EaseUIResource.bundle' does not contain a bu
阅读全文
posted @ 2018-05-11 14:05
强者VS弱者
阅读(121)
推荐(0)
2018年5月8日
摘要:
徘徊了这么久,我依然是一个人独自前行! 生活在如今这个和谐社会,我们是幸运的,然而,我们又是不幸运的。弱肉强食的规则不会改变,强者为尊,自古以来就是这样。 男儿当自强,在父母的羽翼下生活了二十多年,现在是孩子远飞的时候了。立志求学十五年,父母为此付出好多的心血,待儿学成归来,在报养育之恩。如今的我不
阅读全文
posted @ 2018-05-08 16:59
强者VS弱者
阅读(200)
推荐(0)
摘要:
第一种: UILabel *labl = [[UILabel alloc]init]; labl.backgroundColor = [UIColor redColor]; labl.numberOfLines = 0; labl.text = @"我要去何方,不知道未来该去向何方技术开发了我觉得觉
阅读全文
posted @ 2018-05-08 15:34
强者VS弱者
阅读(138)
推荐(0)
2018年4月3日
摘要:
UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom]; button.titleLabel.textAlignment = NSTextAlignmentLeft;这行代码是没有效果的,只是标签中的文本右对齐,没有改变标签在按钮中的
阅读全文
posted @ 2018-04-03 15:13
强者VS弱者
阅读(538)
推荐(0)
2018年3月23日
摘要:
1.跳转到AppStore评分 应用地址是关键:IOS 设备,手机搜索应用,拷贝链接 NSString *appStr =@"https://itunes.apple.com/cn/app/%E9%91%AB%E5%AE%A2%E9%80%9A/id1227457584?mt=8""; [[UIAp
阅读全文
posted @ 2018-03-23 19:06
强者VS弱者
阅读(175)
推荐(0)