- Intially NSUrlConnection Class having 3 delegates methods but later they will changed it to blocks for example [NSUrlConnection sendAsynchronusRequest]
- Why apple uses UITableview delegates method for this.Can be replace delegate methods with blocks.If yes / no? Please explain?
Asked
Active
Viewed 83 times
1

akshay
- 151
- 1
- 10
-
5Possible duplicate of [Objective-c delegation to multiple objects](http://stackoverflow.com/questions/14278857/objective-c-delegation-to-multiple-objects) – Vizllx Feb 19 '16 at 06:37
-
Your question title and question text ask different things. The title asks whether blocks can replace delegates but your text is asking about multiple delegates – Paulw11 Feb 19 '16 at 07:06
1 Answers
0
Yes,you can make a delegate chain to do this.For example A->B->C...B is A's delegate,C is B's.B can call its delegate function when A call its delegate function.And they can follow the same delegate or not.

Lumialxk
- 6,239
- 6
- 24
- 47