码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
同一个lable前后显示不同的颜色和大小
NSMutableAttributedString *str = [[NSMutableAttributedString alloc] initWithString:@"Using NSAttributed String"]; [str addAttribute:NSForegroun...
分类:其他好文   时间:2015-11-17 17:03:13    阅读次数:97
Visual Studio 2013 编译CEF步骤
If you'd like to build the Chromium Embedded Framework (a wrapper for Chromium, for creating browser-based applications) using Visual Studio 2013, you...
分类:其他好文   时间:2015-11-17 16:31:21    阅读次数:220
(C#基础)各种加密学习
之前,一直想对这个做一个了解,但是总是坚持不下去,很急躁。最近看了几遍文章,很有感触,于是又来重新开始学习,从最最基础的开始——正所谓“慢就是快”。心态变了,继续吧!上代码!using System;using System.Collections.Generic;using System.Li.....
分类:Windows程序   时间:2015-11-17 12:33:52    阅读次数:250
泛型函数
using System;using System.Collections.Generic;public class MyClass{ static void DoStuff(T t,S s) where T:MyClass { Console.WriteLine("T:{0}",t); Con.....
分类:其他好文   时间:2015-11-17 12:30:51    阅读次数:113
[LintCode] Sort List
Sort ListSort a linked list inO(nlogn) time using constant space complexity.ExampleGiven1-3->2->null, sort it to1->2->3->null.SOLUTION:这题是merge 2 sort...
分类:其他好文   时间:2015-11-17 12:24:58    阅读次数:119
[LintCode] Insertion Sort List
Insertion Sort ListSort a linked list using insertion sort.ExampleGiven1->3->2->0->null, return0->1->2->3->null.SOLUTION:插入排序的思路就是从头开始扫过去,然后遇到比当前点小的点,...
分类:其他好文   时间:2015-11-17 12:21:00    阅读次数:128
自定义转换
using System;using System.Collections.Generic;class Person{ public int Age; public static explicit operator int(Person p) { return p.Age; }}public cl....
分类:其他好文   时间:2015-11-17 10:53:02    阅读次数:138
c#中类的深拷贝和浅拷贝
### 类的深拷贝和浅拷贝1. 若要深拷贝,当前类和引用的类都需要支持序列化2. 扩展类的拷贝3. 代码示例````C# using System.Runtime.Serialization.Formatters.Binary;using System.IO;namespace ConsoleApp...
分类:Windows程序   时间:2015-11-17 10:52:30    阅读次数:243
Interview Question
HDS(11.16.2015):How to design an non-stop website like Google or Amazon?What design patterns are you using?Implement a queue with two stacks.Quick-sor...
分类:其他好文   时间:2015-11-17 06:52:04    阅读次数:184
Xcode6 viewDidLoad 中View的subviews 为空
Xcode 6 中勾选using size Classes 方法,在ViewDidLoad 方法中调用outlet 的一个myView.subviews 会为空,而myView 不会为空。storyBoard 主界面如下:代码如下:@interface ViewController ()@prope...
分类:其他好文   时间:2015-11-17 01:37:13    阅读次数:177
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!