UIKit 基础组件

使用 UIKit 开发的必备组件。

要求

在你的项目中使用 UIKitEssentials

要在 SwiftPM 项目中使用 UIKitEssentials 库,请将以下行添加到你的 Package.swift 文件中的依赖项

.package(url: "https://github.com/jrsaruo/UIKitEssentials", from: "1.4.0"),

并在你的目标中添加 UIKitEssentials 作为依赖项

.target(name: "<target>", dependencies: [
    .product(name: "UIKitEssentials", package: "UIKitEssentials"),
    // other dependencies
]),

最后,在你的源代码中添加 import UIKitEssentials