I have implemented these two screens following the apple developer guide. I am currently working on a "feed" that will replace the list format of the first frame and instead will cycle through the topics in the format shown in the second frame.
I need to figure out how to change the JSON of the topic once the user clicks either like or dislike. I also need to figure out how to implement functions... I am planning on revisiting the MVVM structure from the memorize app I built following the Stanford tutorial. I am having a hard time figuring out how pages connect. With web design, HTML is the format, CSS is the design, and JavaScript holds the functions. With swift, I have no idea where things are supposed to go and how to connect them together. I also cannot seem to find a simple break down of this on the internet (we should go over this in class wink wink)
Checklist:
make like and dislike button work (change the "isLiked" and "isDisliked" variables in JSON)
connect like and dislike buttons so when like is pressed unlike is unchecked (can you have one button with 2 icons?)
figure out how to make the feed, I think I could use a ForEach (I tried this and it failed but I will try again)
figure out how the user will "scroll" through the feed (buttons? swiping?)
make it cute because she is the trenches right now
add more JSON data (maybe categories the polls "animals", "food", etc.)
add a daily poll (DP) feature
add a user profile feature showing their likes and dislikes
add a navigation bar to get between the features (if I can implement the other features)
I am really excited about this app but feel really lost on the general process of making a swift app. I am slowly chipping away at it as my eye balls melt into my computer screen, but if you know of any resources that can explain swift logic in a simple way please share it with me. I need someone to draw out on a white board how the different .swiftui and .swift pages connect.
Also side note, I made a new app repo because things got really scary in the old one. The new one is MAD-Polls, and I updated this on my config.yml so you should be able to find it but if not let me know :)
I have implemented these two screens following the apple developer guide. I am currently working on a "feed" that will replace the list format of the first frame and instead will cycle through the topics in the format shown in the second frame. I need to figure out how to change the JSON of the topic once the user clicks either like or dislike. I also need to figure out how to implement functions... I am planning on revisiting the MVVM structure from the memorize app I built following the Stanford tutorial. I am having a hard time figuring out how pages connect. With web design, HTML is the format, CSS is the design, and JavaScript holds the functions. With swift, I have no idea where things are supposed to go and how to connect them together. I also cannot seem to find a simple break down of this on the internet (we should go over this in class wink wink)
Checklist:
I am really excited about this app but feel really lost on the general process of making a swift app. I am slowly chipping away at it as my eye balls melt into my computer screen, but if you know of any resources that can explain swift logic in a simple way please share it with me. I need someone to draw out on a white board how the different .swiftui and .swift pages connect.
SOS ZEF
xoxo nancyyoder :)