You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-12
Original file line number
Diff line number
Diff line change
@@ -10,25 +10,26 @@ Any app you submit to the Mac App Store must have a GUI. In Python there are a f
10
10
11
11
***[Tkinter] / Tk** - Built-in to Python. Just works.
12
12
* Poorly documented. Limited widget set.
13
-
*<p>Overhead: Nothing</p>
13
+
* Overhead: Nothing
14
14
***[PyObjC] / Cocoa**
15
15
* Reasonably documented and maintained. (But requires you to learn Cocoa.)
16
16
* Provides full access to all OS X native widgets.
17
-
*<p>Overhead: Nothing</p>
17
+
* Overhead: Nothing
18
18
***[ctypes] / Cocoa** - Low-level bindings directly to Cocoa frameworks.
19
19
* Most direct way to access native Cocoa frameworks, albeit verbose.
20
-
* Almost no online documentation for this approach.[^cocoa-python]
21
-
* <p>Overhead: Nothing</p>
20
+
* Almost no online documentation for this approach.
21
+
* The [cocoa-python](https://code.google.com/p/cocoa-python/) library exposes a tiny subset of Cocoa using ctypes. Reading its source code is illustrative.
22
+
* Overhead: Nothing
22
23
***[wxPython] / wxWidgets**
23
24
* Well documented. Lots of widgets.
24
-
* Cannot be submitted to Mac App Store due to wxPython's reliance on deprecated QuickTime APIs.[^wx-qt]
* Cannot be submitted to Mac App Store due to wxPython's reliance on [deprecated QuickTime APIs](https://groups.google.com/forum/#!topic/wxpython-mac/BeUS9GHigvE).
* The app created by py2app crashes with a segmentation fault. My guess is that the py2app needs a special "recipe" for PySide. I don't feel like writing one myself.
*<p>Unable to build from source and no binary installers for OS X are available. Seriously don't people test anything these days?</p>
32
+
* Unable to build from source and no binary installers for OS X are available. Seriously don't people test anything these days?
32
33
33
34
The above assessment leaves the following choices for Mac App Store apps:
34
35
@@ -40,10 +41,6 @@ Probably PyObjC is the best choice to get full functionality. I'm disappointed t
40
41
41
42
This example app uses PyObjC by default but includes samples for several of the other GUI libraries.
42
43
43
-
[^cocoa-python]: The [cocoa-python](https://code.google.com/p/cocoa-python/) library exposes a tiny subset of Cocoa using ctypes. Reading its source code is illustrative.
0 commit comments