This is a sample project for you to download and code UIKit apps right on your iPad.
- Download
UIKit Sample.swiftpm.zipinto your iPad. - Unzip the file. (Tap it in Files)
- Open the file in Swift Playgrounds.
- Enjoy! Your View Controller is in
Main.swift.
- Add a new Swift file by tapping the "new" button.
- Delete
import SwiftUI(if it's there) and writeimport UIKit. - Enjoy! You can now add new View Controllers in your file.
You can upload the apps you make to the App Store from within Swift Playgrounds. More information about Swift Playgrounds can be found in here: https://developer.apple.com/swift-playgrounds/
