Skip navigation.
 
mlANN: PyObjC 0.8 released
FROM : Bill Bumgarner
DATE : Thu Dec 19 22:41:49 2002

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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
No related mails found.