Skip to content

Instantly share code, notes, and snippets.

@nbashaw
nbashaw / gist:861e7f7a286211d9276c7feb274e7745
Created November 22, 2019 20:21 — forked from HarryGoodwin/gist:4528d6419915258e54b2f8c804687808
Attributed string bullet points - Swift
import UIKit
import PlaygroundSupport
struct StringConstants {
static let bullet1 = "This is a small string."
static let bullet2 = "This is more of medium string with a few more words etc."
static let bullet3 = "Well this is certainly a longer string, with many more words than either of the previuos two strings."
}
typealias ParagraphData = (bullet: String, paragraph: String)
<!-- this is wrong -->
<head>
<body>
<h1> <p> This is the first paragraph in large text, ever</p></h1>
</body>
</head>