• 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: Cameron Hayne <email@hidden>
  • Date: Thu, 9 Jun 2005 22:27:42 -0400

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).


--
Cameron Hayne
email@hidden


_______________________________________________ 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
  • Follow-Ups:
    • Re: Strange problem
      • From: "Theodore H. Smith" <email@hidden>
References: 
 >Strange problem (From: "Theodore H. Smith" <email@hidden>)

  • Prev by Date: Re: Strange problem
  • Next by Date: NSMenuItem icon with attributed text
  • Previous by thread: Re: Strange problem
  • Next by thread: Re: Strange problem
  • Index(es):
    • Date
    • Thread