基本步骤:1. 新建空白项目。2. 新建ViewController类,带xib文件。3.
将TableView拖到xib视图中,绑定UITableViewDataSource和UITableViewDelegate到ViewController上,在ViewController.m文件中调用相关方...
分类:
其他好文 时间:
2014-05-24 02:01:36
阅读次数:
351
//// YCViewController.h// 分组查询一//// Created by 余超
on 14-5-19.// Copyright (c) 2014年 余超. All rights reserved.//#import @interface
YCViewController ...
分类:
移动开发 时间:
2014-05-24 01:55:24
阅读次数:
312
接着下来简单说说Label(相当于android的textview)和button的使用,
由于都是与上篇的AppDelegate一致, 所以这一篇就说说ViewController与xib的使用呗。BIDViewController.h#import
@interface BIDViewContr...
分类:
移动开发 时间:
2014-05-23 12:37:14
阅读次数:
399
Java Native Interface
(JNI)标准是java平台的一部分,它允许Java代码和其他语言写的代码进行交互。JNI 是本地编程接口,它使得在 Java 虚拟机 (VM) 内部运行的
Java 代码能够与用其它编程语言(如 C、C++ 和汇编语言)编写的应用程序和库进行交互操作。....
分类:
移动开发 时间:
2014-05-23 11:56:02
阅读次数:
314
一.关于GDI的基本概念什么是GDI?Windows绘图的实质就是利用Windows提供的图形设备接口GDI(Graphics
Device Interface)将图形绘制在显示器上。在Windows操作系统中,动态链接库C:\WINDOWS\system32\gdi32.dll(GDI
Clien...
分类:
其他好文 时间:
2014-05-23 10:04:50
阅读次数:
616
NSDate有个类别,如下:
@interface NSDate (NSDateCreation)
一个方法是:
- (instancetype)initWithTimeInterval:(NSTimeInterval)secsToBeAdded sinceDate:(NSDate *)date;
这个方法官方的description是:
Returns an NSDate ob...
分类:
其他好文 时间:
2014-05-22 09:49:16
阅读次数:
214
接口绝对是最重要的东西!!!1. 什么是接口2. 接口的基本语法1. 什么是接口 定义接口,
就是定义了调用对象的标准2. 接口的基本语法 使用interface定义 接口当中的方法都是抽象方法 接口当中的方法都是public权限1 interface
USB{ //in...
分类:
其他好文 时间:
2014-05-20 12:22:17
阅读次数:
304
@interface FoodData : NSObject{ NSString *
foodName; float foodPrice;
}@end/////////////////////////////////////////////////////////////////////////.....
分类:
其他好文 时间:
2014-05-20 11:02:32
阅读次数:
229
#import "mainController.h"@interface mainController
()//分页控件@property(nonatomic,weak)UIPageControl
*pageController;//滚动视图@property(nonatomic,weak)UISc...
分类:
其他好文 时间:
2014-05-20 08:49:13
阅读次数:
303
什么是接口?定义了接口,就是定义了调用对象的标准接口的基本语法:1.使用interface定义;2.接口当中的方法都是抽象方法;3.接口当中的方法都是public权限接口的基本语法(二):
1.实现接口使用implements关键字2.一个类可以实现多个接口3.一个接口可以继承多个接口举例:inte...
分类:
移动开发 时间:
2014-05-20 08:11:20
阅读次数:
299