Skip to content

Swift library for common data types used in golf-related apps / services.

License

Notifications You must be signed in to change notification settings

creaceed/GolfFoundation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GolfFoundation

Intro

GolfFoundation is a Swift library for managing data types relating to golf. It is used as a building block of Golf Quartz, the Apple Watch (+ iPhone) app for golfers, and Golf Quartz Mapper, the course mapping app for Mac. The goal of this library is to let users of these apps freely use their data as well as enabling other apps to build upon this open representation and enable new uses.

Golf Quartz Image

Main Data Types

Provided data types include:

  • GolfMap: A general golf map representation that includes GPS information about tees and greens for each hole (and other elements) organised into hole groups. Also includes the capability of defining data variants for each hole such as 'winter green' or personalized aiming targets based on player distance.
  • Course: A selection of played holes derived from the golf map, typically a 18-hole subset.
  • Game: A record of multi-player per-hole scores as well as indivudual stroke locations (GPS) and overall statistics like number of putting strokes, hit fairways, and greens in regulation.

As well as a number of other supporting types.

Use Cases

Golf maps and game types support saving to/loading from JSON, which it makes it possible to post process the files generated by the Golf Quartz app. The open JSON format also enables processing them outside of the Swift development ecosystem.

More information

More information about Golf Quartz can be found on Creaceed's website or on the App Store and Mac App Store.

About

Swift library for common data types used in golf-related apps / services.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages