码迷,mamicode.com
首页 >  
搜索关键字:interface method/field    ( 13706个结果)
iosNSOperation依赖关系
NSOperation 依赖关系,就像你和女友,互相需要对方一样。非常有意思。 #import "ViewController.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad {     [super viewDidLoa...
分类:移动开发   时间:2015-04-15 23:26:53    阅读次数:166
Day13 协议
1 协议,就是class里面必须遵循的约定。例如@protocol viewControllerDelegate -(void)loadMoreData;@end@interface ViewController ()@property (weak, nonatomic) IBOutlet UITa...
分类:其他好文   时间:2015-04-15 21:12:05    阅读次数:116
IOS学习—表情的排列
// // ViewController.m // 表情排列 // // Created by on 15/4/15. // Copyright (c) 2015年 apple. All rights reserved. // #import "ViewController.h" #define kImageWidth 40 @interface ViewContr...
分类:移动开发   时间:2015-04-15 19:44:20    阅读次数:187
java反射与代理模式
流程age:饭前洗手----》 吃饭 ---》饭后洗碗//吃饭public interface Dinner { //吃饭方法 public void haveDinner();} //委托类public class MyDinner implements Dinner { @Override p....
分类:编程语言   时间:2015-04-15 19:05:19    阅读次数:183
手势识别之平移、缩放、长按、旋转、滑动
前面了解了手势识别的点击以及代理方法,其他的几个手势识别都是差不多#import "ViewController.h"@interface ViewController ()@property(nonatomic,strong)UIImageView *imgView;@end@implementa...
分类:其他好文   时间:2015-04-15 16:58:01    阅读次数:184
第一节 生命周期和Zend引擎
一切的开始: SAPI接口SAPI(Server Application Programming Interface)指的是PHP具体应用的编程接口, 就像PC一样,无论安装哪些操作系统,只要满足了PC的接口规范都可以在PC上正常运行, PHP脚本要执行有很多种方式,通过Web服务器,或者直接在命令...
分类:其他好文   时间:2015-04-15 16:47:31    阅读次数:168
KVC-键值编码
KVC 是key,value,coding的缩写,即键值编码。在iOS中,可以通过类的属性的名称(key),来间接访问对象的属性信息。 建一个工程,创建一个zzPerson类,它有两个属性,name和address。 zzPerson.h: #import @interface zzPerson : NSObject {   NSString * name,addre...
分类:其他好文   时间:2015-04-15 13:38:26    阅读次数:115
手势识别之轻点
#import "ViewController.h"@interface ViewController ()@property(nonatomic,strong)UIImageView *ImgView;@end@implementation ViewController- (void)viewDi...
分类:其他好文   时间:2015-04-15 13:06:16    阅读次数:186
Asset Catalog Help (一)---About Asset Catalogs
About Asset CatalogsUse asset catalogs to simplify management of images that are used by your app as part of its user interface.使用asset catalogs可以简化应用...
分类:其他好文   时间:2015-04-15 13:00:35    阅读次数:125
UIAlertView点击按钮不会销毁自身View
子类化UIAlertView,复写方法 - (void)dismissWithClickedButtonIndex:(NSInteger)buttonIndex animated:(BOOL)animated; /// UIAlertView subclass which can't be dismissed when buttons clicked. @interface Fix...
分类:其他好文   时间:2015-04-15 11:22:38    阅读次数:146
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!