码迷,mamicode.com
首页 >  
搜索关键字:self this    ( 14215个结果
iOS-多线程 ,整理集锦,多种线程的创建
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ self.window = [[[UIWindow alloc] init...
分类:移动开发   时间:2014-07-06 23:04:31    阅读次数:270
新浪微博--状态发布及图片的上传
#pragma mark 发微博界面:sendStatus-(void)sendStatus{ if ([self.textView.text isEqualToString:@""]) { UIAlertView *alter = [[UIAlertView alloc...
分类:其他好文   时间:2014-07-06 22:34:00    阅读次数:293
jquery 添加方法 : $.fn.方法名 = function(参数a,b,c){
$.fn.image_checked = function(self,status,img_body,csrf_token){ $(this).live('click', function(){ var index = $(this).index() var img_id = $('.'+se...
分类:Web程序   时间:2014-07-06 22:31:18    阅读次数:451
iOS开发-微博客户端-基本界面搭建(01)
1>创建程序载入界面- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ //1>创建窗口 self.window = [[UIW.....
分类:移动开发   时间:2014-07-06 18:03:22    阅读次数:218
expect自动远程拷贝脚本
expect自动远程拷贝脚本,利用rsync命令,脚本内容如下:#!/usr/bin/expect --proc Usage_Exit {self} { puts "" puts "Usage: $self ip user passwd port sourcefile d...
分类:其他好文   时间:2014-07-06 16:24:17    阅读次数:333
effective c++ 条款10 handle assignment to self operator =
非强制性,但是个好习惯当使用连锁赋值时很有用x=y=z=10;class Window{ public: Window& operator=(int size) { ... return *this; }}这个规则适用于 -,+, +=,-= etc
分类:编程语言   时间:2014-07-06 16:14:49    阅读次数:264
通过APPID从appStore获取应用最新信息
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ self.window = [[UIWindow alloc] initW...
分类:移动开发   时间:2014-07-06 15:36:26    阅读次数:366
防止 NSTimer retain 作为 target 的 self
先吐槽一下这个标题,空格略蛋疼,不像中文,但是不写空格看上去则更诡异,求解决方案……NSTimer会retain它的target,这样如果在控制器当中定义一个NSTimer,target指定为self,则会引起循环引用。解决方案和防止block引用self一样,第一步需要把NSTimer的操作封装到...
分类:其他好文   时间:2014-07-06 14:44:21    阅读次数:141
UML建模之时序图(Sequence Diagram)教程
一、时序图简介(Brief introduction) 二、时序图元素(Sequence Diagram Elements)角色(Actor)对象(Object)生命线(Lifeline)控制焦点(Focus of Control)消息(Message)自关联消息(Self-Message)Com....
分类:其他好文   时间:2014-07-06 13:38:54    阅读次数:254
Spark分析之Master、Worker以及Application三者之间如何建立连接
Master.preStart(){ webUi.bind() context.system.scheduler.schedule(0 millis, WORKER_TIMEOUT millis, self, CheckForWorkerTimeOut) //定时任务检测是否有DEAD WORK.....
分类:移动开发   时间:2014-07-06 12:51:21    阅读次数:249
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!