Hi everyone, first post.
I'm having a problem importing NSOutlineViewDataSource in a Python Cocoa application. The problem is easily reproduced by creating a new Python Cocoa application (document based), and adding the following to main.py just before AppHelper.runEventLoop():
from AppKit import NSOutlineViewDataSource
The error I get is:
Traceback (most recent call last):
File "/Users/colin/Desktop/Untitled/build/Debug/Untitled.app/Contents/Resources/main.py", line 19, in <module>
from AppKit import NSOutlineViewDataSource
ImportError: cannot import name NSOutlineViewDataSource
Anyone know what the deal is? Thanks.
I'm having a problem importing NSOutlineViewDataSource in a Python Cocoa application. The problem is easily reproduced by creating a new Python Cocoa application (document based), and adding the following to main.py just before AppHelper.runEventLoop():
from AppKit import NSOutlineViewDataSource
The error I get is:
Traceback (most recent call last):
File "/Users/colin/Desktop/Untitled/build/Debug/Untitled.app/Contents/Resources/main.py", line 19, in <module>
from AppKit import NSOutlineViewDataSource
ImportError: cannot import name NSOutlineViewDataSource
Anyone know what the deal is? Thanks.