RDThomas 0.0.5

RDThomas 0.0.5

测试已测试
语言语言 Obj-CObjective C
许可证 MIT
发布日期上次发布2017年3月

richardlee维护。



RDThomas 0.0.5

  • RichardLee

Thomas

Thomas是一个用于在iOS 8+上打开设置页面及其子页面的Objective-C库

需求

  • iOS 8.0或更高版本

支持的设置页面

  • [x] /// 打开无线网络页面:RDSysPageWifi
  • [x] /// 打开蓝牙页面:RDSysPageBluetooth
  • [x] /// 打开个人热点页面:RDSysPageHotspot
  • [x] /// 打开关于页面:RDSysPageAbout
  • [x] /// 打开通用设置:RDSysPageGeneral
  • [x] /// 打开蜂窝移动设置:RDSysPageCellular
  • [x] /// 打开iCloud设置:RDSysPage_iCloud
  • [x] /// 打开iCloud存储设置:RDSysPage_iCloudStorage
  • [x] /// 打开App Store:RDSysPageStore
  • [x] /// 打开通知设置:RDSysPageNotification
  • [x] /// 打开显示设置:RDSysPageDisplay
  • [x] /// 打开位置设置:RDSysPageLocation
  • [x] /// 打开键盘设置:RDSysPageKeyboard
  • [x] /// 打开日期时间设置:RDSysPageDateTime
  • [x] /// 打开VPN设置:RDSysPageVPN
  • [x] /// 打开电话设置:RDSysPagePhone
  • [x] /// 打开声音设置:RDSysPageSounds
  • [x] /// 打开照片设置:RDSysPagePhotos
  • [x] /// 打开壁纸设置:RDSysPageWallpaper
  • [x] /// 打开电池设置:RDSysPageBATTERY
  • [x] /// 打开辅助功能设置:RDSysPageACCESSIBILITY
  • [x] /// 打开iOS软件更新设置:RDSysPageSysUpdate

如何使用

Objective-C:

#import <RDThomas/RDThomas.h>
...
    [RDThomas openPage:RDSysPageWifi completionHandler:^(BOOL aSuccess) {
    }];
Swift:

import RDThomas
...
        RDSwiftThomas.openPage(RDSysPageWifi) { (aSuccess) in
            print(aSuccess)
        }

安装

有三种方式可以将SDWebImage集成到您的项目中

  • 使用CocoaPods
  • 使用Carthage
  • 将项目克隆到您的仓库中

Podfile

platform :ios, '8.0'
pod 'RDThomas'

如果您使用Swift,请确保添加use_frameworks!并将目标设置为iOS 8+

platform :ios, '8.0'
use_frameworks!

Cartfile

github "RichardLeeH/Thomas"

通过克隆仓库安装

在源文件中导入头文件

在您需要使用库的源文件中导入头文件

objective-c
#import <RDThomas/RDThomas.h>
Swift:
import RDThomas

许可证

所有源代码均受MIT许可证的许可。