码迷,mamicode.com
首页 >  
搜索关键字:blue    ( 1833个结果
iOS 通过HEX(十六进制)得到一个UIColor的对象
inline static UIColor* getColorFromHex(NSString *hexColor){ if (hexColor == nil) { return nil; } unsigned int red, green, blue...
分类:移动开发   时间:2015-12-30 11:17:10    阅读次数:191
VS使用Sublime Text 主题
VS默认有三种主题Dark,Light,Blue,但你是否想寻找其它的主题呢?本文介绍两个扩展来满足你的不同需求 1.微软官方扩展 微软官方推出的 Visaul Studio Color Theme Editor 扩展 ,提供多种主题 Theme Editor已安装了一些模版主题 切换主题:工具- ...
分类:其他好文   时间:2015-12-27 12:14:19    阅读次数:1515
5.3.2 Counter对象
Counter类提供一个方便和快速统计的工具。例子:#python 3.4import collections cnt = collections.Counter()for word in ['red', 'blue', 'red', 'green', 'blue', 'blue']:    cnt[word] += 1print(cnt)结果输出如下:Counter({'blue': 3, 'r...
分类:其他好文   时间:2015-12-26 10:07:45    阅读次数:222
CSS中什么是复合属性
CSS中什么是复合属性:建议:尽可能的手写代码,可以有效的提高学习效率和深度。关于复合属性可能大家都在用,但是没有注意这个概念而已,下面就简单介绍一下什么是复合属性。我们知道border属性可以同时规定边框的粗细、颜色和边框类型。例如:border:2px solid blue;所谓复合属性就是类似...
分类:Web程序   时间:2015-12-25 13:26:12    阅读次数:2590
x64内核内存空间结构
0x00 前言本文主要是讨论Windows 7 x64下的内核虚拟地址空间的结构,可以利用WiinDBG调试的扩展命令"!CMKD.kvas"来显示x64下的内核虚拟地址空间的整体布局。了解内核的地址布局在某些情况下是很有的,比如说在研究New Blue Pill的源码和虚拟化的时候。0x01 基本...
分类:其他好文   时间:2015-12-21 21:41:53    阅读次数:252
《JavaScript高级程序设计》第5章 引用类型
5.2.2 转换方法所有对象都有toString()和valueOf()方法调用数组的toString()方法,会返回一个字符串,由数组中的每个项通过逗号连接而成调用valueOf()还是返回数组var colors = ["red", "blue", "green"];console.log(co...
分类:编程语言   时间:2015-12-21 18:17:52    阅读次数:239
JS:call()和apply的区别
每个函数都包含两个非继承而来的方法:call()和apply();call()方法:参数,第一个是作用域中调用函数(this),其余是参数直接传给函数 扩大作用域,传递参数时,参数必须逐个列出。window.color = "red"; var o = {color:"blue"}; functio...
分类:移动开发   时间:2015-12-21 14:21:40    阅读次数:177
UItextField的用法
修改placehoder的颜色:[ self.loginnameText setValue:[UIColor colorWithRed:184.f/255 green:214.f/255 blue:225.f/255 alpha:1] forKeyPath:@"_placeholderLabel.t...
分类:其他好文   时间:2015-12-19 01:26:59    阅读次数:204
IOS 导航栏颜色 标题
修改导航栏颜1 #define COLOR_TOMATO [UIColor colorWithRed:255/255.0f green:99/255.0f blue:71/255.0f alpha:1.0f] /*!< 番茄色 */2 3 self.navigationController.navi...
分类:移动开发   时间:2015-12-16 23:08:00    阅读次数:272
[Leetcode] Sort Colors
Given an array withnobjects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, wh...
分类:其他好文   时间:2015-12-16 09:23:07    阅读次数:147
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!