B4i Library Passing Object B4i Color to UIColor ObjectiveC?

Discussion in 'iOS Libraries' started by Alberto Iglesias, Mar 10, 2015.

  1. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    Hello everybody,

    Anybody knows how I can pass the B4i Color object to objective?

    Erel ask to try with this nativeobject, but not work!

    I try with this 3 ways:

    Dim no As NativeObject = objCombo
    objCombo.colorBorder = no.ColorToUIColor(Colors.Magenta)

    and

    Dim no As NativeObject
    objCombo.colorBorder = no.ColorToUIColor(Colors.Magenta)

    and

    Dim objColor AsObject = no.ColorToUIColor(Colors.Magenta)

    objCombo.colorBorder = objColor


    But not working!

    In the objective side I have:
    @property (nonatomic, readwrite)UIColor* colorBorder;



    and the Error is:

    Sending data to remote compiler. Error
    B4i line: 40
    objCombo.colorBorder = no.ColorToUIColor(Colors.Magenta)
    no visible @interface for 'B4IComboBox' declares the selector 'setcolorBorder:'


    [self._objcombo setcolorBorder:[_no ColorToUIColor:[[self.__c Colors] Magenta]]];


    Some can help me?

    Thanks

    Alberto Iglesias
     
  2. Erel

    Erel Administrator Staff Member Licensed User

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