B4i Library Can use NSDictionary* for receive in

Alberto Iglesias

Well-Known Member
Licensed User
Anyone know the best way to send NSDICTIONARY to B4i?


Example in Objective-C side

B4X:
NSMutableDictionary *result = [NSMutableDictionary new];
[result setValue:@"111" forKey:@"key1"];
[result setValue:@"222" forKey:@"key2"];
[result setValue:@"333" forKey:@"key3"];

[B4IObjectWrapper raiseEvent:self :@"_received:" :@[result]];
and when receive in B4i
B4X:
Sub myobj_ReceivedSteps(objMap As Map)

      IN HERE I CAN'T GET THE DATA INSIDE THE DICTIONARY
   
End Sub
 
Top