• 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: NSRunAlertPanel crashing on XCode 2.2.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSRunAlertPanel crashing on XCode 2.2.1


  • Subject: Re: NSRunAlertPanel crashing on XCode 2.2.1
  • From: "Finlay Dobbie" <email@hidden>
  • Date: Thu, 27 Apr 2006 10:32:25 +0100

On 26/04/06, sharad saxena <email@hidden> wrote:
> Here's a simple program to show a Alert Panel on OSX 10.4.6 using XCode 2.2.1
> it crashes in NSRunAlertPanel. The same runs perfectly on using Xcode
> 1.5 (OSX 10.3.9)
>
> #import <Cocoa/Cocoa.h>
> int main(int argc, char *argv[])
> {
>         NSApplication * app = [[NSApplication alloc] init];

Do not instantiate NSApplication directly; access it via
+sharedApplication. Also, this is a Cocoa issue rather than an Xcode
issue, and should be directed at the Cocoa list instead.

 -- Finlay
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSRunAlertPanel crashing on XCode 2.2.1
      • From: "sharad saxena" <email@hidden>
References: 
 >NSRunAlertPanel crashing on XCode 2.2.1 (From: "sharad saxena" <email@hidden>)

  • Prev by Date: Re: huge temporary files
  • Next by Date: Re: NSRunAlertPanel crashing on XCode 2.2.1
  • Previous by thread: NSRunAlertPanel crashing on XCode 2.2.1
  • Next by thread: Re: NSRunAlertPanel crashing on XCode 2.2.1
  • Index(es):
    • Date
    • Thread