码迷,mamicode.com
首页 >  
搜索关键字:implementation    ( 1803个结果
保持按钮选中状态,当点击另一个按钮后之前被选中的按钮恢复原样 实现代码
//可直接复制 测试#import "ViewController.h"@interface ViewController (){ NSInteger num;}@end@implementation ViewController- (void)viewDidLoad { [super view.....
分类:其他好文   时间:2015-10-13 17:10:00    阅读次数:1148
要缩小通过两个触摸点的观点(iOS)
于AppDelegate.m档,创建一个视图控制器#import "MAYAppDelegate.h"#import "MAYViewController.h"@implementation MAYAppDelegate- (BOOL)application:(UIApplication *)app...
分类:移动开发   时间:2015-10-13 16:37:01    阅读次数:142
ocp-309
QUESTION NO: 309 Which statement most accurately describes the implementation of a SQL Access Advisor recommendation? A. SQL Access Advisor recommendations are automatically implemented. B. Indivi...
分类:其他好文   时间:2015-10-12 12:45:34    阅读次数:121
javascript进行MD5加密js源码
/* * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message * Digest Algorithm, as defined in RFC 1321. * Version 2.1 Copyright (C) Paul Johnston 1999 - 2002. * Other contributo...
分类:编程语言   时间:2015-10-11 20:05:36    阅读次数:243
iOS -- 通知机制
// Person.m 文件@implementation Person- (void)newsCome:(NSNotification *)note{ Company *obj = note.object; NSLog(@"\n公司名: %@ -- 新闻名: %@ -- 接收者: %@ -- .....
分类:移动开发   时间:2015-10-10 22:58:27    阅读次数:204
友盟第三方登录
一、在项目中要配置APPID和appKey#import "ViewController.h"#import "UMSocial.h"@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad {...
分类:其他好文   时间:2015-10-09 21:30:14    阅读次数:976
类别和协议
类别是另一种为现有类添加新行为的方法。不同于子类,类别实际上是oc的一种动态行为,它利用了运行时分配机制。因此,类别甚至不需要拥有原类的源代码。此外,类别不能向现有的类中添加实例变量。类别有很多好处,比如把类的实现分散到多个implementation文件里,或者用于创建非正式协议;类别也有一些限制...
分类:其他好文   时间:2015-10-08 18:14:31    阅读次数:122
关于UICollectionView在MRC下的纯代码实现之一(在UIViewController中实现)
1.设置ViewController来管理视图#import "AppDelegate.h"#import "ViewController.h"@interface AppDelegate ()@end@implementation AppDelegate- (void)dealloc{ [_...
分类:其他好文   时间:2015-10-06 22:03:24    阅读次数:219
观察者模式
#import "ViewController.h"#import "Person.h"@interface ViewController ()@property (nonatomic, strong) Person *model;@end@implementation ViewController...
分类:其他好文   时间:2015-10-05 16:55:07    阅读次数:177
[]self init]
在字典转模型中遇到了这样的代码: 1 #import "HMAppInfo.h" 2 3 @implementation HMAppInfo 4 5 - (instancetype)initWithDict:(NSDictionary *)dict 6 { 7 // self 是 对象 ...
分类:其他好文   时间:2015-10-05 10:23:53    阅读次数:141
1803条   上一页 1 ... 88 89 90 91 92 ... 181 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!