码迷,mamicode.com
首页 >  
搜索关键字:let    ( 14348个结果
[LeetCode] Longest Substring Without Repeating Characters
Well, there many ways to solve this problem. Let's first look at a naive solution.The basic idea is simple. Starting from the first character of the s...
分类:其他好文   时间:2015-06-07 21:31:03    阅读次数:128
Appium测试环境搭建(Windows下)
不得不说,Appium是有史以来我搭建的最吐血的环境,相信正如某位大牛所说,好多人还没开始真正接触Appium就已经死在搭建环境上~再难的环境也要学会搭建啊,不然怎么养家糊口啊~OK,话不多说,let's go! 网上现在Appium环境搭建教程挺多的,但是落实到自己身上不一定能够搭建成功,很...
分类:移动开发   时间:2015-06-07 17:20:52    阅读次数:156
PAT 1003 Sharing (25)
题目描述 To store English words, one method is to use linked lists and store a word letter by letter. To save some space, we may let the words share the same sublist if they share the same suffix. For...
分类:其他好文   时间:2015-06-06 10:37:31    阅读次数:169
swift基础控件的创建
/* let apples = 3 let orange = 5 let L = 1.1 let appleSummary = "I have \(apples) apples" let fruitSummary = "I have \(apples + orange) pieces of fruit."...
分类:编程语言   时间:2015-06-06 09:12:06    阅读次数:409
Swift学习笔记五
基础运算符Swift的大部分运算符和C及OC相同,也分一元二元多元的,这里只记录一些Swift特有的性质或写法。赋值运算符( = )在等号右边是一个有多个值的元组时,它的成员值可以分解并同时分别赋值给常量或者变量:let (x, y) = (1, 2)// x is equal to 1, and ...
分类:编程语言   时间:2015-06-05 19:25:44    阅读次数:187
Android设计模式--工厂方法模式
1、定义: Define an interface for creating an object, but let subclasses decide which class to instantiate.  Factory Method lets a class defer instantiation to subclasses. 定义一个用于创建对象的接口,让子类决定实例化哪个类。 ...
分类:移动开发   时间:2015-06-04 15:44:08    阅读次数:143
Swif基础语法01
import Foundation /** *  1,第一个swift程序 */ println("Hello, World!") /** *  2,定义常量 */ let a = 10 let cInteger:Double = 12.00 /** *  3,定义变量 */ var b = 0 b = 11...
分类:其他好文   时间:2015-06-04 11:54:46    阅读次数:108
Emberjs之ComputedProperty
Computed Property (简称CP)1. What is CP?In a nutshell, computed properties let you declare functions as properties. You create one by defining a compute...
分类:Web程序   时间:2015-06-04 00:53:14    阅读次数:302
SWIFT模糊效果
首先创建一个模糊效果let blurEffect = UIBlurEffect(style: UIBlurEffectStyle.Light)接着创建一个承载模糊效果的视图let blurView = UIVisualEffectView(effect: blurEffect)设置视图的大小blur...
分类:编程语言   时间:2015-06-03 23:12:12    阅读次数:261
设计模式之五:工厂方法模式(Factory Method)
工厂方法模式:定义了一个创建对象的接口,由子类来决定具体实例化那个对象。工厂方法模式让类的实例化转移到子类中来判断。 Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantia...
分类:其他好文   时间:2015-06-03 17:48:36    阅读次数:154
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!