Timeline for Switch vs Polymorphism when dealing with model and view
Current License: CC BY-SA 3.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 23, 2013 at 13:57 | comment | added | Raphael Oliveira | Thank you for the response tallseth. Unfortunately, the models contains a lot of information, not just their type or the destination view controller. Also, although I didn't mention, the ScreenX, ScreenY etc. need to receive information about B, C, D on construction, so I cannot use a factory only passing the type, I need to pass the model itself. | |
| Oct 23, 2013 at 13:46 | history | answered | tallseth | CC BY-SA 3.0 |