SwiftRichString - Elegant & Painless Attributed Strings Management Library in Swift

  •        464

SwiftRichString is a lightweight library wich allows you to simplify your work with attributed strings in UIKit. It provides convenient way to create and manage string with complex attributes, render tag-based string and manipulate styles at specified indexes. And, best of all, it's fully compatible with unicode (who don't love emoji?).




Related Projects

Atributika - Convert text with HTML tags, links, hashtags, mentions into NSAttributedString

  •    Swift

NSAttributedString is really powerful but still a low level API which requires a lot of work to setup things. It is especially painful if string is template and real content is known only in runtime. If you are dealing with localizations, it is also not easy to build NSAttributedString. Yeah, that's much better. Atributika is easy, declarative, flexible and covers all the raw edges for you.

Attributed - µframework for Attributed strings.

  •    Swift

µframework for Attributed strings. Attributed aims to be a drop in replacement to the current programming interface of NSAttributedString. The existing interface to using attributed strings has a few flaws, namely if you dont know the Key and type of value needed to set a certain attribute, you have spend time checking documentation or the reading the comments for NSAttributedString. Another concern is safety, passing a dictionary of type [String: Any] to the constructor of NSAttributedString is a potential crash at runtime waiting to happen.

Typeset - Deal with AttributedString efficiently

  •    Objective-C

All the method for typeset returns a self object to chaining itself. call typeset method first and call string at last returns a NSAttributedString.

SJAttributesFactory - Simplify operation NSAttributedString, make writing easier

  •    Objective-C

Simplify operation NSAttributedString, make writing easier. Attributes String Editing Factory. iOS 富文本编辑, 让代码更清晰. 文本编辑, 高度计算, 正则匹配等待... 简便操作, 让你爽到爆!

StyledTextKit - Declarative building and fast rendering attributed string library.

  •    Swift

StyledTextKit is a declarative attributed string library for fast rendering and easy string building. It serves as a simple replacement to NSAttributedString and UILabel for background-thread sizing and bitmap caching. Create a StyledTextRenderer for sizing and rendering text by initializing it with a StyledTextString and a UIContentSizeCategory.

SwiftyMarkdown - Converts Markdown files and strings into NSAttributedString

  •    Swift

Converts Markdown files and strings into NSAttributedString

AttributedTextView - Easiest way to create an attributed UITextView (with support for multiple links and from html)

  •    Swift

Easiest way to create an attributed UITextView (with support for multiple links and html). In interfacebuilder put an UITextView on the canvas and set the base class to AttributedTextView and create a referencing outlet to the a property in your viewController. In the samples below we have called this property textView1. Always assign to the attributer property when you want to set something.

AttributedMarkdown - Native Markdown Parsing to NSAttributedString on iOS

  •    Objective-C

Markdown is intended to be as easy-to-read and easy-to-write as is feasible. This library takes Markdown formatted text and turns it into an NSAttributedString, suitable for rendering in native UIKit components on iOS 6 (UITextView, UILabel, etc).

Transformer - Easy Attributed String Creator

  •    Javascript

The main idea of this project is to have an online tool to be able to visually add formatting to a text and get back a swift and/or objective-c code to reproduce that formating.

SwiftyAttributes - A Swifty API for attributed strings

  •    Swift

SwiftyAttributes has support for every attribute available in Cocoa and Cocoa Touch.

NerdyUI - An easy way to create and layout UI components for iOS.

  •    Objective-C

An easy way to create and layout UI components for iOS 8 and above. There is also a Swift version available. You can convert nearly everything to NSString by using Str() macro. Similarly, you can log variables using Log() macro.

iOS-Swift-Demos - 精心收集并分类整理的Swift开发学习资源,包括Apple官方提供的示例代码和文档,以及github上的项目和国内外开发者的技术博客。欢迎提交pull-request一起维护。QQ交流群 32958950 申请请注明开发经验

  •    Swift

Swift is a high-performance system programming language. It has a clean and modern syntax, offers seamless access to existing C and Objective-C code and frameworks, and is memory safe by default. On December 3, 2015, the Swift language, supporting libraries, debugger, and package manager were published under the Apache 2.0 license with a Runtime Library Exception, and Swift.org was created to host the project.

Zewo - Lightweight library for web server applications in Swift on macOS and Linux powered by coroutines

  •    Swift

Zewo is a lightweight library for web applications in Swift.Zewo is not a web framework. Zewo is a lightweight library for web applications in Swift. Most server-side Swift projects use Grand Central Dispatch (GCD) as the concurrency library of choice. The drawback of using GCD is that its APIs are asynchronous. With async code comes callback hell and we all know it, it's no fun.

CommandLine - A pure Swift library for creating command-line interfaces

  •    Swift

A pure Swift library for creating command-line interfaces. Note: CommandLineKit master requires Xcode 8 / Swift 3.0. If you're using older versions of Swift, please check out the earlier releases.

swift-protobuf - Plugin and runtime library for using protobuf with Swift

  •    Swift

Apple's Swift programming language is a perfect complement to Google's Protocol Buffer ("protobuf") serialization technology. They both emphasize high performance and programmer safety. This project provides both the command-line program that adds Swift code generation to Google's protoc and the runtime library that is necessary for using the generated code. After using the protoc plugin to generate Swift code from your .proto files, you will need to add this library to your project.

awesome-ios - A curated list of awesome iOS ecosystem, including Objective-C and Swift Projects

  •    Swift

A curated list of awesome iOS frameworks, libraries, tutorials, Xcode extensions and plugins, components and much more. The list is divided into categories such as Frameworks, Components, Testing and others, open source projects, free and paid services. There is no pre-established order of items in each category, the order is for contribution. If you want to contribute, please read the guide. Instabug has just released their visual repro steps feature to enable you to trace all the views that the user interacted with before a bug or a crash occured. This will help you reproduce bugs and fix them 10x faster. We highly recommend integrating Instabug’s framework as they compiled a lot of other great features like network logs and screen annotations, providing you with useful and rich data attached to each bug or crash report. Instabug is offering awesome-ios community an exclusive 15% discount on all paid plans. Go to 1 minute integration guide.

NSAttributedStringMarkdownParser - A Markdown NSAttributedString parser.

  •    Objective-C

A Markdown NSAttributedString parser.

OHAttributedLabel - UILabel that supports NSAttributedString

  •    Objective-C

UILabel that supports NSAttributedString

swift-corelibs-xctest - The XCTest Project, A Swift core library for providing unit test support

  •    Swift

The XCTest library is designed to provide a common framework for writing unit tests in Swift, for Swift packages and applications. This version of XCTest uses the same API as the XCTest you are familiar with from Xcode. Our goal is to enable your project's tests to run on all Swift platforms without having to rewrite them.

We have large collection of open source products. Follow the tags from Tag Cloud >>

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.