码迷,mamicode.com
首页 >  
搜索关键字:implementation    ( 1803个结果
OC中的self
代码: #import?<Foundation/Foundation.h> @interface?MyClass?:?NSObject -?(void)?funcA; -?(void)?funcAA; +?(void)?funcA; +?(void)?funcAA; @end @implementation?MyClass -?(void)?f...
分类:其他好文   时间:2014-10-23 14:38:24    阅读次数:193
Block系列1:初识block
ViewController.m #import "ViewController.h" #import "Person.h" @interface ViewController () @end @implementation ViewController //-------1、定义函数----- //1、函数 int sum(int a,int b) { return a+b; }...
分类:其他好文   时间:2014-10-23 14:30:23    阅读次数:146
Xcode6编译SDWebImage报错解决方法(SDWebImageDownloaderOperation.m错误)
报错:Use of undeclared identifier '_executing' / '_finished';解决方法:在SDWebImageDownloaderOperation类的实现中(@implementation里)添加:@synthesize executing = _execu...
分类:Web程序   时间:2014-10-22 17:53:23    阅读次数:155
点击任何处,弹出另外一个界面(出行搭档)
点击任何处的效果图:文件目录:MoreView.h#import @interface MoreView : UIView@endMoreView.m#import "MoreView.h"@implementation MoreView- (id)initWithFrame:(CGRect)fra...
分类:其他好文   时间:2014-10-21 11:50:59    阅读次数:125
SVSegmentedControl的使用
初始化效果图:选择后一选项后的效果图:文档目录:代码:#import "RootViewController.h"//引入头文件#import "SVSegmentedControl.h"@implementation RootViewController- (void)viewDidLoad{ ...
分类:其他好文   时间:2014-10-21 10:17:45    阅读次数:382
ios高级开发,runtime(一)
创建公共类:@interface CustomClass : NSObject- (void) fun1;@end@implementation CustomClass-(void)fun1{ NSLog(@"fun1");}@end@interface TestClass : NSObject@....
分类:移动开发   时间:2014-10-20 13:05:57    阅读次数:254
adb概览及协议参考
原文:https://github.com/android/platform_system_core/blob/master/adb/OVERVIEW.TXT) Implementation notes regarding ADB. ADB实现注解 1. General Overview: 1概要 The Android Debug Bridge (ADB) is used to: A...
分类:数据库   时间:2014-10-19 11:38:37    阅读次数:218
黑马程序员——OC语言基本语法知识(三)
*** 类方法 ***声明和实现:@interface Person : NSObject+ (void) age; //声明一个类方法@end@implementation Person+ (void) age //类方法的实现{NSLog(@"abcd");}@endint main(){[P....
分类:编程语言   时间:2014-10-18 23:29:59    阅读次数:253
黑马程序员_ Objective-c 面向对象笔记详解
1)类,对象,方法类类名:1) 类名的第一个字母必须是大写2) 不能有下划线3) 多个英文单词,用驼峰标识类的声明和实现类的声明@interface 类名 : NSObject{ @public 成员变量;}方法声明;@end类的实现@implementation 类名方法实现;@end举例说明.....
分类:其他好文   时间:2014-10-18 22:17:59    阅读次数:516
Delphi隐藏进程
interface function MyHideProcess: Boolean; implementation uses Windows, Classes, AclAPI, accCtrl; type NTSTATUS = LongInt; const //...
分类:Windows程序   时间:2014-10-18 15:19:08    阅读次数:246
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!