Latest 1.6.0
Homepage https://github.com/diaoerlangdang/WiseBaseKit
License GPL-3.0
Platforms ios 8.0, requires ARC
Dependencies MJRefresh, Masonry
Frameworks Foundation, UIKit, AudioToolbox
Authors

iOS 封装的基础库,可使得开发项目更容易

安装

CocoaPods

要使用CocoaPods安装wiseBle,请将其集成到您现有的Podfile中,或创建一个新的Podfile:

target 'MyApp' do
  pod 'WiseBaseKit'
end

然后 pod install.

手动

将WiseBaseKit文件夹添加到项目中

使用方法

#import <WiseBaseKit/WiseBaseKit.h>

介绍

  • 一些基本的宏,如iOS版本判断、颜色、字体等
  • 工具类,如正则、加密、json转换等
  •  

  • 基类WWBaseViewController,所有的controller都为其子类,自带返回,可设置无数据时显示的文字和图片
  •  

  • WWBaseTableViewController、WWBaseCollectionViewController可设置是否显示下拉刷新、上拉加载
  •  

  • WWBaseFragmentController 一个类似安卓中fragment的管理器
  •  

  • WWBaseGuidViewController该类可快速实现向导页面
  •  

  • WWWebView 网页view,带进度条
  •  

  • WWSegmentView 类似于网易顶部的bar,可配合WWBaseFragmentController使用
  •  

  • WWNavigationController push时,自动隐藏tabBar
  •  

  • UIColor、UIImage、UIView 的一些Categories
  •  

  • WWConfigInfo 包含版本号的判断,可继承该类添加一些项目的配置信息

使用的第三方库

MJRefresh 和 Masonry

Latest podspec

{
    "name": "WiseBaseKit",
    "version": "1.6.0",
    "license": "GPL-3.0",
    "summary": "iOS u5c01u88c5u7684u57fau7840u5e93uff0cu53efu4f7fu5f97u5f00u53d1u9879u76eeu66f4u5bb9u6613",
    "homepage": "https://github.com/diaoerlangdang/WiseBaseKit",
    "authors": {
        "wise": "[email protected]"
    },
    "source": {
        "git": "https://github.com/diaoerlangdang/WiseBaseKit.git",
        "tag": "1.6.0"
    },
    "requires_arc": true,
    "platforms": {
        "ios": "8.0"
    },
    "frameworks": [
        "Foundation",
        "UIKit",
        "AudioToolbox"
    ],
    "dependencies": {
        "MJRefresh": [
            "~> 3.1"
        ],
        "Masonry": [
            "~>1.1"
        ]
    },
    "subspecs": [
        {
            "name": "Define",
            "source_files": "WiseBaseKit/define/*.{h,m}"
        },
        {
            "name": "Utils",
            "source_files": "WiseBaseKit/Utils/*.{h,m}"
        },
        {
            "name": "Config",
            "dependencies": {
                "WiseBaseKit/Utils": []
            },
            "source_files": "WiseBaseKit/Config/*.{h,m}"
        },
        {
            "name": "UI",
            "dependencies": {
                "WiseBaseKit/Define": [],
                "WiseBaseKit/Utils": [],
                "WiseBaseKit/Config": []
            },
            "source_files": [
                "WiseBaseKit/UI/*/*.{h,m}",
                "WiseBaseKit/UI/View/*/*.{h,m}",
                "WiseBaseKit/3rd/*/*.{h,m}",
                "WiseBaseKit/WiseBaseKit.h",
                "WiseBaseKit/UI/WWUI.h"
            ],
            "resources": "WiseBaseKit/resource/WiseKitResource.bundle"
        }
    ]
}

Pin It on Pinterest

Share This