安装脚本1、1_preusers.sh#!/bin/bash#Purpose:Create 3 groups named 'oinstall','dba','oper', plus 1 users named 'oracle'.#Also setting the Environment#variab...
分类:
数据库 时间:
2014-07-03 10:50:44
阅读次数:
268
45.error和exception有什么区别?答案:Error表示系统级的错误和程序不必处理的异常,我们无法处理它。 Exception表示是可以捕捉或者需要程序进行处理的异常。47.abstract class和interface有什么区别?答案:一个只能继承一个抽象类,但却可以实现多个接口。抽...
分类:
其他好文 时间:
2014-07-02 23:22:44
阅读次数:
182
自然人机交互设计技术 (全息三维投影,手势肢体识别,眼动跟踪 。。。) 符合人类心理的交互方式 自然用户界面 —— Natural User Interface 有机用户界面 —— Organic User Interface 第六感设备 —— 手势识别,摄像头,投影,云计算 通过对熟知的技术的组合...
分类:
其他好文 时间:
2014-07-02 18:50:00
阅读次数:
187
1.abstract:修饰抽象类,抽象方法,不可以被实例化2.extends:继承父类中的所有属性和方法3.implements:使用接口,一个类只能继承一个类,但可以使用多个接口,接口中的方法全部为抽象方法,使用时,必须全部实现;4.interface:定义接口类;5.define:定义全局常量;...
分类:
Web程序 时间:
2014-07-02 18:23:57
阅读次数:
253
@interface FirstViewController ()
@property (nonatomic,assign)BOOL isplay;
@end
@implementation FirstViewController
@synthesize isplay;
- (void)viewDidLoad
{
[super
viewDid...
分类:
其他好文 时间:
2014-07-02 10:47:22
阅读次数:
191
@interface RootViewController (){ UIView *view1; UIView *view2; int flag;}@end@implementation RootViewController- (void)viewDidLoad{ [s...
分类:
其他好文 时间:
2014-07-02 10:25:29
阅读次数:
130
.h文件
#import
@interface UILabel (ContentSize)
- (CGSize)contentSize;
@end
.m文件
#import "UILabel+ContentSize.h"
@implementation UILabel (ContentSize)
- (CGSize)contentSize {
NSMutablePa...
分类:
移动开发 时间:
2014-07-02 09:50:21
阅读次数:
223
@我们应用程序使用MVC架构的话,对于处理数据类,我们会单独的定义Model类,在里面为要展示的属性进行初始化赋值,一般采用的方法是通过定义对应的属性,挨个赋值.现在我要介绍的就是通过KVC,key-value的方式,进行赋值.
@先来看一段代码:
#import
@interface MDCAllShopObjectModel : NSObject
// 定义全...
分类:
其他好文 时间:
2014-07-02 08:01:45
阅读次数:
196
#import #import "T20140628024917NSNumber+Message.h"#import "T20140628024917NSString+URLEncoding.h"@interface T20140628024917ViewController : UITableVi...
分类:
移动开发 时间:
2014-07-01 10:33:16
阅读次数:
369
#import #import "T20140628024750NSNumber+Message.h"#import "T20140628024750NSString+URLEncoding.h"@interface T20140628024750ViewController : UITableVi...
分类:
移动开发 时间:
2014-07-01 10:31:23
阅读次数:
288