码迷,mamicode.com
首页 >  
搜索关键字:implementation    ( 1803个结果
打钩的动画
打钩的动画 by 伍雪颖 github #import "CheckboxControl.h" @implementation CheckboxControl {     NSInteger lineWidth;     UIColor *lineColor; } - (void)awakeFromNib {  ...
分类:其他好文   时间:2015-08-17 14:04:49    阅读次数:135
OpenCL size_t error
编程测试当中遇到这么一个问题:1,增加kernel时OpenCL编译报错,AMD 平台报错说该source kernel无法生成相应的executableprogram object;2,但是同一套代码在intel E3上可以正常运行;很明显,又是implementation-dependent的问...
分类:其他好文   时间:2015-08-16 13:38:18    阅读次数:142
hadoop权威指南(第四版)要点翻译(5)——Chapter 3. The HDFS(5)
5) The Java Interface a) Reading Data from a Hadoop URL. 使用hadoop URL来读取数据 b) Although we focus mainly on the HDFS implementation, DistributedFileSystem, in general you should strive to write y...
分类:其他好文   时间:2015-08-16 12:20:05    阅读次数:98
《Java设计模式》之桥接模式
Bridge模式的概念 Bridge 模式是构造型的设计模式之一。Bridge模式基于类的最小设计原则,通过使用封装,聚合以及继承等行为来让不同的类承担不同的责任。它的主要特点是把抽象(abstraction)与行为实现(implementation)分离开来,从而可以保持各部分的独立性以及应对它们的功能扩展。 Bridge模式的应用场景 面向对象的程序设计(OOP)里有类继承(...
分类:编程语言   时间:2015-08-16 10:45:33    阅读次数:159
iOS开发——实用技术OC篇&各种传值方式总结
单例//.h1 + (Instannce *)shareInstance;//.m 1 static Instannce *instance = nil; 2 @implementation Instannce 3 //定义一个创建单例对象的方法 4 + (Instannce *)shareInst...
分类:移动开发   时间:2015-08-16 00:35:53    阅读次数:227
UIView实现红黑棋盘
//? Created by 妖精的尾巴 on 15-8-15. //? Copyright (c) 2015年 妖精的尾巴. All rights reserved. // #import "ViewController.h" #define kHeight 20 @interface ViewController () @end @implementation...
分类:其他好文   时间:2015-08-15 21:38:29    阅读次数:250
第二讲、实例变量可见度、方法
一、实例变量可见度可见度特点public实例变量可以在类的外部和内部操作protected实例变量只能在该类和其子类内操作默认private实例变量只能在该类内访问内部:相应类的@implementation和@end之间@interfacePerson:NSObject{@publicNSString*_name;@protectedNSString*_gender;i..
分类:其他好文   时间:2015-08-15 18:32:03    阅读次数:99
IOS问题
#import "EXFifthViewController.h"@interface EXFifthViewController ()@end@implementation EXFifthViewController@synthesize scrollView;@synthesize textVi...
分类:移动开发   时间:2015-08-14 15:36:33    阅读次数:186
ios-晋级之路 在模拟器中测试定位
添加这段代码@interface CLLocationManager (Simulator)@end@implementation CLLocationManager (Simulator)-(void)startUpdatingLocation{ float latitude = 32.061;....
分类:移动开发   时间:2015-08-14 11:16:06    阅读次数:118
UI 07 _ 导航视图控制器 与 属性传值
首先, 先创建三个VC. 完成点击按钮, 进入下一页, 并能够返回.要先把导航视图控制器创建出来. 在AppDelegate.m 文件中代码如下:#import "AppDelegate.h" #import "MainViewController.h" @interface AppDelegate () @end@implementation AppDelegate - (void)deall...
分类:其他好文   时间:2015-08-13 23:43:15    阅读次数:195
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!