B4i Library Passing Object B4i Color to UIColor ObjectiveC?

Similar threads

B4i Tutorial Set Gradient Color to a View
B4i Question Change NavBar Text Color
B4i Tutorial change Imageview.Bitmap color
B4i Code Snippet Full screen apps
B4i Question WKWebview Background color?

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
 

Erel

Administrator
Staff member
Licensed User
Top