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

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

    End Sub
  2. Erel

    Erel Administrator Staff Member Licensed User

    Please post questions in the questions forum.
  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