iOS Question Class: (B4I*) _ba

Semen Matusovskiy

Well-Known Member
Licensed User
Hi, guys --

I wrote a class and need to know "callback" to send events. Of course, I can transfer this value in Initialize. But it seems to me there is a way to avoid additional parameter.
For example, B4I allows to use Page1.Initialize("Page1") etc.

I looked OBJC code and see two additional input parameters in Initialize subroutine.
__ref looks useless for my needs, but what is (B4I*) _ba ?
 

Semen Matusovskiy

Well-Known Member
Licensed User
I make a class, which I will include as source code (easy to correct).

As I understand, a problem is in setBIAndEventName. If I use self.bi, I get an event inside my class (expected). Guess, I need to use bi from main module, but I don't understand how to access it.
 

Attachments

  • test.zip
    1.7 KB · Views: 124
Upvote 0
Top