Re: [Pyobjc-dev] Converting CurrencyConverter to XCode 3.0
Brought to you by:
ronaldoussoren
|
From: Orestis M. <or...@or...> - 2008-05-14 23:00:50
|
IME, if you define an IBOutlet rather than an ivar, IB will pick that up on save. Is that what you're referring to? -- Orestis Markou or...@or... http://orestis.gr/ On 14 Μαϊ 2008, at 12:51 ΠΜ, s s wrote: > > > > On May 13, 2008, at 7:08 PM, Orestis Markou wrote: > >> Hi, >> >> can you post somewhere the code? I'm struggling with PyObjC and all >> the Google results are very old... > > Yes, I had the same problem, at first. > > I'll put the CurrencyConverter up on my blog and post a link to it > to the list. > > I'm writing quite a bit of stuff about the new ways of doing things > that should help anyone struggling with some of the new ways of > doing things. > > S > > >> >> >> 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 >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Pyobjc-dev mailing list >> Pyo...@li... >> https://lists.sourceforge.net/lists/listinfo/pyobjc-dev > |