Home WeChat Applet Mini Program Development Recommended articles about automatic layout

Recommended articles about automatic layout

Jun 14, 2017 pm 05:40 PM

The rendering of the chat interface is as follows: In the chat interface below, three types of cells are used, one for displaying text and expressions, one for displaying recordings, and one for displaying pictures. When the picture is clicked, it will jump to another Controller to display the picture. A pinch gesture is added to the picture display page. Clicking the play button will play the recorded audio. The height of the cell will be adjusted according to the content, and the height of the textView in the cell is set through constraints. 1. Define the cell we want to use. The code is as follows: 1. The cell that displays expressions and text. The code is as follows. We need to find the bound based on NSMutableAttributedString, then change the constraint values ​​of the width of the ImageView and TextView on the cell, and dynamically adjust the bubbles. Size, the specific code is as follows: #import "TextCell.h" @interface TextCell() @property (s

1. WeChat chat page implementation for iOS development

Introduction: The rendering of the chat interface is as follows: In Three types of cells are used in the chat interface below, one is for displaying text and expressions, one is for displaying recordings, and the other is for displaying pictures. When the picture is clicked, it will jump to another Controller to display the picture. Display, a pinch gesture is added to the image display page. Clicking the play button will play the recorded audio. The size of the cell will be adjusted according to the content, and the height of the textView in the cell is set through constraints ##.

#2. Basic knowledge of CSS3 grid layout

Introduction: CSS3 grid layout Basic knowledge

3. How to use Java layout manager_MySQL

Introduction: Many beginners are using Java When the layouter automatically lays out the interface, we often encounter problems such as not knowing how to define the area size or the distance between buttons. I wrote an article "How to implement various components in JAVA manual layout to change with the window", and some readers. Reflecting on the difficulty in calculating coordinates, I asked if the layout in the article can be used to implement the interface. In fact, automatic layout can also solve the definition area

##4.

Angular implements form automatic layout_ AngularJS

Introduction: This article mainly introduces the relevant information about Angular's implementation of form automatic layout, and analyzes the implementation method of Angular's implementation of form automatic layout in the form of code snippets. Interested friends can refer to

[Related Q&A recommendations]:

ios - Using Masonry to report NSInternalInconsistencyException error

javascript - Automatic layout of relationship diagram

xcode - How to add an automatic layout interface in the middle of the iOS non-automatic layout interface?

ios - iphone After using Masonry, how to check whether my Autolayout layout is correct?

##ios - How to use the topLayoutGuide of viewController in masory?

The above is the detailed content of Recommended articles about automatic layout. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)