Catch the progress, in the company opposite the hotel live, qingming continuous overtime, today is a holiday, I also passed, afternoon to the gym Liantie. Swimming, breaststroke can 25*2*4 = 200 m
After the search, how to advance the breaststroke, how to improve the freestyle, focus on the workplace topic Miss Jade,
Work to, the Gordian knot, refueling, feel now write code block more
-(Instancetype) Initwithstyle: (Uitableviewcellstyle) style Reuseidentifier: (Nullable NSString *) Reuseidentifier {
if (self = [super Initwithstyle:style Reuseidentifier:reuseidentifier]) {
[Self createui];
}
return self; No, and the return self crashes.
}
Project file conflicts, save after first run and then submit, or change the bad, submitted, no one can open the
-------
UIButton Set the underline:
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]; |
Tired and annotated
------
[Insidebutton settitle:@] Please enter your doctor's name "Forstate:uicontrolstatenormal";
[Insidebutton settitlecolor:[uicolor Redcolor] forstate:uicontrolstatenormal];//can set color
InsideButton.titleLabel.font = Kfontwithsize (12);
InsideButton.titleLabel.textColor = [Uicolor Redcolor]; Cannot set color
-----
[Outsidebutton Setbackgroundcolor:[uicolor Redcolor]; Cannot set color
Cgcolorspaceref colorspace = Cgcolorspacecreatedevicergb ();
Cgcolorref COLORREF = Cgcolorcreate (ColorSpace, (cgfloat[]) {1, 0, 0, 1});
[Outsidebutton.layer Setbordercolor:colorref]; To set the color
----
Auto-release pool for Loop and alloc
------
Codesign failed with exit code 1
Delete redundant accounts, remove redundant certificates, restart your computer
----------------------------------------------------------------------------------------------------
Self.selectionstyle = Uitableviewcellselectionstylenone; No highlight when cell clicked
Http://recipe1-dev.bj1.haodf.net/patientapi/user_search4recipe?key= Lee
-(void) awakefromnib {
Initialization code
Self.backgroundview = [[UIView alloc] initWithFrame:self.frame];
Self.selectedbackgroundview = [[UIView alloc] initWithFrame:self.frame];
Self.selectedBackgroundView.backgroundColor = [Uicolor Whitecolor];
}
---------
Call stack
-----
Viewforheaderinsection Follow the scroll
Line-up Edge plus split line Priceview is smaller.
UIView *toplineview = [[UIView alloc]init];
[Priceview Addsubview:toplineview];
[Toplineview mas_makeconstraints:^ (Masconstraintmaker *make) {
Make.top.mas_equalTo (Priceview); Constrained Object Write error
Make.left.right.mas_equalTo (Priceview);
Make.height.mas_equalTo (0.5);
}];
----
The title of the first interface will affect the title of the second page, causing the title of the second one to be centered.
Ching Ming Overtime, online medical practitioners, No. 14th on-line, refueling!!! Five years of work, the workplace is not clear?