Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 832 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 832 Bytes

SwiftyNifti

SPM compatible

This package makes it easier to read nifti(.nii) files using native Swift code

Integration

Swift Package Manager

You can use The Swift Package Manager to install SwiftyNifti by adding the proper description to your Package.swift file:

// swift-tools-version:5.9
import PackageDescription

let package = Package(
    name: "YOUR_PROJECT_NAME",
    dependencies: [
        .package(url: "https://github.com/Vaidios/swift-nifti.git", branch: "main"),
    ],
    targets: [
        .target(
            name: "YOUR_TARGET", dependencies: [.product(name: "SwiftyNifti", package: "swift-nifti")]
        )
    ]
)