Hey Wayne,
Thank you so much for sharing your code as an example. It is written so nicely and I only hope to be able to write like this by myself one day. I have been learning to code for three months now and at this point I am just learning from messing around with the code and reading the docs (which I find hard to understand) so apologies for the dumb questions.
I wanted to ask - since you have used Central().fetch2 to get current web data, I thought I might be able to use my isRefreshRequired() from my ViewController() class... something like
let appRefreshOperation = ViewConroller().isRefreshRequired
obviously it gave me errors since it is incorrect, but I am not quite sure what to put here? Should I be making a separate struct that has .isRefreshRequired() as a method and use it that way?
Post
Replies
Boosts
Views
Activity
The current code does not work, so whenever I reopen the app it just gives me a new set of words. This is the only relevant code...
Whenever the user opens the app, it should check if it is the same day. If it is, it should show the word already chosen for that day. If it is a new day it should relaunch updateWordOfTheDay() to show a new word