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: 8 months ago
JSON representation
🎛 A simple Object-Oriented objc runtime wrapper for Swift.
- Host: GitHub
- URL: https://github.com/showxu/inspector
- Owner: showxu
- License: mit
- Created: 2018-01-11T07:26:41.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-29T05:22:53.000Z (about 8 years ago)
- Last Synced: 2025-06-21T23:32:51.636Z (8 months ago)
- Topics: elegant, objc, objc-runtime, runtime, swift, swift3, swift4, wrapper
- Language: Swift
- Homepage:
- Size: 340 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Inspector [](https://circleci.com/gh/0xxd0/Inspector)
[](https://www.travis-ci.org/0xxd0/Inspector)
[](gitHub.com/0xxd0/Inspector)
[](gitHub.com/0xxd0/Inspector)
[]()
[]()
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](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
[](https://github.com/0xxd0/Inspector/blob/master/LICENSE)
This project is released under the **MIT License**.