[Pyobjc-dev] clsas vs module in respect to NIBs
Brought to you by:
ronaldoussoren
|
From: Johan R. <joh...@gm...> - 2009-04-13 07:54:01
|
Hi I have yet to write my first PyObj-C program, so I'm still poking through examples and reading tutorials. One thing that strikes me as odd is that if people refer to a class called Foo in their NIB, they do a import "Foo" in their main.py file. If you refer to a class in a NIB file, does that translate to module.Class where module and Class has the same name? For me it's more natural to write "from module import Class". Will that work? |