iOS Question Callbacks in standard classes.. is it possible?

ema01

Member
Licensed User
Longtime User
As title says, is it possible to implement callbacks in standard classes? These are not views, I am not going with the custom view route. And when writing custom views i add them from the designer.

The problem i'm facing is that if i use the Module Name directly (Main, for example) CallSub works, but i don't know how to reference the module.
I tried passing "Me", or the name of another module in the initialization but inspecting the parameter always shows up "not initialized".
I tried initializing the class both in Application_Start (after loading the layout) and in The main page resize event.

Is it possible at all?
 

Sandman

Expert
Licensed User
Longtime User
Yes, it is. It's so simple that I'm sure you've just missed something obvious. But to better help, can you make the smallest possible example with two classes - where you'd like a callback - and post it here and I'll see if I can help you.
 
Upvote 0

ema01

Member
Licensed User
Longtime User
I concour. I was created test project and that works, so there must be a stupid detail somewhere i'm missing.
Will recheck my project..

Edit: Typos 🤦‍♂️ i have to stop writing code after a certain hour
 
Last edited:
Upvote 0
Top