Created
April 1, 2017 21:36
-
-
Save JohnSundell/ee80e69b38d932ceffc749a52b0fec2e to your computer and use it in GitHub Desktop.
Code sample #3 from my Medium post "Namespacing Swift code with nested types"
This file contains 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
let formatter = Post.TextFormatter(options: [.highlightLinks]) | |
let text = formatter.formatText(for: post) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment