- iOS 26 SwiftUI app targeting iPhone and iPad
- Minimum deployment: iOS 26
- Swift 6 with strict concurrency
- Uses SwiftUI throughout - no UIKit unless absolutely necessary
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extension Movie { | |
| static let samples: [Movie] = [ | |
| Movie(id: .init(), title: "The Godfather", year: 1972, director: "Francis Ford Coppola", genre: .drama, rating: 9.2, watched: true), | |
| Movie(id: .init(), title: "Blade Runner", year: 1982, director: "Ridley Scott", genre: .scifi, rating: 8.1, watched: false), | |
| Movie(id: .init(), title: "Pulp Fiction", year: 1994, director: "Quentin Tarantino", genre: .thriller, rating: 8.9, watched: true), | |
| Movie(id: .init(), title: "The Matrix", year: 1999, director: "Lana Wachowski", genre: .scifi, rating: 8.7, watched: true), | |
| Movie(id: .init(), title: "No Country for Old Men", year: 2007, director: "Coen Brothers", genre: .thriller, rating: 8.2, watched: false), | |
| Movie(id: .init(), title: "Inception", year: 2010, director: "Christopher Nolan", genre: .scifi, rating: 8.8, watched: true), | |
| Movie(id: .init(), title: "Whiplash", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extension Movie { | |
| static let samples: [Movie] = [ | |
| Movie(id: .init(), title: "Dune: Part Two", year: 2024, director: "Denis Villeneuve", genre: .scifi, rating: 8.6, watched: true), | |
| Movie(id: .init(), title: "The Brutalist", year: 2024, director: "Brady Corbet", genre: .drama, rating: 7.9, watched: false), | |
| Movie(id: .init(), title: "Alien: Romulus", year: 2024, director: "Fede Álvarez", genre: .thriller, rating: 7.3, watched: true), | |
| Movie(id: .init(), title: "A Real Pain", year: 2024, director: "Jesse Eisenberg", genre: .drama, rating: 8.1, watched: false), | |
| Movie(id: .init(), title: "Conclave", year: 2024, director: "Edward Berger", genre: .thriller, rating: 7.7, watched: true), | |
| Movie(id: .init(), title: "Nickel Boys", year: 2024, director: "RaMell Ross", genre: .drama, rating: 8.3, watched: false), | |
| Movie(id: .init(), title: "The Substance", year: 2024, di |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import SwiftUI | |
| struct RetroSlider: View { | |
| @Binding var value: Double | |
| let range: ClosedRange<Double> | |
| let step: Double | |
| var body: some View { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>UIApplicationSceneManifest</key> | |
| <dict> | |
| <key>UIApplicationSupportsMultipleScenes</key> | |
| <true/> | |
| <key>UIApplicationPreferredDefaultSceneSessionRole</key> | |
| <string>UIWindowSceneSessionRoleVolumetricApplication</string> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Claude Creates Feature Prompts (Prize Wheel) | |
| PROMPT 1 — Context Brief | |
| You are helping me build a Prize Wheel feature for an iOS app. | |
| Here is the complete scope so you have full context before we write any code: | |
| Feature overview: | |
| - A customisable spinning prize wheel |
Create a claude.md file for this project. Include: project purpose, key architecture decisions, coding conventions, and how you should approach common tasks like debugging and adding features.
This function [name] should [expected behavior], but currently [actual behavior]. The error is [error message].
Add [feature] to [file]. It should [specific behavior]. Follow our existing pattern in [similar file]. Consider [edge cases]. Update tests in [test file].