How to convert a String of class.member to a "usable" type

What is the outlook for iOS/Swift programmers in the USA? I have a non-IT career and will be retiring somewhat young at age 57 in about 6 years. I have a reasonably good aptitude for coding and was thinking that I could code as a hobby between now and thenand try to pick up some paid work after I retire.

I have some friends who are entrepreneurs and the vibe I’m getting from them is that a lot of iOS coding is outsourced overseas to countries like India.

What’s the overall vibe from some of you who are in the industry? What are the prospects like in getting started as a first or second career as an entry level person? I imagine some trends will change over the next 10 years but to that same regard, some trends are likely to remain too.