Royal Swift is a utility package that includes any classes, structs, enum, or extension that I have written and found useful!
Select File
-> Swift Packages
-> Add Package Dependency
and enter https://github.com/aking618/RoyalSwift
.
You can add RoyalSwift
as a package dependency in your Package.swift
file:
let package = Package(
//...
dependencies: [
.package(
url: "https://github.com/aking618/RoyalSwift",
exact: "0.0.1"
),
],
//...
)
From there, refer to RoyalSwift
as a "target dependency" in any of your package's targets that need it.
targets: [
.target(
name: "YourLibrary",
dependencies: [
"RoyalSwift",
],
...
),
...
]
- World Domination
- Xcode 15.0+
Documentation is built with DocC (see Apple's guidance for more details about creating DocC content).
To build and preview the documentation output, follow the instructions for the here for the Swift-DocC Plugin
.
If you're using VSCode, there's also a task configuration that will handle this directly from the editor 💪
RoyalSwift
is available under the MIT license. See the LICENSE file for more info.