why coding like this
文章平均质量分 91
PMST
keep running
展开
-
Why Coding Like this -------Reduce揭秘
title: “Why coding like This —— Reduce 函数揭秘” date: 2015-08-03 19:24:16 categories: “why coding like this” tags: [swift进阶] 3.Reduce 函数揭秘Topic 3:请用Reduce函数对Int类型数组内所有元素求和,例如数组[1,2,3,4]的4个元素和为10.Examp原创 2015-08-04 08:24:44 · 581 阅读 · 0 评论 -
Why Coding Like this -------Filter函数揭秘
title: “Why coding like This —— Filter 函数揭秘” date: 2015-08-03 11:24:16 categories: “why coding like this” tags: [swift进阶] 2.Filter函数揭秘Topic 1:请用Filter函数筛选出String数组中后缀是.swift的文件。Example:““swift //例原创 2015-08-03 12:27:50 · 658 阅读 · 0 评论 -
Why Coding Like this -------map函数揭秘
title: “Why coding like This —— Map 函数揭秘” date: 2015-08-02 23:24:16 categories: “why coding like this” tags: [swift进阶] 1.Map函数揭秘Topic 1:请用Map函数实现对一个Int类型数组的元素进行2倍放大。Example:swift //例一 let intArra原创 2015-08-03 12:27:12 · 598 阅读 · 0 评论 -
Why coding like This ------ 递归以及枚举中的递归
title: “Why coding like This —— 递归以及枚举中的递归” date: 2015-08-28 21:34:16 categories: “why coding like this” tags: [swift进阶] Topic 1:输入一个数组xs:[Int],对全体元素求和。Discuss 思路一: Hey,伙计,遍历数组,逐个相加,so easy! co原创 2015-08-28 21:43:00 · 797 阅读 · 0 评论 -
Why Coding Like this -------Optional揭秘 自己写一个可选类型类
title: “Why coding like This —— Optional 揭秘” date: 2015-08-12 00:21:16 categories: “why coding like this” tags: [swift进阶] Optional 揭秘Topic 1:请简单写出可选类型的声明方式,以及几种解包形式。Example:/// 几种声明方式 var optionalV原创 2015-08-12 10:07:44 · 992 阅读 · 2 评论