目录
目录README.md

AFNetworks

Swift Package Manager

import PackageDescription

let package = Package(
    name: "AFNetworks",
    products: [
        // Products define the executables and libraries produced by a package, and make them visible to other packages.
        .library(
            name: "AFNetworks",
            targets: ["AFNetworks"]),
    ],
    dependencies: [
        // Dependencies declare other packages that this package depends on.
        // .package(url: https://github.com/afdetails/AFNetwork.git, from: "1.0.0"),
    ],
    targets: [
        // Targets are the basic building blocks of a package. A target can define a module or a test suite.
        // Targets can depend on other targets in this package, and on products in packages which this package depends on.
        .target(
            name: "AFNetworks",
            dependencies: []),
        .testTarget(
            name: "AFNetworksTests",
            dependencies: ["AFNetworks"]),
    ]
)

And then import wherever needed: import AFNetwork

关于
51.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号