码迷,mamicode.com
首页 >  
搜索关键字:interface method/field    ( 13706个结果)
Object-c学习笔记(1)
说明:本人用的win8 系统装Code::Blocks练习OC。 1.类的声明和实现的关系图:  @interface就好像暴露在外面的时钟表面  @implementation就好像隐藏在时钟内部的构造实现 2.语法中要注意的地方 (1).成员变量不能在{}中进行初始化、不能被直接拿出去访问 (2).方法不能当做函数一样调用 (3).成员变量\方法不能用stat...
分类:其他好文   时间:2014-10-03 14:23:04    阅读次数:171
[Stanford] RPN Calculator(model)
CalculatorBrain.h//建model------菜单 > NewFile > iOS > Cocoa Touch > Objective-C class // 完成操作数入栈和完成栈上的操作#import @interface CalculatorBrain : NSObject .....
分类:其他好文   时间:2014-10-03 14:13:34    阅读次数:218
[Stanford] RPN Calculator(controller)
CalculatorViewController.h//iOS> Application > Single View Application 建立一个模板controller和空白View#import @interface CalculatorViewController : UIViewCont...
分类:其他好文   时间:2014-10-03 14:03:24    阅读次数:192
UIView小总结
@interface UIView : UIResponder/*** 通过一个frame来初始化一个UI控件*/- (id)initWithFrame:(CGRect)frame;// YES:能够跟用户进行交互@property(nonatomic,getter=isUserInteractio...
分类:其他好文   时间:2014-10-03 04:10:03    阅读次数:260
工厂模式
工厂模式工厂模式演变一: 1 package cn.itcast.factorydemo01; 2 3 //声明一个接口 4 interface Fruit { 5 //接口中定义一个eat()方法 6 public void eat(); 7 } 8 //声明两个类实现这个接口 ...
分类:其他好文   时间:2014-10-03 01:49:33    阅读次数:408
Chapter 17 Autorotation, Popover Controller, and Modal View Controllers
Chapter 17 Autorotation, Popover Controller, and Modal View Controllers1.There are two distinct orientations in iOS: device orientation and interface ...
分类:其他好文   时间:2014-10-02 17:50:23    阅读次数:161
路由器基本设置(四)
实验环境:CiscoPacketTracer6.0设备需求:2811路由器一台实验目的:为路由器设置标语信息和描述信息.语法:1.进入全局配置模式,设置标语信息:R1(config)#bannermotd#{text}#2.进入接口配置模式:R1(config-if)#interface{type}{number}3.为路由器接口设置描述信息:R1(config-if)..
分类:其他好文   时间:2014-10-01 01:49:11    阅读次数:648
UI设计理念——一切从用户出发
UI设计是一个比较大的话题,自己将结合项目中的经验,阐述UI设计中的一些观点。     UI: User Interface,如今看来中间应该包含一个interactive(交互)。User Interface是呈现给用户使用的样子,Interactive代表了软件的体验度,两样合起来才能带给用户舒适的感觉。     UI设计目前分为三个发展方向: 1. Graphic UI desig...
分类:其他好文   时间:2014-10-01 00:17:20    阅读次数:242
UI设计
UI就是User Interface,这是人机交互的设计,好的UI设计不仅让软件变得有个性有品味,还可以让操作变得舒适简单。     在案件追踪系统中,我们设计的界面被老师否定了一部分,经过老师一解释发现事情 的确如此,顿时一款高大上的软件有点难以下咽起来。通过老师的一番论述,谈谈我对UI设计的理解。 一、界面   1.排版     对于界面来说,首先用户第一眼看见的就是排版,界面的整齐直...
分类:其他好文   时间:2014-09-30 13:32:09    阅读次数:200
Android 4.0 源代码结构
21、Android 4.0 源代码结构?? Android源码的第一级目录结构 Android/abi (abi相关代码。ABI:application binary interface,应用程序二进制接口) Android/bionic(bionic C库) Android/bootable(启动引导相...
分类:移动开发   时间:2014-09-30 13:31:00    阅读次数:374
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!