Spent the majority of today simplifying the nastiest part of my code using C# delegates, which turns out, are very diff from Obj-C delegates
@david_laskey Everything I’m about to say might be wrong. But, but in Obj-C delegates have a pretty specific pattern of use.
-
-
@david_laskey Obj-C delegates are mostly used for separating concerns – e.g. the view should not manage the data. -
@david_laskey Instead the view exposes a delegate that allows the controller to manipulate the data. - 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.