码迷,mamicode.com
首页 >  
搜索关键字:self    ( 14215个结果
UITextView详解
self.textView = [[[UITextView alloc] initWithFrame:self.view.frame] autorelease];//初始化大小并自动释放self.textView.textColor = [UIColor blackColor];//设置textvi...
分类:其他好文   时间:2014-07-25 02:30:04    阅读次数:267
iOS 调用系统电话
1,直接调用,结束后不返回自己的应用[[UIApplicationsharedApplication]openURL:[NSURLURLWithString:@"tel://10086"]];2,使用WebView请求调用系统电话,结束后可以返回自身应用,合法UIWebView*webView=[[UIWebViewalloc]initWithFrame:CGRectZero];[self.viewaddSubview:web..
分类:移动开发   时间:2014-07-24 23:44:54    阅读次数:274
上传图片图像进行压缩后上传
图片压缩: NSData *imageData = UIImageJPEGRepresentation(self.uploadImage , 0.55); NSString *file_name = [TimeUtil getDateStringWithFormat:@"yyyy-MM-dd"]; NSString *upload_name =[NSStrin...
分类:其他好文   时间:2014-07-24 23:36:03    阅读次数:248
MRC ARC And Block
MRC 防止 block 对self的引用 解决办法 __block typeof(self) weakSelf = self; ARC 防止 block 对self的引用 解决办法 __weak typeof(self) weakSelf = self;...
分类:其他好文   时间:2014-07-24 23:21:43    阅读次数:290
英語につぃて
Database memory threshold 数据库内存阈值 Self tuning memory 自调整内存 Utilities heap size 实用程序堆大小 Number of asynchronous page clea...
分类:其他好文   时间:2014-07-24 22:16:42    阅读次数:243
[python] 类常用的内置方法
内置方法 说明 ?__init__(self,...) 初始化对象,在创建新对象时调用 ?__del__(self) 释放对象,在对象被删除之前调用 ?__new__(cls,*args,**kwd) 实例的生成操作 ?__str__(self) 在使用print语句时被调用 ...
分类:编程语言   时间:2014-07-24 12:32:15    阅读次数:374
无刷新提交表单
有些时候,不能使用ajax来进行提交数据,必须用表单来提交,但是表单提交后刷新页面不可忍受,如何能进行表单无刷新提交呢。近期在工作中就遇到了这个问题,经过深思熟虑还有和RD的仔细沟通。决定用iframe来解决这个问题。form的target属性不光有_blank,_self, _top, _pare...
分类:其他好文   时间:2014-07-23 15:13:26    阅读次数:194
键盘监听,高度获取
监听-(void)viewWillAppear:(BOOL)animated{ [super viewWillAppear:animated]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(key...
分类:其他好文   时间:2014-07-23 12:47:50    阅读次数:207
Memory device control for self-refresh mode
To ensure that a memory device operates in self-refresh mode, the memory controller includes (1) a normal-mode output buffer for driving a clock enabl...
分类:其他好文   时间:2014-07-23 11:59:46    阅读次数:380
Fast exit from dram self-refresh
Embodiments of the invention describe a dynamic random access memory (DRAM) device that may abort a self-refresh mode to improve the exit time from a ...
分类:其他好文   时间:2014-07-23 11:59:16    阅读次数:303
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!