Re: [Pyobjc-dev] Converting CurrencyConverter to XCode 3.0
Brought to you by:
ronaldoussoren
|
From: Orestis M. <or...@or...> - 2008-05-13 23:08:12
|
Hi, can you post somewhere the code? I'm struggling with PyObjC and all the Google results are very old... Regards, -- Orestis Markou or...@or... http://orestis.gr/ On 02 Μαϊ 2008, at 4:12 ΠΜ, s s wrote: > Thanks to Daniel, I got the CurrencyConverter app running without all > the PyObjc 1.x cruft and without inheriting from > NibClassBuilder.AutoBaseClass. > > Unfortunately, I seem to have had to go back to the old days of > declaring all ObjC ivars manually: > > class ConverterController (NSObject): > dollarField = objc.ivar (u'dollarField') > rateField = objc.ivar (u'rateField') > totalField = objc.ivar(u'totalField') > converter = objc.ivar(u'converter') > > i.e. the instance vars don't come over from IB as they did when > classes inherited from NibClassBuilder.AutoBaseClass. > > So, my question is: > > How would one get the same result as inheriting from > NibClassBuilder.AutoBaseClass, in XCode/IB 3.x > > Thanks in advance for any assistance. > > S > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save > $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev |