RDThomas 0.0.5

RDThomas 0.0.5

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Mar 2017

Maintained by richardlee.



RDThomas 0.0.5

  • By
  • RichardLee

Thomas

Thomas is a Library for opening settings page and sub pages on iOS 8+ in Objective-C

Requirements

  • iOS 8.0 or later

Supported settings pages

  • [x] /// open wifi page :RDSysPageWifi(无线网络)
  • [x] /// open buletooth page :RDSysPageBluetooth (蓝牙)
  • [x] /// open hotsopt page :RDSysPageHotspot (个人热点)
  • [x] /// open about page :RDSysPageAbout (关于)
  • [x] /// open General :RDSysPageGeneral(通用)
  • [x] /// open Cellular :RDSysPageCellular(蜂窝移动)
  • [x] /// open iCloud :RDSysPage_iCloud
  • [x] /// open iCloud strorage :RDSysPage_iCloudStorage
  • [x] /// open app store :RDSysPageStore
  • [x] /// open notification :RDSysPageNotification(通知)
  • [x] /// open DISPLAY :RDSysPageDisplay(显示)
  • [x] /// open Location :RDSysPageLocation(位置)
  • [x] /// open Keyboard :RDSysPageKeyboard(键盘)
  • [x] /// open DateTime :RDSysPageDateTime(日期时间)
  • [x] /// open VPN :RDSysPageVPN
  • [x] /// open Phone :RDSysPagePhone(电话)
  • [x] /// open Sounds :RDSysPageSounds(声音)
  • [x] /// open Photos :RDSysPagePhotos(照片)
  • [x] /// open Wallpaper :RDSysPageWallpaper(壁纸)
  • [x] /// open BATTERY_USAGE :RDSysPageBATTERY(电池设置)
  • [x] /// open ACCESSIBILITY :RDSysPageACCESSIBILITY(辅助功能)
  • [x] /// open iOS SoftwareUpdate :RDSysPageSysUpdate(iOS 更新)

How To Use

Objective-C:

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

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

Installation

There are three ways to use SDWebImage in your project:

  • using CocoaPods
  • using Carthage
  • by cloning the project into your repository

Podfile

platform :ios, '8.0'
pod 'RDThomas'

If you are using Swift, be sure to add use_frameworks! and set your target to iOS 8+:

platform :ios, '8.0'
use_frameworks!

Cartfile

github "RichardLeeH/Thomas"

Installation by cloning the repository

Import headers in your source files

In the source files where you need to use the library, import the header file:

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

Licenses

All source code is licensed under the MIT License.