清明加班,在线执医,14号上线,加油!!!工作五年了,职场怎么回事还不清楚么

// 赶进度,在公司对面的宾馆住,清明连续加班,今天是放假的,我也过去了,下午去健身房鞠铁.游泳, 蛙泳可以25*2*4 = 200米

搜索之后,蛙泳如何进阶, 自由泳如何提高,  关注职场话题 想念玉玉,

工作要,快刀斩乱麻, 加油,感觉现在写代码块多了

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(nullable NSString *)reuseIdentifier {

    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {

        [self createUI];

    }

    return self; // 没加return self崩溃

}

 

工程文件冲突,保存后先跑一次再提交,不然改坏了,提交了,谁都打开不了了

-------

 

UIButton设置下划线:

1

2

3

4

5

6

7

8

9

UIButton *button=[[UIButton alloc]initWithFrame:CGRectMake(10, 200, 80, 30)];

  NSMutableAttributedString *title = [[NSMutableAttributedString alloc] initWithString:@"FlyElephant"];

  NSRange titleRange = {0,[title length]};

  [title addAttribute:NSUnderlineStyleAttributeName value:[NSNumber numberWithInteger:NSUnderlineStyleSingle] range:titleRange];

  [button setAttributedTitle:title

                    forState:UIControlStateNormal];

  [button setBackgroundColor:[UIColor redColor]];

  [button.titleLabel setFont:[UIFont systemFontOfSize:14]];

  [self.view addSubview:button];

 

 

累了加注释

 

 

 

------

    [insideButton setTitle:@" 请输入您就诊过医生的姓名" forState:UIControlStateNormal];

    [insideButton setTitleColor:[UIColor redColor] forState:UIControlStateNormal];// 可以设置颜色

    insideButton.titleLabel.font = kFontWithSize(12);

//    insideButton.titleLabel.textColor = [UIColor redColor]; // 不能设置颜色

 

-----

//    [outsideButton setBackgroundColor:[UIColor redColor]]; // 不能设置颜色

    CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();

    CGColorRef colorref = CGColorCreate(colorSpace,(CGFloat[]){ 1, 0, 0, 1 });

    [outsideButton.layer setBorderColor:colorref]; //才能设置颜色

 

----

for循环和alloc用自动释放池子

 

------

codesign failed with exit code 1

删掉多余的账号,删除多余证书,重启电脑

 

----------------------------------------------------------------------------------------------------

self.selectionStyle = UITableViewCellSelectionStyleNone; // cell点击时候没有高亮效果

 

 

http://recipe1-dev.bj1.haodf.net/patientapi/user_search4recipe?key=李

 

 

- (void)awakeFromNib {

    // Initialization code

    

    self.backgroundView = [[UIView alloc] initWithFrame:self.frame];

    self.selectedBackgroundView = [[UIView alloc] initWithFrame:self.frame];

    self.selectedBackgroundView.backgroundColor = [UIColor whiteColor];    

}

---------

调用堆栈

 

-----

viewForHeaderInSection  跟着滚动

 

 

 //上线边线 先加分割线 priceView就变小了

    UIView *topLineView = [[UIView alloc]init];

    [priceView addSubview:topLineView];

    [topLineView mas_makeConstraints:^(MASConstraintMaker *make) {

        make.top.mas_equalTo(priceView); // 约束对象写错

        make.left.right.mas_equalTo(priceView);

        make.height.mas_equalTo(0.5);

    }];

 

 

----

第一个界面的 title 过长 会影响 跳转到的第二界面 的 title 造成第二个页面的title不居中

 

posted on 2016-04-05 00:01  土匪7  阅读(129)  评论(0编辑  收藏  举报