Apple Developer Connection Posts Using PyObjC for Developing Cocoa Applications with Python

You can develop complete Cocoa applications with Python, by using the Cocoa-Python bridge called PyOjbC. PyObjC (pronounced pie-obz-see) is the key piece that makes it possible to write Cocoa applications in Python. It enables Python objects to message Objective-C objects as if they're fellow Python objects, and likewise facilitates Objective-C objects to message Python objects as brethren. This article touches on Cocoa bridges and Python in general, and discusses some of the factors to consider before choosing this option. Then the article explains where to get PyObjC and how to install it. Finally, you'll learn how to write a Cocoa application in Python by building a simple application from start to finish. A trio of QuickTime movies are included which demonstrate using Interface Builder to accomplish this task. Using PyObjC for Developing Cocoa Applications with Python gets one started building a sample Cocoa app with PyObjC. [Bill Fox]



Saw something? Send a tip

The archive ran on reader tips. What did you see, where, and do you want the credit?

Read by the editor. Never published without your say.

More in Learning · This month in the archive