CodeMirror Swift
SwiftRichString
CodeMirror Swift | SwiftRichString | |
---|---|---|
1 | 1 | |
101 | 3,055 | |
0.0% | - | |
0.0 | 0.0 | |
almost 2 years ago | 10 months ago | |
JavaScript | Swift | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
CodeMirror Swift
-
Is Anyone working on a port of CodeMirror 6 to Swift?
I have been setting up an editor using a Swift port/interface of CodeMirror 5. I've encountered an issue that prevents me from moving forward until I resolve the issue. In doing research, I discovered that Version 6 is a complete re-write of the package and so the API has changed. There are two projects on GitHub (CodeMirror-Swift and CodeMirror-SwiftUI), both of which use Version 5. There are no indications they are working on a replacement. I understand it is a big undertaking.
SwiftRichString
-
XMLText Library: SwiftUI Text from styled XML
For styling strings in my app, I have been using SwiftRichString library for UIKit with a UIViewRepresentable of UILabel, however I started having lots of problems with UILabel's layout when embedded in SwiftUI. So I decided to use parts of SwiftRichString to create a SwiftUI version of it. XMLText doesn't support links and images due to SwiftUI limitations, but hopefully those will come after SwiftUI improvements in the future.
What are some alternatives?
CodeMirror-SwiftUI - CodeMirror-SwiftUI is a lightweight wrapper of CodeMirror for macOS and iOS packaged for SwiftUI.
Atributika - Convert text with HTML tags, links, hashtags, mentions into NSAttributedString. Make them clickable with UILabel drop-in replacement.
ZSSRichTextEditor - A beautiful rich text WYSIWYG editor for iOS with a syntax highlighted source view
SwiftyMarkdown - Converts Markdown files and strings into NSAttributedStrings with lots of customisation options.
Magic Python - Cutting edge Python syntax highlighter for Sublime Text, Atom and Visual Studio Code. Used by GitHub to highlight your Python code!
TextAttributes - An easier way to compose attributed strings
YYText - Powerful text framework for iOS to display and edit rich text.
BonMot - Beautiful, easy attributed strings in Swift
FontAwesome.swift - Use FontAwesome in your Swift projects
Apodimark
libPhoneNumber-iOS - iOS port from libphonenumber (Google's phone number handling library)
TwitterTextEditor - A standalone, flexible API that provides a full-featured rich text editor for iOS applications.