Stuart MooreCreate Lists with AttributedString in iOS 15Attributed strings are very powerful for laying out text; they’re more than just a way to convert HTML into bold ranges. When I worked at…Jun 21, 2021Jun 21, 2021
Stuart MooreUIFont Explained VisuallyI feel like UIFont’s read-only properties go forgotten easily. When you create a new font object, five measurement properties will be…Jul 16, 2015Jul 16, 2015
Stuart MooreNSParagraphStyle Explained VisuallyI used to find myself randomly guessing a lot of magic numbers when it came to laying out paragraphs. The biggest issue I had was text…Jun 26, 20152Jun 26, 20152
Stuart MooreFix Clipping UIFont lineHeightMultipleSetting paragraph attributes on an `NSAttributedString` can be frustrating. Without a diagram, knowing what and how to set metrics isn’t…Jun 21, 20152Jun 21, 20152