This file contains 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 | |
// The following code was generated using GPT 4-o1 with modifications and follow ups. | |
// | |
// Initial prompt: | |
// | |
// How would you code a view in swiftui where there are 3 views on top of each other | |
// (think 3 squares) and when tapped, they transition into a full window view where they | |
// are all presented in a grid? This is more or less similar to what macOS has in stacks | |
// on the dock |
OlderNewer