First, let's define a simple Button class.
首先,让我们定义一个简单的button类。
Of course, the button class makes it into a button.
当然button类是将这个链接放进一个按钮中的。
Just sit back and watch, playing your one-button class like never before.
只要坐着看,你就可以玩这个史无前例的一键控制的职业了。
Notice the anchor has the class button back.
注意到锚点有返回类按钮。
In Class outlets, click the "+" button, twice to create two new outlets.
在ClassOutlets上,点击“+”按钮两次来创建两个新的Outlet。
Here, the button style class used by HATS is HATSBUTTON.
在这里,HATS使用的按钮样式类是HATSBUTTON。
Click the button beside the class box and type in the name of the root class: root, for this example.
点击class框旁边的按钮,以这个根类为名字输入:Root,这个例子是这样的。
We actually don't have to declare a class that subclasses Button with Subject.
我们实际上不用声明一个继承subject的Button的子类。
UPDATE: Pause button in class.
更新:类中的暂停按钮。
UPDATE: Pause button in class.
更新:类中的暂停按钮。
应用推荐