码迷,mamicode.com
首页 >  
搜索关键字:Swift    ( 7059个结果
Swift基础语法-数据类型
Swift常见数据类型 Swift流程控制 Swift中流程控制if、while、for后面的()可以省略,条件后面的大括号不可以省略 从Swift3开始,去除了自增、自减运算符 repeat-while相当于C语言中的do-while if-else ...
分类:编程语言   时间:2019-07-27 12:49:30    阅读次数:90
Openstack Swift 如何查找 slave node 挂载的 VD 的 IP
1. 在 /etc/swift/container-server.conf 或者 object-server.conf 中的 devices= 一行 可以找到 /srv/node. 在 /srv/node/ 下可发现设备, 如 sdb. 即 /srv/node/sdb 2. 通过命令 cat /et ...
分类:编程语言   时间:2019-07-26 18:52:10    阅读次数:103
Swift语法注意点(一)
1.字符、字符串也能使用区间运算符,但是不能用在for-in中; 2.函数中形参是let,也只能是let 3.一个函数最多只能有1个可变参数 4.紧跟在可变参数后边的参数不能省略参数标签 5.可变参数不能标记为inout 6.inout参数不能有默认值,并且inout参数传入的必须是可以被多次赋值的 ...
分类:编程语言   时间:2019-07-26 13:17:02    阅读次数:98
swift修饰符
Declaration Modifiers Declaration modifiers are keywords or context-sensitive keywords that modify the behavior or meaning of a declaration. You speci ...
分类:编程语言   时间:2019-07-22 22:46:28    阅读次数:140
There is no type initializer in Swift----One answer is to use static, it is the same as class final.
“Unlike stored instance properties, you must always give stored type properties a default value. This is because the type itself does not have an init ...
分类:编程语言   时间:2019-07-22 15:06:01    阅读次数:119
swift与oc的关系
swift是对oc的扩展 Swift是没有消息机制的Objective-C https://www.oschina.net/translate/inside-swift; swift保持了oc的类结构形式,对函数的派发机制做了调整。 一、class swift完全继承了oc class类的运行时结构 ...
分类:编程语言   时间:2019-07-22 13:53:15    阅读次数:132
swift的类型系统
顶级抽象:protocol 具体类型:值类型、引用类型 类型操作:扩展 其他: 范型、函数式类型:function、monand ...
分类:编程语言   时间:2019-07-22 13:23:08    阅读次数:94
一个swift版简单的用户名和密码输入textField
http://www.code4app.com/thread-31992-1-1.html ...
分类:编程语言   时间:2019-07-12 23:40:24    阅读次数:220
Openstack O版 配置swift对象存储服务
环境如下图所示:IP:192.168.0.111controllerIP:192.168.0.112computeIP:192.168.0.113object1IP:192.168.0.117object2IP:192.168.0.118cinder1.在控制节点上安装swift服务[root@controller~]#sourceadmin-openrc创建swift用户[root@contro
分类:编程语言   时间:2019-07-12 09:28:16    阅读次数:120
iOS 图表工具charts之PieChartView
PieChartView在charts中可以用来绘制饼状图,由于charts是基于swift开发的,如果需要和objective C混编(通过pod的方式不用管),可以参考我的上几篇文章 "iOS OC中桥接swift第三方库》" ,这里主要讲的是LineChartView的一些常用属性和一些基本用 ...
分类:移动开发   时间:2019-07-11 20:49:02    阅读次数:731
7059条   上一页 1 ... 18 19 20 21 22 ... 706 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!