In this video we gonna build a syntax highlighting app which uses Apple’s TextKit API’s, along with this we use NSRegular Expression to track the markdown words, NSAttributedText to change font and font style and NSTextStorage to track down attributed text.

Source Code : https://github.com/recoding-io/swiftui-videos/tree/main/Syntax Highlighter

Checkout full playlist : https://www.youtube.com/playlist?list=PLkpYvePHPSwsj1NrVy7ROQ-8n15AJ1Nnu

Follow us on
📝 @Medium - https://medium.com/recoding
🐦 @Twitter - https://twitter.com/recoding_io
🦄 @Dev.to - https://dev.to/recoding
📌 @Pinterest.com - https://www.pinterest.com/recoding_io

#ios #swift #xcode #mobile-apps #xamarin

SwiftUI : Syntax Highlighter using TextKit API | SwiftUI 2.0 | NSAttributedText
4.35 GEEK