Skip to content

项目使用 Import project

Damon edited this page Apr 10, 2018 · 1 revision

文件结构 file structure

HDCommonTools包含了下面的文件,使用文件导入时也可以根据需要,只导入对应文件

HDCommonTools contains the following documents, the use of import documents can also be based on the need to import only the corresponding documents

文件名 file name 文件作用 Document function
HDCommonHeader.h 包含所有头文件 Contain all the header files
HDCommonDefine.h 快捷处理的宏定义 Macro definition of shortcut processing
HDCommonToolsConfig 项目定义的枚举类型 Enumerated type of project definition
HDCommonTools 数据处理函数 Data processing function
HDCommonTools+FileHandle 文件处理函数 File processing function
HDCommonTools+Multimedia 多媒体文件处理函数 Multimedia file processing function
HDCommonTools+Permission 权限管理和申请函数 Authority management and application function
HDCommonTools+SystemInfo 手机系统信息及项目信息函数 system information and project information function
HDCommonTools+Appstore appstore相关操作函数 Appstore related operating function
HDCommonTools+Encrypt 加密解密相关操作函数 Encryption and decryption related operating function
HDCommonTools+Date 时间相关操作函数 date related operating function

导入项目 Import project

该工具可以使用cocoapods导入,也可以通过下载源文件导入。

The HDCommonTools can be imported with cocoapods or by downloading source files.

通过cocoapods导入 Importing through cocoapods

pod 'HDCommonTools'

通过文件导入 Importing through files

下载项目,将项目文件下的HDCommonTools文件夹里面的内容导入项目即可

Download the project, import the contents of the HDCommonTools folder into the project.

Clone this wiki locally