Swiftpack.co -  rakesh4real/swift-datastructures as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
rakesh4real/swift-datastructures
This is Swift package for different data structures and supported by swift package manager
.package(url: "https://github.com/rakesh4real/swift-datastructures.git", from: "0.0.1")

Data Structures Library - Swift Programming Language

Usage:

  • In Swift-Jupyter Notebooks
  • In Swift Package Manager

I. Importing in Swift-Jupyter Notebooks

Use the following in first cell (after restarting runtime)

%install-location $cwd/swift-install
%install '.package(url: "https://github.com/rakesh4real/swift-datastructures", from:"0.0.1")' DataStructures

Blank swift-jupyter notebook link

Then, import it using

import DataStructures

II. Importing in SPM

In package.swift:

// add this in appropriate place
.package(url: "https://github.com/rakesh4real/swift-datastructures", from:"0.0.1")

// add this in appropriate place i.e taget dependancies
.target(
            name: "DataStructures",
            dependencies: ["DataStructures"]

Then, import it using

import DataStructures

Know more about SPM packages here

Available Data Structures

  • Stack
  • Queue
  • Array2D

GitHub

link
Stars: 0
Last commit: 1 year ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

Initial Release
1 year ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API