Re: [Pyobjc-dev] Adding outlets and actions without rewiring it all
Brought to you by:
ronaldoussoren
From: Jack J. <Jac...@cw...> - 2003-03-24 11:54:41
|
On Monday, Mar 24, 2003, at 07:47 Europe/Amsterdam, Ronald Oussoren wrote: > > On Sunday, Mar 23, 2003, at 22:00 Europe/Amsterdam, Jack Jansen wrote: > >> >> On zaterdag, maa 22, 2003, at 19:48 Europe/Amsterdam, Ronald Oussoren >> wrote: >>> What I usually do is: >>> - Paint a UI in Interface Builder, including the initial definition >>> of one or >>> more model classes/objects. >>> - Generate a template using AppKit.NibClassBuilder (used a script) >>> - Fill in the template. >>> >>> If the model interface changes later on I change the definition in >>> IB and update the python files. There is no need to rewire anything >>> in > IB. >> >> This procedure needs to be documented. and probably in a step-by-step >> way. It is essential to PyObjC >> development, but it is also pretty obscure. Even more obscure than >> the corresponding ObjC procedure >> (which you also will never find if you don't do one of Apple's >> examples). > > Thanks for the tip. It is pretty obvious to me, hence the lack of > documentation. I'm sure there are more features/procedures that are > obvious for someone familiar with PyObjC but not for a newby. I think I may have some time on my hands today, and it's been long enough ago that I did something from scratch with PyObjC that I may be a reasonable guinea-pig. I'll give the Apple Cocoa introduction a go (in Python, of course) and I'll keep notes. > -- Jack Jansen, <Jac...@cw...>, http://www.cwi.nl/~jack If I can't dance I don't want to be part of your revolution -- Emma Goldman |