Here are the (free) Stanford iOS Swift and the Harvard Python courses that were mentioned earlier:
… https://cs193p.sites.stanford.edu/
… https://pll.harvard.edu/subject/python
For Swift, I’d start by reading through the (free) Apple Swift book, and with Playgrounds app and the Apple Swift intro samples for Playgrounds. Start simple. Then the Stanford course and related. That Apple scrum example is yet more advanced.
The two versions of the Stanford class I “attended” (the older Objective C class, and the newer Swift class) took probably four hours per class, between viewing the class, reading, and programming and then debugging my work. Some classes went faster. Some took more time to understand and to debug.
Learning a new programming language takes an investment to become proficient; from months to years. This learning doesn’t ever end, either. I’m still learning things about some programming languages that I first started programming a very long time ago, and the languages and frameworks are themselves evolving and changing.