Latest 1.0.1
Homepage https://github.com/supreme0530/SLNavigationController
License MIT
Platforms ios 7.1, requires ARC
Dependencies Masonry, SDWebImage
Frameworks UIKit, Foundation, CoreGraphics
Authors

介绍:

SLNavigationController 依据需求 分成 两个独立的模块用于不同的场景 :

  • 通过隐藏NavigationBar,然后自定义一个UIVIew来代替NavigationBar进行的(以下简称“自定义的SLNavigationController”);

  • 另一个是在系统NavigationController 的基础上进行优化和封装(以下简称“封装的SLNavigationController”)。

(具体使用请参考说明文档或者打开SLNavigationControllerDemo进行了解)

目录:

自定义的NavigationController

一、文件结构:

二、功能使用:

——设置右划手势返回功能

——SLViewController、SLBarButtonItem

1.设置导航栏标题文字

2.设置导航栏自定义TitleView

3.设置导航栏的 Left Right BarButtonItem

——详细内容(SLBarButtonItem.m):

设置自定义Button Options

自定义封装NavigationController

一、SLNavigationController

二、UIBarButtonItem + SLNavBarButtonItem

封装navigationcontroller

一、SLNavigationController

二、UIBarButtonItem + SLNavBarButtonItem

PS:详细说明,请在文件夹中打开 SLNavigation说明文档 进一步了解

===

Latest podspec

{
    "name": "SLNavigationController",
    "version": "1.0.1",
    "summary": "A custom NavigationController in iOS.",
    "description": "A custom NavigationController for iOS",
    "homepage": "https://github.com/supreme0530/SLNavigationController",
    "license": "MIT",
    "authors": {
        "supreme0530": "[email protected]"
    },
    "source": {
        "git": "https://github.com/supreme0530/SLNavigationController.git",
        "tag": "1.0.1"
    },
    "source_files": [
        "SLNavigationController",
        "Classes/*/**/*.{h,m}"
    ],
    "frameworks": [
        "UIKit",
        "Foundation",
        "CoreGraphics"
    ],
    "requires_arc": true,
    "dependencies": {
        "Masonry": [
            "~> 1.0.1"
        ],
        "SDWebImage": [
            "~> 3.8.1"
        ]
    },
    "platforms": {
        "ios": "7.1"
    }
}

Pin It on Pinterest

Share This