似乎苹果听取了该意见,因为苹果在下一版本的iOS系统中为游戏开发者提供了一个“添加手柄支持(add controller support)”的标准选项。尽管像iCade等第三方公司已经在努力为该平台添加这一选项,但苹果的官方解决方案应该是最为理想的。
基于16个网页-相关网页
For example, to enable product editing support we can implement the HTTP-GET version of our "edit" action method on our Products controller like below and then invoke the "Add View" command.
例如,要支持产品编辑,我们可以象下面这样在Products控制器上实现“Edit”action方法的HTTP - GET版本,然后调用“添加视图”命令。
But if we were to add another resource, that wouldn't be so DRY, and if we add in support for more formats, we'll end up with lots of code in each controller.
而如果我们添加了对更多格式的支持,我们将需要面对每个controller中的大量代码。
应用推荐