iOS Tutorial [Objective C] Writing libraries for B4i

Alberto Iglesias

Well-Known Member
Licensed User
Longtime User
Erel,

If I need test my Library (Create for B4i) in XCODE, how to pass B4i* and B4Page*?


My Function receive this 2 parameters
B4X:
- (void)myfunction:(B4I*)bi :(B4IPage *)mypage  {}

IN test app (in XCODE). I try like this but not work
B4X:
B4I* bi = [B4I new];
B4IPage* objPage = [B4IPage new];
[myObj myfunction:bi :(objPage.object) ];

What I missing?

Thanks
 

walterf25

Expert
Licensed User
Longtime User
Now I use the previous version of OpenCV and all works fine with


Thanks again.
Could you share your B4i OpenCV library, i would like to play around with it.

Thanks,
Walter
 

Semen Matusovskiy

Well-Known Member
Licensed User
Very doubt that some years old OpenCV library can be useful.
I tried face detection example, written 3-4 years ago, with current framework. I got an example to work, but this required enough efforts due to changes in headers.

It seems to me, no reason to make a B4i library for OpenCV. Easy to work with framework.
 

walterf25

Expert
Licensed User
Longtime User
Can you at least share the library, even if it doesn't work, I just want to give it a try and wrap with the most recent version.

Thanks,
Walter
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…