Latest 1.0.0
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit

[![CI Status]( Gusev/SGVAttributedNavigationBarTitle.svg?style=flat)]( Gusev/SGVAttributedNavigationBarTitle)

Enables attributed strings as navigation item titles. Should be enabled separately for each UINavigationBar instance by setting UINavigationBar.sgv_attributedTitleEnabled to YES. After that, all navigation items that have UINavigationItem.sgv_attributedTitle set to an NSAttributedString will display their corresponding attributed strings when pushed onto the navigationBar.

Some runtime magic is involved.


To run the example project, clone the repo, and run pod install from the Example directory first.
You should also be able to see this in action by

pod try SGVAttributedNavigationBarTitle


iOS7+. A pinch of bravery.


SGVAttributedNavigationBarTitle is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "SGVAttributedNavigationBarTitle"


Alexander Gusev, [email protected]


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

Latest podspec

    "name": "SGVAttributedNavigationBarTitle",
    "version": "1.0.0",
    "summary": "Attributed strings in navigation bars.",
    "description": "                       Enables use of attributed strings as navigation item titles by [ab]using the power of Objective-C runtime.n",
    "homepage": "",
    "screenshots": "",
    "license": "MIT",
    "authors": {
        "Alexander Gusev": "[email protected]"
    "source": {
        "git": "",
        "tag": "1.0.0"
    "social_media_url": "",
    "platforms": {
        "ios": "7.0"
    "requires_arc": true,
    "source_files": "Pod/Classes",
    "public_header_files": [
    "frameworks": "UIKit",
    "xcconfig": {
        "GCC_WARN_SHADOW": "YES",
        "GCC_WARN_64_TO_32_BIT_CONVERSION": "YES",

Pin It on Pinterest

Share This