Displaying 1 to 10 from 10 results

SwiftRichString - Elegant & Painless Attributed Strings Management Library in Swift

  •    Swift

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?).

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.

M80AttributedLabel - Another attributed label using CoreText

  •    Objective-C

M80AttributedLabel is available under the MIT license. See the LICENSE file for more info.

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.




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.

SJAttributesFactory - Simplify operation NSAttributedString, make writing easier

  •    Objective-C

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

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.

CuteAttribute - An elegant way to deal with attributed string in swift.

  •    Swift

An elegant way to deal with attributed string in swift. It's convenient to create attributed string by .cute, whatever from String, NSString, NSAttributedString or NSMutableAttributedString. It's so amazing that almost all methods support chaining. I create this project just because I met Typeset serveral days ago. But I found it's so hard to use by swift. So I made this. Follow the rest of the standard Carthage installation instructions to add CuteAttribute to your project.


StyleDecorator - Design string simply by linking attributes to needed parts

  •    Swift

Design string simply by linking attributes. StyleDecorator is available under the MIT license. See the LICENSE file for more info.

osrm-text-instructions

  •    Swift

OSRM Text Instructions is a library for iOS, macOS, tvOS, and watchOS applications written in Swift 4 or Objective-C that transforms OSRM route responses into localized text instructions. The last tagged version for Swift 3.2 is v0.5.0 and the code is also available on the branch swift3.2. You can use OSRM Text Instructions in conjunction with MapboxDirections.swift and MapboxNavigation.swift to generate visual and voice guidance in a turn-by-turn navigation application.