• 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
NSAlert and threading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSAlert and threading


  • Subject: NSAlert and threading
  • From: Tom Doan <email@hidden>
  • Date: Mon, 23 May 2016 16:14:14 -0500
  • Priority: normal

I have an menu operation which, before it fully executes, pops up
an NSAlert asking a Yes/No question ("Selection Only(Y/N)?") then,
depending upon the answer will either apply to the whole list or just
the selection. However, no matter what I do (other than putting the
operation in a separate thread), the alert box stays on the screen
until the operation is done. release doesn't work. orderout on the
window doesn't work. Is there any way to do this (other than
changing the threading) so the alert box goes away when I'm done
with it?

Best regards,

Tom Doan
Estima
---
1560 Sherman Ave #1029
Evanston, IL 60201
USA


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: NSAlert and threading
      • From: Fritz Anderson <email@hidden>
References: 
 >All threads in app periodically blocked (From: Seth Willits <email@hidden>)
 >Re: All threads in app periodically blocked (From: Seth Willits <email@hidden>)
 >Re: All threads in app periodically blocked (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: All threads in app periodically blocked
  • Next by Date: Re: NSAlert and threading
  • Previous by thread: Re: All threads in app periodically blocked
  • Next by thread: Re: NSAlert and threading
  • Index(es):
    • Date
    • Thread