• 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
[Q] how to tell NSNotificationCenter to send posted noti?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Q] how to tell NSNotificationCenter to send posted noti?


  • Subject: [Q] how to tell NSNotificationCenter to send posted noti?
  • From: JongAm Park <email@hidden>
  • Date: Fri, 07 Oct 2011 16:33:13 -0700

Hello,

I have this kind of code.

For NSComboBox, I defined to messages :

1. selectionDidChange
2. selectionIsChanging

When a user selects other item in a combo box ( for containing list of tasks ) after changing the current one, I would like to have "selectionIsChanging" saves the new task info, and switch to the new task in selectionDidChange.

However, when a modal dialog box is displayed in a message called in selectionIsChanging, the selectionDidChange is not called after things are done in selectionIsChanging.
However, strangely if I click on other widgets like NSTableView, it suddenly sends the notification to selectionDidChange at that moment.

Is there a way to enforce sent NSComboBoxSelectionDidChangeNotification notification delivered to selectionDidChagne notification message I defined?

Thanks,
JongAm Park_______________________________________________

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

  • Prev by Date: Re: Missing header files/folders?
  • Next by Date: Re: Retain/Release and Properties clarification
  • Previous by thread: Problem with AVFoundation
  • Next by thread: AuthorizationServices - what is wrong here?
  • Index(es):
    • Date
    • Thread