iOS Question Class and some properties in one line

Semen Matusovskiy

Well-Known Member
Licensed User
NativeObject allows to write no.Initialize (...).RunMethod (...).
This is possible, because Initialize, RunMethod, GetField return B4INativeObject* (the same as class name)

I can imagine how it was done in Objective-C, but I am interesting in Basic. Is it possible to create standard class in B4i ?
 

Semen Matusovskiy

Well-Known Member
Licensed User
Another problem.

Imagine csBulder.
B4X:
Dim cs As csBuilder
...
TextField1.AttributedText = cs

I want to do the same (to return base object, not a class) in assignment.
Of course, I can add additional property, let's say Value, but it's not interesting.

Probably I am wrong, but a problem is @interface b4i_myClass : B4IClass, which B4I generates automatically. Guess, I need b4i_myClass : B4IObjectWrapper

Any ideas ?
 
Upvote 0
Top