• 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
Crash on [NSApp endSheet]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash on [NSApp endSheet]


  • Subject: Crash on [NSApp endSheet]
  • From: Jonas Oberschweiber <email@hidden>
  • Date: Thu, 3 Aug 2006 18:21:40 +0200

Hi,

In my application I have a sheet with a NSProgressIndicator in it:

[NSApp beginSheet: busySheet
modalForWindow: window
modalDelegate: self
didEndSelector: @selector (didEndSheet:returnCode:contextInfo:)
contextInfo: nil];


  [spinner startAnimation:self];

  // Do some Core Data work

  [spinner stopAnimation:self];

  [NSApp endSheet:busySheet];

busySheet is an Outlet connected to my class via IB, same for spinner, the NSProgressIndicator.

Everything works perfectly at first, but when [NSApp endSheet:busySheet] gets called, all hell breaks loose and I get a big crash.
Someone on this list once said there was a bug in AppKit that caused something like this and I wonder if that bug has been fixed and I'm doing something wrong, or if the bug is still there and there's a way to work around it.


Best Regards

Jonas

_______________________________________________
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


  • Prev by Date: Discovering how many RAM slots exist on the computer
  • Next by Date: Re: NSTableView and End Editing notifications
  • Previous by thread: Re: Discovering how many RAM slots exist on the computer
  • Next by thread: Re: Crash on [NSApp endSheet]
  • Index(es):
    • Date
    • Thread