+

Search Tips | Advanced Search


WLActionReceiver Protocol Reference

Conforms to NSObject
Declared in WLActionReceiver.h

The WLActionReceiver protocol allows every implementing object to receive actions and data from the IBM MobileFirst Platform Framework


Tasks


    Instance Methods


    onActionReceived:withData:

    Any object can receive actions. To do so, it must implement the following protocol.

      - (void)onActionReceived:(NSString *)action withData:(NSDictionary *)data
      
          
      	
      	
      	
      	
      	
      	
      	
      	
      


      Discussion

      Actions will always be delivered on a background thread. If we want to update the application user interface from the received action, we must do so on a main user interface thread, for example by using the performSelectorOnMainThread API.


      Declared In

      WLActionReceiver.h


      © Copyright IBM Corp. 2017