码迷,mamicode.com
首页 >  
搜索关键字:implementation    ( 1803个结果
同步下载数据,jeson 解析
#import "ViewController.h" @interface ViewController () @property(nonatomic,weak)IBOutlet UIButton *button; @property(nonatomic,weak)IBOutlet UIImageView *imageView; @end @implementation ViewCo...
分类:其他好文   时间:2015-08-29 14:03:17    阅读次数:121
ios开发-电话本的设计与实现
#import #import "SubViewController.h" @interface ViewController : UIViewController @end #import "SubViewController.h" @interface SubViewController () @end @implementation SubViewController -...
分类:移动开发   时间:2015-08-29 00:53:26    阅读次数:274
Objective-C:制作九宫格
制作简单的九宫格: 源码如下: 1 #import "ViewController.h" 2 3 @interface ViewController () 4 5 @end 6 7 @implementation ViewController 8 9 - (void)viewDidLoa...
分类:其他好文   时间:2015-08-28 21:26:52    阅读次数:266
js设计模式——桥接模式
定义:将抽象化(Abstraction)与实现化(Implementation)脱耦,使得二者可以独立地变化。常用场景:在js中,桥接模式常用于事件监听器和ajax请求的解耦,以便于进行单元测试。举个栗子 普通方法。var btn=$('#btn');btn.on('click',functi...
分类:Web程序   时间:2015-08-28 17:02:11    阅读次数:133
iOS中的UIView的基本属性1
@interface AppDelegate ()@end@implementation AppDelegate- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *...
分类:移动开发   时间:2015-08-28 00:33:30    阅读次数:247
iOS中的分段控件(UISegmentedControl)和滑块控件(UISlider)
#import "RootViewController.h"@interface RootViewController ()@end@implementation RootViewController- (void)viewDidLoad { [super viewDidLoad]; /...
分类:移动开发   时间:2015-08-27 22:55:01    阅读次数:228
iOS中的UILabel
#import "AppDelegate.h"@interface AppDelegate ()@end@implementation AppDelegate- (BOOL)application:(UIApplication *)application didFinishLaunchingWith...
分类:移动开发   时间:2015-08-27 22:54:55    阅读次数:205
iOS中的文本框(UITextField)
#import "AppDelegate.h"@interface AppDelegate ()@end@implementation AppDelegate- (BOOL)application:(UIApplication *)application didFinishLaunchingWith...
分类:移动开发   时间:2015-08-27 22:52:29    阅读次数:292
IOS中AppDelegate类中的方法触发时机-----自定义AppDelegate的写法
@implementation AppDelegate//当应用程序加载时触发,创建window窗口对象,让对象的window成为程序的主窗口,并且可视.- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOp...
分类:移动开发   时间:2015-08-27 22:52:23    阅读次数:286
IOS中的响应者链
响应者链就是当子视图不响应,父视图有响应事件,父视图响应#import "RootViewController.h"#import "ResponderView.h"@interface RootViewController ()@end@implementation RootViewControl...
分类:移动开发   时间:2015-08-27 22:45:16    阅读次数:181
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!