Skip to content

Conversation

@nathantannar4
Copy link
Contributor

I can't seem to recreate the bouncing in the MessageViewController example but in my other project I saw that this helped.

TL;DR
This just enforces a set paragraph style on all attributed strings

@rnystrom
Copy link
Member

Awesome! Lets give it a shot.

Sent with GitHawk

@rnystrom rnystrom merged commit 44d2ac2 into GitHawkApp:master Feb 16, 2018
}

/// The NSAttributedStringKey.paragraphStyle value applied to attributed strings
private let paragraphStyle: NSMutableParagraphStyle = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry to chime in after. Do we want to return it as a non-mutable NSParagraphyStyle?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess that would make more sense, yeah

@BasThomas
Copy link
Collaborator

Let's close #25 and #26 for now too then and reopen if needed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants