[Pyobjc-dev] NSAttributedString.initWithPath_documentAttributes_
Brought to you by:
ronaldoussoren
From: Steve R. <st...@sy...> - 2003-03-24 07:20:53
|
I'm trying to load some data into an NSAttributedString with the initWithPath_documentAttributes_ method (or one of the other initWith... variants in AppKit) and am having trouble: ~ % /usr/bin/python Python 2.2 (#1, 07/14/02, 23:25:09) [GCC Apple cpp-precomp 6.14] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import objc >>> import Foundation >>> import AppKit >>> foo = Foundation.NSAttributedString.alloc() >>> foo.initWithPath_documentAttributes_('aFile', objc.nil) Traceback (most recent call last): File "<stdin>", line 1, in ? objc.internal_error: objc_sizeof_type: Unhandled type '0x38 -- Steve Reeves st...@sy... |