码迷,mamicode.com
首页 >  
搜索关键字:implementation    ( 1803个结果
google objective-c coding style(1)留白和格式
不要求在@interface、@implementation和@end前后空行。如果你在@interface声明了实例变量,则须在关括号}之后空一行。空格 vs. 制表符只使用空格,且一次缩进两个空格。我们使用空格缩进。不要在代码中使用制表符。你应该将编辑器设置成自动将制表符替换成空格。行宽尽量让你...
分类:其他好文   时间:2015-03-18 15:33:10    阅读次数:124
linux socket can测试
1. Overview / What is Socket CAN--------------------------------The socketcan package is an implementation of CAN protocols (Controller Area Network) ...
分类:系统相关   时间:2015-03-17 19:45:21    阅读次数:494
Day4
1 Strong and Weak#import "Person.h"@implementation Person- (void)dealloc{ NSLog(@"person destroy");}@end强指针:strong系统一般不会自动释放弱指针:weak 系统会立即释放对象//// ...
分类:其他好文   时间:2015-03-16 20:49:40    阅读次数:179
tel
//// JZLTel.m// JZLIntegrationDemo//// Created by 微指 on 15/3/16.// Copyright (c) 2015年 JZL. All rights reserved.//#import "JZLTel.h"@implementation JZ...
分类:其他好文   时间:2015-03-16 19:18:46    阅读次数:151
单例-Singleton-02
.h文件#import @interface HMDataTool : NSObject+ (instancetype)sharedDataTool;@end.m文件#import "HMDataTool.h"@implementation HMDataTool// 用来保存唯一单例对象static...
分类:其他好文   时间:2015-03-16 19:09:02    阅读次数:120
unity简单设计模式---CoroutineScheduler
Contents [hide] 1 Description2 Usage3 Code 3.1 CoroutineScheduler.js3.2 CoroutineNode.js3.3 CoroutineSchedulerTest.cs3.4 CoroutineScheduler.cs3.5 CoroutineNode.cs4 Additional Implementation C# 4.1 S...
分类:编程语言   时间:2015-03-15 23:04:33    阅读次数:215
【iOS开发】关于objective-c中的类的总结
1》类的创建: @interface Car:NSObject { //变量名 } //方法声明 @end @implementation Car //方法的实现 @end 2》类的继承(oc中不支持多继承,可以通过其他特性达到多继承的效果, 例如『类别』catergory 和『协议』protocol) @interface Circle:Car @end ...
分类:移动开发   时间:2015-03-15 21:23:31    阅读次数:146
Delphi中的变量作用域简介
1.在函数或过程中声明的变量是局部变量,只能在函数或过程中使用 2.在单元的implementation部分声明的变量是单元级的(又称模块级、窗体级)变量,该单元的所有函数与过程都能使用,其他引用该单元的单元就没法使用该变量 3.在interface部分定义的变量是全局变量,其他引用该单元的...
分类:Windows程序   时间:2015-03-15 12:17:14    阅读次数:166
UIScrollView 图片分页显示,这里用到了UIPageControl
#import "MJViewController.h"#define kCount 8 //定义宏,程序中经常使用,方便扩展@interface MJViewController () { UIPageControl *_pageControl;}@end@implementation MJVi....
分类:其他好文   时间:2015-03-15 00:29:15    阅读次数:152
UIScrollView-大图片展示 与图片缩放 Demo
一 大图片展示#import "MJViewController.h"@interface MJViewController (){ UIScrollView *_scrollView;//方但全局调用定义成成员变量}@end@implementation MJViewController- (v....
分类:其他好文   时间:2015-03-14 23:10:42    阅读次数:267
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!