Skip to content

Graphmasters/nunav-ios-design-system-distribution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

NunavDesignSystem

Requires Xcode 14 Requires Swift 5.7 SPM compatible

Note
This repository only exists for the purpose of binary distribution of NunavDesignSystem for iOS on the Swift Package Manager. It's main purpose is to be used in public SDKs of Graphmasters GmbH. Please contact Grapmasters GmbH directly if you have any issues.

NunavDesignSystem contains all utility functionality used to power Graphmasters iOS SDKs.


Getting Started

NunavDesignSystem for iOS is distributed using the Swift Package Manager. To add it to your project, follow the steps below.

Package.swift

  1. Add the following to your dependencies.
dependencies: [
    .package(url: "https://github.com/graphmasters/nunav-ios-design-system-distribution", from: "<VERSION>")
]
  1. Add the dependency to your target.
.target(
    name: "Mytarget",
    dependencies: [
        .product(name: "NunavDesignSystem", package: "nunav-ios-design-system")
    ]
)

Xcode

  1. To add a package dependency to your Xcode project, select File > Swift Packages > Add Package Dependency and enter its repository URL. You can also navigate to your target’s General pane, and in the “Frameworks, Libraries, and Embedded Content” section, click the + button, select Add Other, and choose Add Package Dependency.

  2. Either add NunavDesignSystem GitHub distribution URL https://github.com/graphmasters/nunav-ios-design-system-distribution or search for nunav-ios-design-system package.

  3. Choose "Next". Xcode should clone the distribution repository and download the binaries.