GDI+是GDI(即Windows早期版本中附带的Graphics Device Interface)的后继者。它是一种构成Windows XP操作系统的子系统的应用程序编程接口(API)。...
分类:
其他好文 时间:
2014-09-03 21:21:58
阅读次数:
379
Android调用JNI方法 及 代码本文地址: http://blog.csdn.net/caroline_wendyJNI: Java Native Interface, 实现Java和C/C++的互通.在Android上使用JNI的方法. 时间:2014.9.3环境: 必须使用标准Eclipse, 安装Android的环境, 才可以使用NDT插件.Eclipse Standard/SDK V...
分类:
移动开发 时间:
2014-09-03 21:18:37
阅读次数:
343
#import "QRScanViewController.h"#import "AppDelegate.h"@interface QRScanViewController (){ BOOL infoShowing; UIAlertView *alert; BOOL upToDow...
分类:
其他好文 时间:
2014-09-03 19:43:37
阅读次数:
378
ISP(Interface Segregation Principle),接口隔离原则
它要求如下:
① 一个类对另一个类的依赖性要建立在最小接口上。
② 使用多个专门的接口比使用单一的总接口要好。
③ 没有关系的接口不可合并成一个臃肿的大接口。
④ 对于臃肿的大接口应分成几个合适的小接口。
接口分离方法:
1、使用委托分离接口:把请求委托给别的接口的实现类来完成...
分类:
其他好文 时间:
2014-09-03 16:59:16
阅读次数:
176
3 The class File Format
3.1 The ClassFile Structure
3.2 The Internal Form of Names
3.2.1 Binary Class and Interface Names
3.2.2 Unqualified Names
3.3 Descriptors and Signatures
3.3.1 Grammar Not...
分类:
其他好文 时间:
2014-09-03 16:57:58
阅读次数:
358
@interface GroupListViewController (Network) - (void)setRequest:(ASIHTTPRequest *)request;- (ASIHTTPRequest *)request;@end此种格式,类名后面是何意?(???)
分类:
移动开发 时间:
2014-09-03 16:19:56
阅读次数:
213
有两个图片新建一个CloseLight类CloseLight.himport<UIKit/UIKit.h>
@interfaceCloseLight:UIViewController
@property(nonatomic,assign)NSIntegertag;
@endCloseLight.m#import"CloseLight.h"
@interfaceCloseLight()
@end
@implementationCloseLight
-(id)initWithNib..
分类:
其他好文 时间:
2014-09-03 11:25:56
阅读次数:
205
新建两个类MainViewController/ButtonViewButtonView.h#import<UIKit/UIKit.h>
@interfaceButtonView:UIView
//实现target-action设计模式
//点击的时候让谁去执行方法
@property(nonatomic,assign)idtarget;
//要执行的方法
@property(nonatomic,assign)SELaction;
//..
分类:
其他好文 时间:
2014-09-03 11:25:27
阅读次数:
254
Skype releasedbig updatefor its iOS application last week. It brought in a major overhaul of not only an interface but a product itself. I have to adm...
分类:
其他好文 时间:
2014-09-03 10:55:46
阅读次数:
325
JDK的动态代理public interface Subject { Object request(); void hello();}public class RealSubject implements Subject{ public RealSubject(){}; pu...
分类:
编程语言 时间:
2014-09-03 09:37:06
阅读次数:
215