Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/showxu/inspector

🎛 A simple Object-Oriented objc runtime wrapper for Swift.
https://github.com/showxu/inspector

elegant objc objc-runtime runtime swift swift3 swift4 wrapper

Last synced: about 12 hours ago
JSON representation

🎛 A simple Object-Oriented objc runtime wrapper for Swift.

Awesome Lists containing this project

README

        

# Inspector [![Circle CI](https://circleci.com/gh/0xxd0/Inspector/tree/master.svg?style=svg)](https://circleci.com/gh/0xxd0/Inspector)

[![Travis CI](https://img.shields.io/travis/0xxd0/Inspector.svg)](https://www.travis-ci.org/0xxd0/Inspector)
[![CocoaPods](https://img.shields.io/cocoapods/p/Inspector.svg)](gitHub.com/0xxd0/Inspector)
[![CocoaPods](https://img.shields.io/cocoapods/v/Inspector.svg)](gitHub.com/0xxd0/Inspector)
[![](https://img.shields.io/github/repo-size/0xxd0/Inspector.svg)]()
[![Swift Version](https://img.shields.io/badge/Swift-3.2%20%7C%204.0-ed523f.svg)]()

An elegant Object-Oriented objc runtime wrapper for Swift.

- [Requirement](#requirement)
- [Installation](#installation)
- [Document](#document)
- [License](#license)

## 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](https://img.shields.io/cocoapods/v/Inspector.svg)

[CocoaPods](http://cocoapods.org) 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

```bash
$ gem install cocoapods
```

#### Integrate Inspector

With CocoaPods, specify Inspector in your `Podfile`:

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

target '' do
pod 'Inspector', '~> 0.0.1'
end
```

run pod install:

```bash
$ pod install
```

### Carthage

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

#### Install Carthage

```shell
$ brew update
$ brew install carthage
```

#### Integrate Inspector

Add following to Cartfile:

```
github "0xxd0/Inspector" ~> 0.0.1
```

### Swift Package Manager

The [Swift Package Manager](https://swift.org/package-manager/) is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.

#### Integrate Inspector

```swift
// 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](https://0xxd0.github.io/Inspector/)

## License
[![license](https://img.shields.io/github/license/0xxd0/Inspector.svg?colorA=24292e&colorB=24292e&style=flat)](https://github.com/0xxd0/Inspector/blob/master/LICENSE)

This project is released under the **MIT License**.