码迷,mamicode.com
首页 >  
搜索关键字:selector is unknown    ( 6040个结果
android实用技巧 - 用代码来实现selector
众所周知,android可以通过XML文件来创建selector,以Drawable对象的形式安装到组件上,以提供统一的风格设置。但是在某些时候,我们需要通过代码的形式来实现相同的功能,例如组件数量非常多,对应不同的图片...
分类:移动开发   时间:2014-08-05 19:44:00    阅读次数:326
实现iOS7上tableView的分割线像iOS6中的效果
iOS7上tableView的分割线左边短了一点,要实现和iOS6中的效果还是有方法的,UITableView头文件里个属性: @property (nonatomic)          UIEdgeInsets                separatorInset NS_AVAILABLE_IOS(7_0) UI_APPEARANCE_SELECTOR; // allows...
分类:移动开发   时间:2014-08-05 15:55:29    阅读次数:260
“Object "netns" is unknown, try "ip help".\n'”报错
tail-f/var/log/neutron/dhcp-agent.logBydefault,CentOS6.4doesnotsupportnetworknamespaces.Ifonewantstotestthenewvirtualizationplatforms(Docker,OpenStack,&co…)onaCentOSserver,allfeatureswon’tbeavailable.ForOpenStackforexample,Neutronwon’tworkasexpected,..
分类:Web程序   时间:2014-08-05 11:35:39    阅读次数:1996
jQuery技术内幕预览版.pdf3
jQuery.fn.init(selector,context,rootjQuery):构造函数 jQuery.fn.init() 负责解析参数 selector 和 context 的类型,并执行相应的逻辑,最后返回 jQuery.fn.init() 的实例,共有12个有效分支源码分析定义jQue...
分类:Web程序   时间:2014-08-05 05:17:58    阅读次数:342
jQuery技术内幕预览版.pdf2
第二章 构造jQuery对象jQuery对象是一个类数组对象,含有连续的整型属性、length属性和大量的jQuery方法,$()是jQuery()的缩写构造函数jQuery()如果调用构造函数jQuery()时传入的参数不同,创建的jQuery对象的逻辑也会随之不同jQuery(selector[...
分类:Web程序   时间:2014-08-05 02:56:48    阅读次数:288
LeetCode :: Search in Rotated Sorted Array [详细分析]
Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). You are given a target value to search. If found in the array retur...
分类:其他好文   时间:2014-08-05 00:48:58    阅读次数:248
ios7去除手势滑动返回
if ([self.navigationController respondsToSelector:@selector(interactivePopGestureRecognizer)]) { self.navigationController.interactivePopGestur...
分类:移动开发   时间:2014-08-04 13:56:17    阅读次数:233
保持按钮的高亮状态
//设置UIButton在点按住时附带高亮效果_addMusicBtn.showsTouchWhenHighlighted = YES;[_addMusicBtn addTarget:self action:@selector(addMusicAction:) forControlEvents:UI...
分类:其他好文   时间:2014-08-04 13:32:47    阅读次数:218
jquery操作select
1、设置value为pxx的项选中      $(".selector").val("pxx"); 2、设置text为pxx的项选中     $(".selector").find("option[text='pxx']").attr("selected",true);     这里有一个中括号的用法,中括号里的等号的前面是属性名称,不用加引号。很多时候,中括号的运用可以使得逻辑变得很简单...
分类:Web程序   时间:2014-08-04 11:05:27    阅读次数:216
Hive启动报找不到hadoop版本问题
bin/hive 提示"xxx Illegal Hadoop Version: Unknown (expected A.B.* format)"类似这样的问题,经过查看代码 public static String getMajorVersion() { String vers = Versi...
分类:其他好文   时间:2014-08-03 17:46:15    阅读次数:837
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!