-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
70 lines (59 loc) · 2.72 KB
/
index.html
File metadata and controls
70 lines (59 loc) · 2.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!--
var Interface = Class(aBase,
{
onCreate : function(){
this.downLoadBar = null;
},
init : function(){
this.downLoadBar = new LoadingBar();
this.downLoadBar.init();
this.downLoadBar.setTexture("bar.png");
var barPos = new UIPoint();
barPos.x = 0;
barPos.y = 280;
this.downLoadBar.setPosition(barPos);
this.downLoadBar.setPercent(80);
uiSystem.m_pCurScene.addWidget(this.downLoadBar);
cc.log("load loadingbar");
//*/
this.label = new Label();
this.label.init();
var labelPos = new UIPoint();
labelPos.x = 240;
labelPos.y = 280;
this.label.setPosition(labelPos);
this.label.setText("下载js完成之后的label ");
this.label.setFontSize(20);
this.label.setBeTouchAble(true);
this.label.setTouchScaleChangeAble(true);
uiSystem.m_pCurScene.addWidget(this.label);
cc.log("load label....");
}
});
var gInterface = new Interface();
-->
<!-- <meta name="apple-itunes-app" content="app-id=432488169"> -->
<!-- <iframe src="http://widgets.itunes.apple.com/appstore.html?wtype=1&app_id=0&country=us&partnerId=0&affiliate_id=0" frameborder=0 style="overflow-x:hidden;overflow-y:hidden;width:250px;height:300px;border:0px" ></iframe> -->
<!--
<script>
window.location = "weixin:";
setTimeout( function(){ window.location="http://itunes.apple.com/us/app/wechat!/id414478124?mt=8"; } , 1500);
</script>
<link rel="apple-touch-icon-precomposed" href="http://cc.cocimg.com/bbs/3g/img/ccicon.png" >
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<h1>禁断魔法の面向协议和值类型的编程方式</h1>
<a href="https://platform.openai.com/account/usage">Usage</a>
</p>
<a href="https://developer.apple.com/videos/play/wwdc2016/419/">/* Protocol and Value Oriented Programming in UIKit Apps */</a>
</p>
https://developer.apple.com/videos/play/wwdc2015/408/
Protocol-Oriented Programming with Value Types
用值类型数据, 进行面向协议的编程
</body>
</html>