Re: Strange problem
Re: Strange problem
- Subject: Re: Strange problem
- From: "Theodore H. Smith" <email@hidden>
- Date: Fri, 10 Jun 2005 13:01:46 +0100
On 10 Jun 2005, at 03:27, Cameron Hayne wrote:
On 9-Jun-05, at 9:38 PM, Theodore H. Smith wrote:
NSAlert* dead = [NSAlert alertWithMessageText:ns
defaultButton:0
alternateButton:0
otherButton:0
informativeTextWithFormat:0
From the fact that you are getting an exception in
'initWithFormat', I would guess that maybe the
'informativeTextWithFormat' is not as "optional" as the
documentation would have it.
I note that it would be more usual to have your string passed as
'informativeTextWithFormat' and to have a more generic string
(e.g. "Parsing Status") passed as the 'messageTitle" (first
parameter).
OK, thanks that fixed it.
If it's not as optional as the docs say, exactly how optional is this
optional argument? Not optional?
--
http://elfdata.com/plugin/ Industrial strength string processing,
made easy.
"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden