A SwiftUI-based iOS app that lets you search for golf courses using data from the GolfCourseAPI.
- Course search
- Location details
- Tee breakdowns by gender
- Recently viewed courses persist in CoreData (using new SwiftData implementation)
- Clone the repository
git clone https://github.com/HansHeidmann/GolfCourseFinder.git
- Open 'GolfCourseFinder.xcodeproj' with Xcode
- I didn't add a gitignore for the Secrets.xcconfig (has API Key) can use as is and skip steps 4 and 5
- Get an API Key from GolfCourseAPI
- Insert your API Key
find this line in the only ViewModel:
request.setValue("Key YOUR_API_KEY", forHTTPHeaderField: "Authorization")
- Run the app
- Select a simulator or connected device
- Press 'Cmd + R' to build and run