Pathfinder: GameplayKit Pathfinding Basics
Version 1.1, 2016-09-28
Updated to Swift 3
(Full Revision History)
Xcode 8 with OS X 10.11, iOS 9.0, or tvOS 9.0 SDK
OS X 10.11, iOS 9.0, tvOS 9.0, and later
This sample demonstrates how to use GameplayKit’s pathfinding features to map out a game world and find paths through it.