Lesson Two, Preview Hiccups

I look to the Previews while coding to be sure what I am coding is correct, and from time to time it feels as though if one file is ‘off’ or does not compile, the system will not enable SwiftUI previews. Thankfully, the error pointed straight to the issue. I had created an instance variable on my view, and as a result the Preview macro was seeking a place to pull data from something. Kind of like when you are hungry, your whole body stops to notice the stomach.

The second hiccup I guess is minor- I got to the end where we preview the app on iPad- I thought I saw a ‘rotate’ button or something to that effect (‘Landscape Left’) that was not visible on my end.

While checking Previews, Xcode seems to have had enough of me and just force-quit itself 😭

I have a few thoughts.
If I had to put more photos in the app, how could I accomplish it? I know Apple put out a sample app called Meme Creator to solve this, but if I didn’t know, how would I solve this problem? Some people may imagine a best practice to be stuff the images into the app and submit it to the store that way.
Next, how would we test this? Which architecture is a good fit?
If I could expand on this app, what would I do?

I have the idea for a feature where you meet your friends, you and your circle open up location sharing in the app and meet at a ‘Spot’
Also, maybe you don’t know how to find your designated ‘Spot’- I would create a feature that gives directions from your location to the ‘Spot’.
I would create a feature where this app can get a photo, store the location and name of a new park. Storage is a concern, SwiftData is possible for storing information.
AFAIK, all three would require location sharing with the app permissions, the third would require camera access also.

Standard