• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ANN: PyObjC 0.8 released
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ANN: PyObjC 0.8 released


  • Subject: ANN: PyObjC 0.8 released
  • From: Bill Bumgarner <email@hidden>
  • Date: Thu, 19 Dec 2002 16:41:49 -0500

PyObjC version 0.8 is now available for download.

See...

http://pyobjc.sourceforge.net/

... for more information.

The installer package includes a Project Builder project template for easily creating new Cocoa-Python projects.

PyObjC fully supports creating full featured Cocoa applications written in pure Python. There are aspects of PyObjC that are more powerful than Cocoa in pure Obj-C (the ability to automatically define classes/outlets based on the contents of a NIB file, for example).

PyObjC requires OS X 10.2 or greater. 10.1 support is possible and will likely happen soon-- contact me if you need 10.1 support and are willing to do a bit of grunt work to generate the appropriate files (easy to do).

PyObjC also provides an awesome environment for exploring frameworks:

>>> from objc import *
>>> from Foundation import *
>>> b = NSBundle.bundleWithPath_("/System/Library/PrivateFrameworks/ PBXCore.framework")
>>> b.principalClass()
<objective-c class PBXProducerTarget at 0xa9030034>
>>> NSBundle.searchPathsForSupportFilesWithSubpath_("FooBar")
(
"/Volumes/Data/Users/bbum/Developer/ProjectBuilder Extras/FooBar",
"/Network/Developer/ProjectBuilder Extras/FooBar",
"/Developer/ProjectBuilder Extras/FooBar"
)
>>> PBXProject = lookUpClass("PBXProject")
>>> p = PBXProject.projectWithFile_("/Developer/Examples/AppKit/TextEdit/ TextEdit.pbproj")
>>> p.targets()
(<PBXApplicationTarget:0x00a76830:6FE2093EFE93D5F211CA2CEA:name='TextEdi t'>)
>>> p.buildStyles()
(
<PBXBuildStyle:0x00a77d30:011ADBA3FF9FD52E11CA0C5D:name='Development':bu ildSettings.count=2>,
<PBXBuildStyle:0x00a82180:011ADBA4FF9FD52E11CA0C5D:name='Deployment':bui ldSettings.count=1>
)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Prev by Date: Re: "First Run" installation of Application support stuff?
  • Next by Date: Re: "First Run" installation of Application support stuff?
  • Previous by thread: set text on another application's window
  • Next by thread: OpenGL Examples broken in 10.2.3
  • Index(es):
    • Date
    • Thread