Read books, watch videos, practice
There are a few game dev books around, here’s a couple:
Apple Game Frameworks and Technologies - by @Paradox927
Hands-on Rust: Effective Learning through 2D Game Development and Play (PragProg) - by @herbert
Good luck and let us know how you get on