• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Strange problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Strange problem (From: "Theodore H. Smith" <email@hidden>)
 >Re: Strange problem (From: Cameron Hayne <email@hidden>)

  • Prev by Date: xcode keeps crashing when i compile
  • Next by Date: Re: xcode keeps crashing when i compile
  • Previous by thread: Re: Strange problem
  • Next by thread: NSMenuItem icon with attributed text
  • Index(es):
    • Date
    • Thread