Assignment 7

GitHub Issues (SwiftUI)

Due Dates

Resources

Create Your Repository

Assignment

In this assignment, you will create a application that allows users to view open and closed GitHub Issues posted in an open source repo. We will use URLSession to fetch data from the GitHub REST API, and SwiftUI to display it on-screen.

You may choose any open source project on GitHub that has at least 20 open issues. Visit GitHub’s Explore section to browse repositories.

Project Setup

This will be an iPhone application that supports portrait mode only. Select “SwiftUI” from the User Interface drop-down when you create your project.

SwiftUI Views

ContentView

Open Issues
Open Issues

IssueList

IssueDetail

TIP: Use the font modifier and pass in .largeTitle to make the issue’s title more prominent.

Issue Detail
Issue Detail

SwiftUI Previews

Fetching Data

App Icon

Grading