Re: [F-Script-talk] early stumbling block
Brought to you by:
pmougin
From: Philippe M. <pm...@ac...> - 2007-12-22 04:28:15
|
Hi John, You can't just load a line at a time, because a given instruction may =20= span multiple lines. You can, however, load one instruction at a time. In the case at hand, while the method initWithContentRect: exists, it =20= is not defined on NSWindow. The correct method for NSWindow is =20 initWithContentRect:styleMask:backing:defer: Best, Philippe Le 22 d=E9c. 07 =E0 04:57, John Chandler at imusr a =E9crit : > I'm sure this is due to my doing something dumb or > overlooking something obvious, but... > > trying to load a line at a time of the > CocoaSamurai example currency converter into > Fscript, I get stuck at line 1: > > window :=3D NSWindow alloc initWithContentRect:(125<>513 extent:=20 > 383<>175) > > error: an instance of NSWindow does not respond to =20 > "initWithContentRect:" > > This seems particularly strange since F5 > completion works on this method, i.e., if I type > > initWithContent<F5>, I get the complete method > name. > > So what critical obvious element did I overlook? > > -jmc > > = ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > = http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/___________________= ____________________________ > F-Script-talk mailing list > F-S...@li... > https://lists.sourceforge.net/lists/listinfo/f-script-talk |