Helpers and extensions for app development
Select File
-> Swift Packages
-> Add Package Dependency
and enter https://github.com/Saik0s/AppDevUtils
.
You can add AppDevUtils
as a package dependency in your Package.swift
file:
let package = Package(
//...
dependencies: [
.package(
url: "https://github.com/Saik0s/AppDevUtils",
exact: "0.0.1"
),
],
//...
)
From there, refer to AppDevUtils
as a "target dependency" in any of your package's targets that need it.
targets: [
.target(
name: "YourLibrary",
dependencies: [
"AppDevUtils",
],
...
),
...
]
Then simply import AppDevUtils
wherever you’d like to use it.
📝 Note: To make the library available to your entire project, you could also leverage the functionality of the @_exported
keyword by placing the following line somewhere at the top level of your project:
@_exported import AppDevUtils
AppDevUtils
is available under the MIT license. See the LICENSE file for more info.