码迷,mamicode.com
首页 >  
搜索关键字:sel    ( 12804个结果
IOS 关于取消延迟执行函数的种种。performSelector与cancelPreviousPerformRequestsWithTarget
本文非本人撰写[cpp]view plaincopy@interfaceNSObject(NSDelayedPerforming)-(void)performSelector:(SEL)aSelectorwithObject:(id)anArgumentafterDelay:(NSTimeInter...
分类:移动开发   时间:2015-03-06 22:09:26    阅读次数:341
IOS之NSThread
初始化:1.动态方法- (id)initWithTarget:(id)target selector:(SEL)selector object:(id)argument;// 初始化线程NSThread *thread = [[NSThread alloc] initWithTarget:self ...
分类:移动开发   时间:2015-03-06 19:00:13    阅读次数:150
运行时runtime
1.在object-c运行时替换私有类的方法runtime完全解读2.运行时给一个对象增加方法//C方法形式定义被增加的方法void helloLog(id self, SEL _cmd){ NSLog(@"helloLog");}//OC方法形式定义被增加方法- (void)helloLog{ ....
分类:其他好文   时间:2015-03-04 18:56:17    阅读次数:111
关于performSelectorXXX的小猫腻
1.- (void)performSelectorOnMainThread:(SEL)aSelector withObject:(id)arg waitUntilDone:(BOOL)wait- (void)performSelectorOnMainThread:(SEL)aSelector wit...
分类:其他好文   时间:2015-03-04 16:32:41    阅读次数:151
rurntime常用函数
一、在objc/message.h中常用的运行时函数         #import         /**            *1.对象调用方法         */         id objc_msgSend(id self, SEL op, ...)         id self://调用方法的对象         SEL://调用的方法         .....
分类:其他好文   时间:2015-03-03 20:39:18    阅读次数:151
sql 解析字符串添加到临时表中 sql存储过程in 参数输入
sql 解析字符串添加到临时表中 sql存储过程in 参数输入 解决方法把字符串解析 添加到 临时表中SELECT * into #临时表 FROM dbo.Func_SplitOneColumnTabel('001,gf', ',')select * from 表 where ID in (sel...
分类:数据库   时间:2015-03-03 11:23:29    阅读次数:151
thinkphp缓存的简单使用
$cache=S('newskey'); if(!$cache){ $cache=M('news')->cache(true,60,'newskey')->where('state=1')->order('publishtime desc')->limit(5)->sel...
分类:Web程序   时间:2015-03-02 14:27:04    阅读次数:174
jquery 常用函数一览
可以打印后慢慢一个一个查找,有利于记忆。核心· jQuery 核心函数 o jQuery([sel,[context]]) o jQuery(html,[ownerDoc])1.8* o jQuery(callback) o jQuery.holdReady(hold)1.6+ · jQu...
分类:Web程序   时间:2015-03-02 10:50:03    阅读次数:182
自定义导航栏标题按钮
自定义标题栏按钮@implementation SNTitleButton- (id)initWithFrame:(CGRect)frame{ self = [super initWithFrame:frame]; if (self) { //图片居中 sel...
分类:其他好文   时间:2015-03-01 23:47:19    阅读次数:183
SEL
//// main.m// 08-SEL//// Created by apple on 13-8-8.// Copyright (c) 2013年 itcast. All rights reserved.///*SEL其实是对方法的一种包装,将方法包装成一个SEL类型的数据,去找对应的方法地址。找...
分类:其他好文   时间:2015-02-28 21:32:19    阅读次数:621
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!