码迷,mamicode.com
首页 >  
搜索关键字:implementation    ( 1803个结果
【高级java程序员应该知道的小知识】 WeakHashMap
本篇宗旨:simple & stupidWeakHashMap (弱引用的哈希表) Hash table based implementation of the Map interface, with weak keys. An entry in a WeakHashMap will automatically be removed when its key is no longer in or...
分类:编程语言   时间:2015-05-06 09:18:34    阅读次数:141
自定义按钮(图像在上面 文字在下面)
1 @implementation ViewController 2 3 - (void)viewDidLoad { 4 [super viewDidLoad]; 5 // Do any additional setup after loading the view, typic...
分类:其他好文   时间:2015-05-04 23:40:16    阅读次数:210
iOS开发UI篇—Quartz2D使用(信纸条纹)
一、前导程序新建一个项目,在主控制器文件中实现以下几行代码,就能轻松的完成图片在视图中的平铺。 1 #import "YYViewController.h" 2 3 @interface YYViewController () 4 5 @end 6 7 @implementation YYVi...
分类:移动开发   时间:2015-05-03 18:58:32    阅读次数:148
【OC基础】01-类的声明和实现
一、语法简介1.类在OC中,一般用二个文件描述一个类,一个是.h文件,一个是.m文件爱你:1>:.h文件是类的声明文件,用于声明变量和方法。类的声明使用关键字@interface和@end。2>:.m文件是类的实现文件,用于实现.h类中声明的方法。类的实现使用关键字@implementation和@...
分类:其他好文   时间:2015-05-02 12:24:16    阅读次数:136
UI之UIAlertView--提示框
1 #import "AppDelegate.h" 2 3 @interface AppDelegate () // 签UIAlertViewDelegate协议 4 // 协议方法按住comm键,用鼠标点进去看 5 @end 6 @implementation AppDelegate 7 -...
分类:其他好文   时间:2015-05-01 14:38:47    阅读次数:379
iOS开发网络篇—使用ASI框架进行文件下载
一、简单介绍代码示例: 1 #import "YYViewController.h" 2 #import "ASIHTTPRequest.h" 3 4 @interface YYViewController () 5 6 7 @end 8 9 @implementation YYViewCo...
分类:移动开发   时间:2015-04-30 19:36:01    阅读次数:132
IOS ---网络异步请求
异步请求使用与同步和队列式异步请求相同的对象,只不过又增加了另一个对象,即NSURLConnectionDelegate: 上代码:#import "ViewController.h"NSInteger totalDownLoaded = 0;@interface ViewController ()@end@implementation ViewController- (void)viewDidL...
分类:移动开发   时间:2015-04-30 16:09:31    阅读次数:117
webDriver API——第11部分Remote WebDriver
The WebDriver implementation.classselenium.webdriver.remote.webdriver.WebDriver(command_executor='http://127.0.0.1:4444/wd/hub',desired_capabilities=N...
分类:Windows程序   时间:2015-04-29 23:24:40    阅读次数:305
WebDriver API——第3部分Action Chains
The ActionChains implementation,classselenium.webdriver.common.action_chains.ActionChains(driver)Bases:objectActionChains are a way to automate low le...
分类:Windows程序   时间:2015-04-29 23:07:15    阅读次数:255
WebDriver API——第4部分Alerts
The Alert implementation.classselenium.webdriver.common.alert.Alert(driver)Bases:objectAllows to work with alerts.Use this class to interact with aler...
分类:Windows程序   时间:2015-04-29 23:04:21    阅读次数:176
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!