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

NSRunAlertPanel crashing on XCode 2.2.1


  • Subject: NSRunAlertPanel crashing on XCode 2.2.1
  • From: "sharad saxena" <email@hidden>
  • Date: Wed, 26 Apr 2006 11:13:30 +0530

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];

NSRunAlertPanel(@"sdfds", @"sdfdg", @"OKt", @"Cancel", @"test");
	[app release];
	return 0;
}
The documentation shows that the API is supported in OS 10.4 or later.
So can anyone tell what I need to do to use is successfully on OSX
10.4.6. Further sometimes the release build runs properly only while
debugging it crashes.
 _______________________________________________
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: "Finlay Dobbie" <email@hidden>
  • Prev by Date: Re: Interface Builder
  • Next by Date: Re: Interface Builder
  • Previous by thread: Re: Why does xcode flag script output lines as errors?
  • Next by thread: Re: NSRunAlertPanel crashing on XCode 2.2.1
  • Index(es):
    • Date
    • Thread