码迷,mamicode.com
首页 >  
搜索关键字:interface    ( 13681个结果
先选择城市,然后,跳转tabbar所在的页面.(仿安客居新房)
首页展示效果图:点击单元格时候的效果图:文件目录:ChooseCityViewController.h#import @interface ChooseCityViewController : UIViewController{ NSMutableArray * dataArray; U...
分类:其他好文   时间:2014-10-18 10:55:27    阅读次数:250
转-观察模式 猫叫鼠跑人醒
猫大叫一声,所有的老鼠都开始逃跑,主人被惊醒。 public interface Observer { void Response(); //观察者的响应,如是老鼠见到猫的反映 } public interface Subject { void AimAt(Observer obs); //针对哪....
分类:其他好文   时间:2014-10-18 09:45:37    阅读次数:254
自定义等待视图
AlertView.h#import @interface AlertView : UIView@property (strong, nonatomic) UILabel *messageLabel;@endAlertView.m#import "AlertView.h"@interface Ale...
分类:其他好文   时间:2014-10-18 01:52:05    阅读次数:184
PairWork-电梯调度程序结对编程
1 结对编程 1.1 结对编程的优缺点 1.2 结对伙伴的优缺点2 Information Hiding, interface design, loose coupling 2.1 Information Hiding 2.2 interface design 2.3 loose coup...
分类:其他好文   时间:2014-10-17 23:09:50    阅读次数:310
KVC
#import "ViewController.h"#import "Student.h"#import "Book.h"#import "News.h"@interface ViewController ()@end@implementation ViewController- (void)vie...
分类:其他好文   时间:2014-10-17 23:07:53    阅读次数:284
IOS开发之类和对象
IOS开发之类和对象OC和Java一样都是一种面向对象的语言,从今天開始我和大家一起来系统学习这样的面向对象的语言oc,欢迎大家什么问题和我一起探讨和学习。OC定义类有两个步骤:1、接口部分(通俗的说是.h文件)2、实现部分(通俗的说是.m文件)接口部分语法例如以下: #interface:Mycl...
分类:移动开发   时间:2014-10-17 21:57:25    阅读次数:261
C# IEnumerator与 IEnumerable
1、 接口的使用 (1) 首先定义接口 public interface IBattleMapManager : { Stages CurrentStage { get; } event EventH...
分类:编程语言   时间:2014-10-17 20:29:49    阅读次数:223
设计模式之工厂模式
一、简单工厂模式public interface Car { public void drive();}public class Benz implements Car { public void drive() { System.out.println("Driving ...
分类:其他好文   时间:2014-10-17 18:29:47    阅读次数:200
订单应用暂挂
You can apply hold on existing order by populating the order import interface with the following : OE_HEADERS_IFACE_ALL ORDER_SOURCE_ID ORIG_SYS_DOCUMENT_REF OPERATION_CODE => 'UPDATE' ORG_ID...
分类:其他好文   时间:2014-10-17 15:32:46    阅读次数:385
一个tableView,两个section
效果图:.h#import @interface RootViewController : UIViewController{ UITableView *mTableView;}@end.m- (void)viewDidLoad{ [super viewDidLoad]; // D...
分类:其他好文   时间:2014-10-17 13:39:00    阅读次数:166
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!