码迷,mamicode.com
首页 >  
搜索关键字:in-place    ( 1961个结果
swift 2.0 语法 字符串
//: Playground - noun: a place where people can playimport UIKit/*:字符串* OC中的字符串是一个对象, Swift中的字符串是一个结构体* OC中的字符串以\0结尾, Swift中的字符串不是以\0结尾* Swift中的字符串比OC...
分类:编程语言   时间:2015-11-06 20:59:30    阅读次数:293
swift 2.0 语法 循环
//: Playground - noun: a place where people can playimport UIKit/*:for循环* 基本用法和OC一致* 条件表达式必须是bool类型的值* 条件表达式的()可以省略* 在OC中如果{}中只有一条语句, 那么{}可以省略, 而Swift...
分类:编程语言   时间:2015-11-06 20:52:02    阅读次数:252
swift 2.0 语法 函数
//: Playground - noun: a place where people can playimport UIKit/*:函数* 格式func 函数名称(形参名称1: 形参类型, ...) -> 返回值类型{ // 逻辑代码}* 没有参数没有返回值* 没有参数有返回值* 有参数没有返回....
分类:编程语言   时间:2015-11-06 20:49:38    阅读次数:216
swift 2.0 语法 字典
//: Playground - noun: a place where people can playimport UIKit/*:字典* 和OC的区别* 1. {} 替换为 []* 2. 去掉所有@* 可变字典 var* 不可变字典 let*/var dict = ["name": "lnj"....
分类:编程语言   时间:2015-11-06 20:47:44    阅读次数:266
Swift的结构体,枚举,可选Optional,可选链
//: Playground - noun: a place where people can playimport Cocoavar str0 = "Hello, playground"//类是引用类型,结构体与枚举是值类型//*****************结构体***************...
分类:编程语言   时间:2015-11-04 22:55:17    阅读次数:332
Touch Handling in Cocos2D 3.x(五)
实现新英雄的放置功能首先我们需要一个变量来保持我们当前移动英雄的引用,因此我们将添加一个私有实例变量.修改MainScene.m中的代码.用:@implementation MainScene { // this is the section to place private instance variables! CCSprite *currentHero; }替换原来的代码:@i...
分类:其他好文   时间:2015-11-02 12:13:17    阅读次数:155
leetcode_27_ Remove Element (easy)
Remove ElementGiven an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. ...
分类:其他好文   时间:2015-11-02 12:04:46    阅读次数:175
json格式说明
代码如下:for (int i1 = 0, l = list.size(); i1 info = new HashMap();info.put("nodeList", nodeList);info.put("placesLink", placesLink); //数组info.put("Place....
分类:Web程序   时间:2015-10-31 12:47:26    阅读次数:255
(转)CheckBox inside a DBGrid
This is the first article, in the series of articles named "Adding components to a DBGrid". The idea is to show how to place just about any Delphi con...
分类:数据库   时间:2015-10-27 23:25:01    阅读次数:268
Web应用虚拟目录的映射的几种方式
It is NOT recommended to place elements directly in the server.xml file. This is because it makes modifying the Context configuration more invasive s....
分类:Web程序   时间:2015-10-27 21:50:45    阅读次数:328
1961条   上一页 1 ... 88 89 90 91 92 ... 197 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!