I’m looking at developing a Mac OS X/macOS (10.11 or later) database application that’ll pull/edit data from a MySQL server (that I will also need to setup and parse data using phpWebServices). My programming limitations are that of HTML/CSS/some Java so this is new to me but I’ve got to start somewhere. My question is would it be best to learn to program at the beginning in Objective-C, or Swift (with some C code thrown in for areas Swift doesn’t cover)?
Swift seems good on the surface, but from what I can find online it’s more geared for watchOS, iOS, etc. Does anyone actually make real Mac apps/programs with Swift, or are most programmers still using Objective-C in XCode? I do not know if I could get backwards compatibility with my app to run in Mac OS X 10.11. That’s the minimum OS X I’m shooting for, and I don’t see any reason why it couldn’t run or be programmed with newer code and then a few non-essential functions disabled for older system versions? Also, is there is a spreadsheet or resource somewhere that shows what Swift commands, variables, etc. are depreciated as one goes back in macOS version (this one command works on 10.15, but doesn’t work in 10.13, etc.)? What about conversion charts between Objective-C and Swift?
In the future, once the program is running as it should, I’ll integrate watchOS and iOS notifications for various true/false sections of a few MySQL tables and pass those notifications once set. I realize some of the mobileOS features may not function if the program is running on an older system, and that’s why it would be handy to have a resource as to what was done years ago to 1) get the same function in newer version Swift code, or 2) disable that section of code. I’ll be taking on a fire hose of information to figure this out and I’ll do my best to search the Apple dev forums, stackoverflow and other sites before I post questions, but as each situation is unique I’m sure I’ll get stuck somewhere.