A* pathfinding library in Swift.
Protocol oriented A* (A star) pathfinding algorithm implementation in Swift 5 (Playground included).
Add pathfinding to your graph just by implementing the 3 requirements of the Graph protocol.
AStar macOS
targer and press command
+ b
)You can now add this package to your project using SPM 🎉
Xcode 11 has a new interface to include packages into your existing projects.
File
→ Swift Packages
→ Add Package Dependency...
AStar
and select this repository.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.