码迷,mamicode.com
首页 >  
搜索关键字:swift playground    ( 7175个结果
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
iOS 图表工具charts之LineChartView
LineChartView在charts中可以用来绘制折线,由于charts是基于swift开发的如果,需要和objective C混编(通过pod的方式没关系),可以参考我的上几篇文章 "《iOS OC中桥接swift第三方库》 " lineChartView的一些属性介绍: ? LineChar ...
分类:移动开发   时间:2019-07-11 14:15:03    阅读次数:486
Swift 枚举enum
enum methodType{ case get case post case put case delete } 枚举赋值 enum methodType:String{ case get="get" case post="post" case put="put" case delete="de ...
分类:编程语言   时间:2019-07-09 17:55:17    阅读次数:117
JDK1.8新特性(二): Lambda表达式 (参数列表) -> { } 和函数式接口@FunctionalInterface
Lambda表达式 二:简介 JDK的升级的目的有以下几个:增加新的功能、修复bug、性能优化、简化代码等几个方面,Lambda表达式就是属于简化代码,用于简化匿名实现类,提供一种更加简洁的写法。Lambda表达式在Swift语言中称之为代码块,Lambda表达式可以认为是一种特殊的接口,该接口必须 ...
分类:其他好文   时间:2019-07-09 15:28:01    阅读次数:134
7175条   上一页 1 ... 20 21 22 23 24 ... 718 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!