Hello, I am very foggy of the concept of a delegate, the terminologies got me confused. For example, I have two classes. ClassA and ClassB, this is outline of the delegate as below:
Few questions:
1. Is my outline correct?
2. Which one is the delegate class? ClassA or ClassB? Which one is the parent? ClassA or ClassB?
3. When pass data form ClassB to ClassA, many of the examples I saw were using prepare and segue. What if I do not want to use prepare and segue?
Thank you.
Few questions:
1. Is my outline correct?
2. Which one is the delegate class? ClassA or ClassB? Which one is the parent? ClassA or ClassB?
3. When pass data form ClassB to ClassA, many of the examples I saw were using prepare and segue. What if I do not want to use prepare and segue?
Thank you.
Last edited: