Contents

Dev1an/A-Star

A* pathfinding library in Swift.

Playground

  • To use the playground: open AStar.xcodeproj
  • Build the macOS framework (select the AStar macOS targer and press command + b)
  • Click on Playground.playground

[Playground]

Swift Package Manager

You can now add this package to your project using SPM 🎉

Using Xcode

Xcode 11 has a new interface to include packages into your existing projects.

  • Click FileSwift PackagesAdd Package Dependency...
  • Search for AStar and select this repository.
  • Follow the on screen instructions

[Playground]

Manualy editing package file

To include it in your package manually, add the following dependency to your Package.swift file.

.package(url: "https://github.com/Dev1an/A-Star.git", .branch("master"))

Use import AStar to access the APIs.

Package Metadata

Repository: Dev1an/A-Star

Stars: 41

Forks: 10

Open issues: 2

Default branch: master

Primary language: swift

License: MIT

Topics: pathfinder, pathfinding-algorithm, playground, protocol-oriented

README: README.md