最重要的是,它增加了 target / action 模式。看一下具体的子类,我们可以看一下按钮,日期选择器 (Date pickers),文本框等等。创建交互控件时,你通常想要子类化一个 UIControl。
基于70个网页-相关网页
添加到您想转变成日期选择器的字段。
对于图4中的日期选择器例子,执行的操作可能不会被IDE记录。
For the example of date selector in Figure 4, the actions performed may not be recorded by the IDE.
例如,如果需要日期,就会显示日期选择器而不是文本框。
For example, if a date is required, a date picker is displayed rather than a text field.
应用推荐