Tag:autolayout
-
Time:2020-12-16
preface AutoLayout is very powerful and easy to use, and has strong readability. With various third-party AutoLayout libraries, you can make a layout like a dog out of a chain! But there are also a variety of problems in the use, the following will give you a detailed introduction. AutoLayout problem Layout conflict Inherent size […]
-
Time:2019-12-10
This series of articles will introduce auto layout from the perspective of a novice who is slowly exploring, and tell me how I feel about it bit by bit in my two-month study. The ultimate goal is to let everyone use it on their own after reading, and complete most simple layout conventions. The code […]
-
Time:2019-12-9
The code warehouse of this series of articles is located at https://github.com/johnlui/autolayout. If you don’t understand, you can refer to my auto layout settings. Just download it and open it locally. Get ready In the previous article, we have had the initial experience of auto layout together. In this article, we will try to use […]
-
Time:2019-12-8
The code warehouse of this series of articles is located at https://github.com/johnlui/autolayout. If you don’t understand, you can refer to my auto layout settings. Just download it and open it locally. brief introduction In this article, we will try to customize a uitableviewcell and constrain it with auto layout. Custom cell foundation In the previous […]
-
Time:2019-12-7
The code warehouse of this series of articles is located at https://github.com/johnlui/autolayout. If you don’t understand, you can refer to my auto layout settings. Just download it and open it locally. brief introduction In this article, we will use uipangestrurerecognizer and auto layout together to achieve drag rebound effect through 22 lines of code. Build […]
-
Time:2019-11-29
StoryboardIt’s perfect for multi screen adaptation! But there are some techniques that can easily be ignored, and the use of scale to control layout that I’m going to introduce today may be one of them. In the actual project development process, some layouts are determined according to the scale. At this time, you can use […]
-
Time:2019-9-7
At first, when I was working, I used SB interface development for a period of time. Later, I changed the team to pure code layout. Now for some modules of visual layout development, so summarize the original constraints of the use of methods, learn from the past. Constraint Priority As shown above, constraints 1 and […]
-
Time:2019-7-26
Scroll View Paging The pagingEnabled property of UIScrollView is used to control whether to scroll by page. This feature will be applied in some applications, and the most typical one is the list of application icons on the mobile desktop. In these interfaces, each page function is relatively independent, and the system also provides UIPageViewController […]