hughkli / Lookin

Free macOS app for iOS view debugging.
GNU General Public License v3.0
1.1k stars 178 forks source link

Preview

Introduction

You can inspect and modify views in iOS app via Lookin, just like UI Inspector in Xcode, or another app called Reveal.

Official Website:https://lookin.work/

Integration Guide

To use Lookin macOS app, you need to integrate LookinServer (iOS Framework of Lookin) into your iOS project.

Warning Never integrate LookinServer in Release building configuration.

via CocoaPods:

Swift Project

pod 'LookinServer', :subspecs => ['Swift'], :configurations => ['Debug']

Objective-C Project

pod 'LookinServer', :configurations => ['Debug']

via Swift Package Manager:

https://github.com/QMUI/LookinServer/

Repository

LookinServer: https://github.com/QMUI/LookinServer

macOS app: https://github.com/hughkli/Lookin/

Tips

Acknowledgements

https://qxh1ndiez2w.feishu.cn/docx/YIFjdE4gIolp3hxn1tGckiBxnWf


简介

Lookin 可以查看与修改 iOS App 里的 UI 对象,类似于 Xcode 自带的 UI Inspector 工具,或另一款叫做 Reveal 的软件。

官网:https://lookin.work/

安装 LookinServer Framework

如果这是你的 iOS 项目第一次使用 Lookin,则需要先把 LookinServer 这款 iOS Framework 集成到你的 iOS 项目中。

Warning 记得不要在 AppStore 模式下集成 LookinServer。

通过 CocoaPods:

Swift 项目

pod 'LookinServer', :subspecs => ['Swift'], :configurations => ['Debug']

Objective-C 项目

pod 'LookinServer', :configurations => ['Debug']

通过 Swift Package Manager:

https://github.com/QMUI/LookinServer/

源代码仓库

iOS 端 LookinServer:https://github.com/QMUI/LookinServer

macOS 端软件:https://github.com/hughkli/Lookin/

技巧

鸣谢

https://qxh1ndiez2w.feishu.cn/docx/YIFjdE4gIolp3hxn1tGckiBxnWf