- Notifications
You must be signed in to change notification settings - Fork 123
Use Components
When you only need one or more functions in the LLDebugTool, or you want to install a functional module into your own Debug Tool, you can use some of the components in the LLDebugTool to operate.
- Each component is divided into
Functionfolders andUserInterfacefolders. TheFunctionfolder is the specific function implementation of the current module, and theUserInterfacefolder is the specific UI implementation of the current module. If you want to modify the UI, you can look at theUserInterfacefolder under the specific function module. - The General module is a generic component that stores some common functionality or UI controls of the parent class, and other components eventually rely on this General.
- The StorageManager module operates on the database, and the Network, Log, and Crash components rely on this Storage Manager module because all three modules need to store the Model locally.
-
Cocoapods
1.Add
Pod 'LLDebugTool/Network'to the Podfile, and if your project is a Swift project, addPod 'LLDebug ToolSwift/Network'. -
Source Files
1.Download the latest code version and drag the
LLDebugTool/Components/Networkfolder into the project.2.Other file install is done according to the StorageManager module.
-
Cocoapods
1.在Podfile中添加
Pod 'LLDebugTool/Log',如果你的项目是Swift项目,则添加Pod 'LLDebugToolSwift/Log'。 -
源文件
1.下载最新的代码版本并将
LLDebugTool/Components/Log文件夹拖入项目中。2.按照StorageManager模块进行其他文件集成。
-
Cocoapods
1.在Podfile中添加
Pod 'LLDebugTool/Crash',如果你的项目是Swift项目,则添加Pod 'LLDebugToolSwift/Crash'。 -
源文件
1.下载最新的代码版本并将
LLDebugTool/Components/Crash文件夹拖入项目中。2.按照StorageManager模块进行其他文件集成。
-
Cocoapods
1.在Podfile中添加
Pod 'LLDebugTool/AppInfo',如果你的项目是Swift项目,则添加Pod 'LLDebugToolSwift/AppInfo'。 -
源文件
1.下载最新的代码版本并将
LLDebugTool/Components/AppInfo文件夹拖入项目中。2.按照General模块进行其他文件集成。
-
Cocoapods
1.在Podfile中添加
Pod 'LLDebugTool/Sandbox',如果你的项目是Swift项目,则添加Pod 'LLDebugToolSwift/Sandbox'。 -
源文件
1.下载最新的代码版本并将
LLDebugTool/Components/Sandbox文件夹拖入项目中。2.按照General模块进行其他文件集成。
-
Cocoapods
1.在Podfile中添加
Pod 'LLDebugTool/Screenshot',如果你的项目是Swift项目,则添加Pod 'LLDebugToolSwift/Screenshot'。 -
源文件
1.下载最新的代码版本并将
LLDebugTool/Components/Screenshot文件夹拖入项目中。2.按照General模块进行其他文件集成。
-
Cocoapods
1.在Podfile中添加
Pod 'LLDebugTool/StorageManager',如果你的项目是Swift项目,则添加Pod 'LLDebugToolSwift/StorageManager'。2.在Podfile中添加
Pod 'FMDB'。 -
源文件
1.下载最新的代码版本并将
LLDebugTool/Components/StorageManager文件夹拖入项目中。2.按照General模块进行其他文件集成。
3.集成FMDB到项目中。
-
Cocoapods
1.在Podfile中添加
Pod 'LLDebugTool/General',如果你的项目是Swift项目,则添加Pod 'LLDebugToolSwift/General'。 -
源文件
1.下载最新的代码版本并将
LLDebugTool/Components/General文件夹拖入项目中。2.将
LLConfig.h和LLConfig.m拖到项目中。