[Q] how to tell NSNotificationCenter to send posted noti?
[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