码迷,mamicode.com
首页 >  
搜索关键字:playground    ( 265个结果
swift基础语法(控制流、可选类型、switch、循环、开闭空间)
1 // Playground - noun: a place where people can play 2 3 import Cocoa 4 5 //控制流 6 7 //Swift的条件语句包括if和switch,循环语句包含for-in、for、while和do-while,循环/判断...
分类:编程语言   时间:2015-04-02 10:19:44    阅读次数:295
swift基础语法三(函数与闭包)
1 // Playground - noun: a place where people can play 2 3 import Cocoa 4 //函数和闭包 5 6 //函数,使用func关键字声明函数: 7 func greet(name:String, day:String) -> S...
分类:编程语言   时间:2015-04-02 10:19:36    阅读次数:207
Swift笔记3
// Playground - noun: a place where people can playimport Cocoavar str = "Hello, playground"var dic:Dictionary=[1:"Name",2:"Age"]for (id,name) in dic{...
分类:编程语言   时间:2015-03-30 22:32:13    阅读次数:172
Sicily 1234. Playground
1234. Playground Constraints Time Limit: 1 secs, Memory Limit: 32 MB Description George has K <= 20 steel wires shaped in the form of half-circles, with radii a1, a2, . . . , aK. The...
分类:其他好文   时间:2015-03-30 09:21:07    阅读次数:195
Swift开发快速上手系列教程目录-陆续完善,由浅入深
Swift开发教程 一.Swift基础 Swift教程01-使用switfc终端命令编译运行swift程序 Swift教程02-抓住下一个浪潮之巅 Swift教程03-playground剖析swift语言 Swift教程04-定义声明变量重要原则 Swift教程05-基本数据类型(一)整型浮点型 Swift教程06-基本数据类型(二)Bool布尔类型对比Java...
分类:编程语言   时间:2015-03-28 08:52:08    阅读次数:243
[TypeScript] 1. Catching JavaScript Mistakes with TypeScript
The TypeScript compiler is a powerful tool which catches mistakes even in vanilla JavaScript. Try it online at theTypeScript Playground, zero setup re...
分类:编程语言   时间:2015-03-19 17:49:25    阅读次数:179
swift开发基础之变量和常量
swift开发基础之变量和常量 今天学习了一下swift语言  感觉IOS又迈出了自己的一步  代码上面简化了很多,并可以使用playground 一个实时预览的效果 注意: 常量直接用 let 就行了   如果对上面的常量重新赋值  会出现错误  不需要制定类型             变量直接用 var 就行了  可以多次赋值  可以制定类型  也可以不制定...
分类:编程语言   时间:2015-03-18 23:22:06    阅读次数:158
[Swift] 使用Playground
使用Playground1. 新建Playground2. 写最简单的代码
分类:编程语言   时间:2015-03-17 23:23:16    阅读次数:143
基于 Web 的 Go 语言 IDE - Wide 1.2.0 发布!
我们在 Wide 1.2.0 中加入了 Playground,方便代码分享,并支持通过 iframe 内嵌到其他站点运行 Go 代码。...
分类:编程语言   时间:2015-03-02 11:19:36    阅读次数:173
Lesson_Swift_Class_Struct
1 // Playground - noun: a place where people can play 2 3 import UIKit 4 5 6 //使用关键字class和struct来分别表示类和结构体 7 8 struct SomeStruct { 9 ...
分类:编程语言   时间:2015-02-05 00:44:23    阅读次数:241
265条   上一页 1 ... 19 20 21 22 23 ... 27 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!