Abhiek187 / ez-recipes-ios

Easy recipes finder iOS app
MIT License
0 stars 0 forks source link

Feature/recipe details #36

Closed Abhiek187 closed 10 months ago

Abhiek187 commented 10 months ago

https://github.com/Abhiek187/ez-recipes-web/issues/208 for iOS:

Feature Portrait Landscape
Pills pills-portrait pills-landscape
Info info-portrait info-landscape

I was debating using symbols/emojis for each pill, but I wasn't sure how to represent each category, and wanted to stay consistent. I'm open to modifying this design if needed.

I went ahead and added all the other APIs and models, but will test them when I implement those features. In the process, I realized that I didn't need to add @Binding to all the Views. Since each component is read-only, I just need to pass the corresponding recipe property. All the child views will automatically update when the recipe ViewModel updates.

Edit: I also learned that the macOS runner doesn't currently know what annotations or visionOS are. 😄 Edit 2: It also doesn't know what a capsule is. 😭