B4i Library Can use NSDictionary* for receive in

Discussion in 'iOS Libraries' started by Alberto Iglesias, Jul 26, 2018.

  1. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    Anyone know the best way to send NSDICTIONARY to B4i?


    Example in Objective-C side

    Code:
    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
    Code:
    Sub myobj_ReceivedSteps(objMap As Map)

          
    IN HERE I CAN'T GET THE DATA INSIDE THE DICTIONARY
       
    End Sub
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Please post questions in the questions forum.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice