> Hint: Click to show.
> Option 1: The @unknown default case is there to catch cases that get added to an enum after we wrote our code.
> Option 2: UIDevice.current refers to the model number of the most recent iPhone
this is not about "hacking" nor learning programming or engineering. Seemingly that's about monkey coding.
Hacking with swift is one of maybe 4 really solid sources of material on swift and swiftui, many people have been helped tremendously by his work.
> Hint: Click to show.
> Option 1: The @unknown default case is there to catch cases that get added to an enum after we wrote our code.
> Option 2: UIDevice.current refers to the model number of the most recent iPhone
this is not about "hacking" nor learning programming or engineering. Seemingly that's about monkey coding.