Skip to content

馃帥 A simple Object-Oriented objc runtime wrapper for Swift.

License

Notifications You must be signed in to change notification settings

showxu/Inspector

Repository files navigation

Inspector Circle CI

Travis CI CocoaPods CocoaPods Swift Version

An elegant Object-Oriented objc runtime wrapper for Swift.

Requirement

Required

  • Xcode 9.0+
  • iOS 8.0+ | macOS 10.9+ | tvOS 9.0+ | watchOS 2.0+
  • Swift 3.2+

Optional

  • CocoaPods 1.3+

Installation

CocoaPods

CocoaPods

CocoaPods CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. It has over 41 thousand libraries and is used in over 3 million apps. CocoaPods can help you scale your projects elegantly.

Install Cocoapods

$ gem install cocoapods

Integrate Inspector

With CocoaPods, specify Inspector in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

target '<Your Target>' do
    pod 'Inspector', '~> 0.0.1'
end

run pod install:

$ pod install

Carthage

Carthage is intended to be the simplest way to add frameworks to your Cocoa application.

Install Carthage

$ brew update
$ brew install carthage

Integrate Inspector

Add following to Cartfile:

github "0xxd0/Inspector" ~> 0.0.1

Swift Package Manager

The Swift Package Manager is a tool for managing the distribution of Swift code. It鈥檚 integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.

Integrate Inspector

// Package.swift
// swift-tools-version:3.0

let package = Package(
    name: "<#Your Target#>",
    dependencies: [
        // 路路路
        .Package(url: "https://github.com/0xxd0/Inspector.git", majorVersion: 0)
        // 路路路
    ]
)

Manually

Download zip or clone repo and integrate into your project manually.

Document

See Online Documentation

License

license

This project is released under the MIT License.