Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

NSNotificationObserverMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Notifications MBS MacBase Plugin 9.7 Yes No No Yes, macOS only No
Function: The notification class which you use to receive notifications.
Notes:
To use this class, please create a subclass. There you can put code in the event handler to do whatever you need in case your notification is received.

Than you create in code objects form this class. Normally only one. And you call addObserver on the NSNotificationCenterMBS or NSDistributedNotificationCenterMBS objects you have to tell the system which notifications you want to receive.

Do not forget to call removeObserver on the notification center for all your observers to avoid crashes.

Feedback, Comments & Corrections

This class has no sub classes.

Some methods using this class:

Some examples which use this class:


The items on this page are in the following plugins: MBS MacBase Plugin.


NSNotificationMBS   -   NSOpenPanelMBS




Links
MBS FileMaker Plugins