-
border-width:0 1px;
example 1border-width:thin medium thick 10px; The upper border is a thin border.
The right border is a medium border.
The lower border is a thick border.
The left border is a 10px wide border.
example 2border-width:thin medium thick; The upper border is 10px
The right and left borders are medium borders.
The lower border is a thick border.
example 3border-width:thin medium; The upper and lower borders are thin borders.
The right and left borders are medium borders.
example 4border-width:thin; All 4 borders are thin borders.
-
Define uiview, override drawrect:
Draw the border yourself.
-
The borders on uiview are all given** and then added.
-
Select the label in the xib, and in the third tab on the right sidebar, the third item is user defined runtime attributes
The second is to set the color of the border, in order to be compatible with Calayer's KVC, you have to add a category to Calayer.
implementation calayer (additions)
void)setbordercolorfromuicolor:(uicolor *)color
The end method is only valid for any UIview selected, and can only be added one by one, but you can select the contents of the key path list for copying and pasting.
The above content is referenced from:
-
When we use UITatableView to display our content, I need to put a different interface at the top than the usual cell, which is more unique. 1。So I'm going to use it as a section headerview.
That is, in the function: -uiview *)tableview:(uitableview *)tableview viewforhea....
-
When we use UITetViewer to display our content, I need to put a different interface on top than the usual cell, which is more unique. 1。So I'm going to use it as a section headerview.
That is, in the function: -uiview *)tableview:(uitableview *)tableview viewforhea....
To be an elegant woman, you must not only have your own character, temperament, and cultivation, but also have your own style and elegance. A woman's temperament is in her bones, she doesn't need to be beautiful, nor does she need expensive fashion and exquisite makeup. <> >>>More
During the three years of college, there was a period of time when I was relatively rich, but in normal times, because I didn't want to use my parents' money, my financial situation was still not good, in short, I was poor. Although I am really poor, everyone around me does not think that I am poor, and I myself feel that I live a very elegant life. And how, when his economy is not good, he lives his life elegantly. >>>More
Ignorance of nothing] even the word "of", "nothing? "I don't know a word. Describes people who are illiterate and have a very low level of education. >>>More
Wear glasses, often hold this famous book in your hand, don't speak too loudly, it is recommended to wear a skirt, you can only smile if you want to laugh, and you must have no quarrel with the world. . . >>>More
I think the most elegant way to eat melted ice cream can be ice cream + coffee. In fact, it is snow top coffee, if the ice cream is relatively thick, it is recommended to dig into a ball and put it into the coffee, the amount is just half floating on the coffee surface is the best, generally speaking, the coffee with milk, vanilla, chocolate flavor is absolutely harmonious, if you want to hunt for curiosity, you can also try to match a variety of tropical fruit flavors of ice cream.