Remove "user input" responsibility of VM

VMs do respond to the user, but not through any direct IBAction or responder chain facility, so it's probably clearer to just leave it out.
This commit is contained in:
Justin Spahr-Summers
2013-07-28 14:04:03 -07:00
parent 30d3d4c830
commit 8ba7b108d7

View File

@@ -50,11 +50,10 @@ where presentation _behavior_ goes.
For example, a view model might handle:
* Kicking off network or database fetches
* Kicking off network or database requests
* Determining when information should be hidden or shown
* Date and number formatting
* Localization
* Acting upon the user's input
However, the view model is not responsible for actually presenting
information or handling input — that's the sole domain of the view layer. When