I have never written anything using XCode. I have written in other languages such as Basic, Pascal, Assembler, Java, PHP and Python.I just never got around to learning C or C++, which is what XCode looks like to me, but it also resembles Python in my opinion. I have written a program in Python and I would like to convert it to a native macOS application and possibly even offer it through the App Store for macOS one day.I know XCode and Swift just went through a major revision with the release of macOS Catalina and the updates and information is still propogating for the learning sites and ebooks.I have attempted to follow the Apple Developer Tutorial for the Landmarks application because it shows that it will teach the learner how to deploy the application to all Apple platforms, but that tutorial has some inconsistencies that a newbie to XCode like myself has difficulty overcoming once I started section 2 (I've submitted Feedback to Apple for this issue).I have no real interest in developing for the iOS platform, or any other platform for that matter, at this time. So, I am looking for a macOS specific developer course or book I can use for learning XCode 11.*/SwiftUI 5.* environments.I checked out the free 24 page download for Hacking macOS by Paul Hudson from the Hacking With Swift site, but the in the 24 page sample it starts off having you create a macOS application and choosing "Cocoa Application", which is not an option in XCode 11.1. Is it the same and Apple just changed the name to just "App"? I'm skeptical to buy something when right off the bat there is an inconsistency with what the reader is encountering between the book and real world. Anyone have experience learning from that author? Back in my day the O'Reilly books were some of my goto sources for learning different languages. I looked there and it seems they're focused on iOS app development and nothing appears to be targeted for recent macOS development.I've searched through the forums for this question and didn't find anything that was as specific as this question.Thank you!Tom
Post
Replies
Boosts
Views
Activity
I am experiencing a problem under Catalina while using Python 3.7.4 and 3.8.0.I am trying to click on the menu but it is not responding to mouse clicks until I switch to another window and then come back to the python app.You can see this by running the following code:import tkinter as tk
root = tk.Tk()
root.mainloop()I know this is minimal as a program, but it displays exactly what the issue is. Even with this minimal program you should still be able to click the 'python' menu next to the Apple icon on the menu and quit, but you cannot until you CMD+Tab/click out of the python window and then CMD+Tab/click back into the python window.Is there something wrong between Catalina and Python? Any idea what I can do to fix this behavior?My environment is macOS Catalina 10.15, Python 3.7.4 via pyEnv, and Visual Studio Code 1.39.2.