iOS custom tableview with constraints UITableViewCells as a Xib with appropriate contraints
- A
detailImageimage view: 45px by 45px. Center vertically to the cell. Leading space to the super view’s left margin. 24px padding between the image and the “main” view that contains aheadlinelabel and abodylabel. headlineandbodylabels are in the “main” view. Top and bottom padding is 16px. 3px vertical padding betweenheadlineandbody.headlinefont should be Headline style,bodyfont should be Body style.attributeis a label with trailing space to the super view’s right margin and at least 8px horizontal spacing between attribute and “main” view. The text “Attribute 1” is baseline aligned with the text of theheadlinelabel.attributefont should be Caption style. Note: The test application should show a number of rows in a table with different values; image or label text.- When
bodytext is not set, thedetailImage,headline, andattributeshould be center aligned - It should be possible to replace the
attributelabel with an image view with size 16x16px detailImageimage should have a circular mask- When horizontalSizeClass is .regular, display a
descriptionlabel between “main” view andattribute.descriptionshould be hidden in .compact horizontal mode. You may determine description label’s padding, font, etc.