随笔分类 -  swift

just record the records
摘要:1、背景: Xcode Version 12.2 beta (12B5018i) 新建好的Xcode swift项目,运行的好好地,由于我要手动导入SnapKit.导入失败,工程无法构建了。折腾了半天工程配置那个地方已经失败了,我又找不到问题出在哪里。 把SnapKit去掉之后,又重新配置,buil 阅读全文
posted @ 2021-03-30 13:42 wjwdive 阅读(1977) 评论(0) 推荐(0) 编辑
摘要:// // ViewController17.swift // swiftT // // Created by wjwdive on 2020/6/3. // Copyright © 2020 wjwdive. All rights reserved. // import UIKit class V 阅读全文
posted @ 2020-06-03 16:50 wjwdive 阅读(389) 评论(0) 推荐(0) 编辑
摘要:// // ViewController16.swift // swiftT // // Created by wjwdive on 2020/6/1. // Copyright © 2020 wjwdive. All rights reserved. // import UIKit class V 阅读全文
posted @ 2020-06-03 16:49 wjwdive 阅读(1103) 评论(0) 推荐(0) 编辑
摘要:// // ViewController15.swift // swiftT // // Created by on 2020/6/1. // Copyright © 2020 All rights reserved. // import UIKit class ViewController15: 阅读全文
posted @ 2020-06-03 16:46 wjwdive 阅读(181) 评论(0) 推荐(0) 编辑
摘要:```swift // // ViewController10.swift // swiftT // // Created by wjwdive on 2020/5/25. // Copyright © 2020 wjwdive. All rights reserved. // import UIKit class ViewController10: UIViewController { over 阅读全文
posted @ 2020-05-25 17:09 wjwdive 阅读(587) 评论(0) 推荐(0) 编辑
摘要:```swift // // ViewController9.swift // swiftT // // Created by wjwdive on 2020/5/25. // Copyright © 2020 wjwdive. All rights reserved. // import UIKit class ViewController9: UIViewController { overri 阅读全文
posted @ 2020-05-25 17:08 wjwdive 阅读(340) 评论(0) 推荐(0) 编辑
摘要:```swift // // ViewController2.swift // swiftT // // Created by wjwdive on 2020/5/15. // Copyright @ wjwdive All rights reserved. // import UIKit class ViewController2: UIViewController { override fun 阅读全文
posted @ 2020-05-22 17:42 wjwdive 阅读(2461) 评论(0) 推荐(0) 编辑
摘要:模式和模式匹配 模式: 代表单个或者复合值得结构,也就是说模式不是一个特定的值,它是一种抽象的结构, 【一句话,不是特指,是泛指】 。这样就可以用模式来匹配各种各样的值。 例如:(x,y)可以匹配元祖(1.2),以及任何包含两个元素的元组。 除了利用模式匹配一个值以外,你可以从复合值中提取出部分或全 阅读全文
posted @ 2019-10-14 23:41 wjwdive 阅读(1276) 评论(0) 推荐(0) 编辑
摘要://: Playground - noun: a place where people can play import UIKit var str = "Hello, playground" let individualScores = [75, 43, 103, 87, 12]; var team 阅读全文
posted @ 2016-11-16 00:26 wjwdive 阅读(350) 评论(0) 推荐(0) 编辑
摘要://: Playground - noun: a place where people can play import UIKit var str = "Hello, playground" //var 声明变量 很像JavaScript var myVariable = 42; myVariabl 阅读全文
posted @ 2016-11-16 00:21 wjwdive 阅读(345) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示