> > That's not true. init methods are not supposed to generate an exception,
> > they are supposed to log an error, release the object and return nil (at
> > least the way we currently specify it, see
> > http://www.gnustep.org/resources/documentation/coding-standards_5.html#SEC5
> > - if we
> > An 'error', for the programmer using the base library, is when
> > the base library generates an exception. Anything else is not an error.
> > A nil return here indicates that the file doesn't exist, is not readable
> > or can't be read. This is considered a valid result, otherwise the AP
Nicola Pero wrote:
> Ok - it looks silly to discuss too much about this anyway (with all the
> pending stuff) but I can't avoid another one on this :-)
>
>
>>>I don't understand why you are assuming that +stringWithContentsOfFile
>>>returning nil is an error. The caller will assess that. In th
Hi Stefan,
Stefan Urbanek wrote:
> Whe I set NSBezierPath setLineDash:count:phase: to one path then all
> paths created after that one will have same line dash style. I think it
> should be local to the path, or is it global? This value is reset after
> each NSView drawRect:.
I had a look at
Fred Kiefer wrote:
> BTW, this error message is shown eight times, when a NSSavePanel is
opened,
> although only two columns are shown. I will inspect into this to find
> out if there are unneeded operations going on.
After a bit of investigation I did find out that this behaviour is there
b
Ok - it looks silly to discuss too much about this anyway (with all the
pending stuff) but I can't avoid another one on this :-)
> >I don't understand why you are assuming that +stringWithContentsOfFile
> >returning nil is an error. The caller will assess that. In the case of
> >NSSavePanel, f
Hi David,
I did just apply your patch for ProjectCenter (with some minor cosmetic
changes). Thanks!
-Phil
On Samstag, Oktober 5, 2002, at 09:58 Uhr, David Ayers wrote:
> Hello Phil,
> Hello Everyone,
>
> with the help from the folks on #GNUstep, especially Alexander
> Malmberg and Piere-Yve
Hi,
Whe I set NSBezierPath setLineDash:count:phase: to one path then all paths created
after that one will have same line dash style. I think it should be local to the path,
or is it global? This value is reset after each NSView drawRect:.
Stefan