Created
April 5, 2019 21:11
-
-
Save paulw11/9087087573144d0ebfa935ec5b535538 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mageView.leadingAnchor.constraint(equalToSystemSpacingAfter: contentView.leadingAnchor, multiplier: 1.0).isActive = true | |
imageView.widthAnchor.constraint(equalToConstant: 35.0).isActive = true | |
imageView.heightAnchor.constraint(equalToConstant: 35.0).isActive = true | |
textLabel.leadingAnchor.constraint(equalToSystemSpacingAfter: imageView.trailingAnchor, multiplier: 1.0).isActive = true | |
likeButton.leadingAnchor.constraint(equalToSystemSpacingAfter: textLabel.trailingAnchor, multiplier: 1.0).isActive = true | |
likeButton.widthAnchor.constraint(equalToConstant: 50.0).isActive = true | |
contentView.trailingAnchor.constraint(equalTo: likeButton.trailingAnchor, constant: -2.0).isActive = true | |
detailTextLabel.leadingAnchor.constraint(equalToSystemSpacingAfter: imageView.trailingAnchor, multiplier: 1.0).isActive = true | |
contentView.trailingAnchor.constraint(equalToSystemSpacingAfter: detailTextLabel.trailingAnchor, multiplier: 1.0).isActive = true | |
timeLabel.leadingAnchor.constraint(equalToSystemSpacingAfter: imageView.trailingAnchor, multiplier: 1.0).isActive = true | |
likesLabel.leadingAnchor.constraint(equalToSystemSpacingAfter: timeLabel.trailingAnchor, multiplier: 1.0).isActive = true | |
replyButton.leadingAnchor.constraint(equalToSystemSpacingAfter: likesLabel.trailingAnchor, multiplier: 1.0).isActive = true | |
imageView.topAnchor.constraint(equalToSystemSpacingBelow: contentView.topAnchor, multiplier: 1.0).isActive = true | |
likeButton.topAnchor.constraint(equalTo: contentView.topAnchor, constant: -2.0).isActive = true | |
textLabel.topAnchor.constraint(equalToSystemSpacingBelow: contentView.topAnchor, multiplier: 1.0).isActive = true | |
detailTextLabel.topAnchor.constraint(equalToSystemSpacingBelow: textLabel.topAnchor, multiplier: 1.0).isActive = true | |
timeLabel.topAnchor.constraint(equalToSystemSpacingBelow: detailTextLabel.topAnchor, multiplier: 1.0).isActive = true | |
contentView.bottomAnchor.constraint(equalToSystemSpacingBelow: timeLabel.bottomAnchor, multiplier: 1.0).isActive = true | |
likesLabel.topAnchor.constraint(equalTo: timeLabel.topAnchor).isActive = true | |
replyButton.topAnchor.constraint(equalTo: timeLabel.topAnchor).isActive = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment