码迷,mamicode.com
首页 >  
搜索关键字:interface method/field    ( 13706个结果)
(三)Unity5.0新特性------State Machine Behaviours
State machine behaviours are scripts that can be attached to animator states or sub-state machines in an Animator Controller. These can be used to add all sorts of behaviour that is state dependent su...
分类:编程语言   时间:2015-03-31 10:58:08    阅读次数:268
CALayer实现遮罩效果
#import "ViewController.h"@interface ViewController ()@property(nonatomic,strong)CALayer *imageLayer;@property(nonatomic,strong)CALayer *maskLayer;@pr...
分类:其他好文   时间:2015-03-31 10:46:38    阅读次数:128
在ashx页面中使用Session
在ashx页面中如果想使用可读可写的Session,必须要实现一个接口“IRequiresSessionState”,在这个接口中没有定义任何方法,这样的接口被称为“标识接口”。public interface IRequiresSessionState {} 在IIS中,对后台的页面请求...
分类:其他好文   时间:2015-03-31 10:34:03    阅读次数:126
通过layer的contents属性来实现uiimageview的淡入切换
#import "ViewController.h"@interface ViewController ()@property(nonatomic,strong)CALayer *imageLayer;@end@implementation ViewController- (void)viewDid...
分类:其他好文   时间:2015-03-31 00:25:10    阅读次数:166
通过改变uiview的layer的frame来实现进度条
#import @interface ProgressView : UIView@property(nonatomic,assign)CGFloat progress;@property(nonatomic,strong)UIColor *layColor;@end#import "Progress...
分类:其他好文   时间:2015-03-30 22:56:27    阅读次数:128
循环&信息添加&颜色修改
#import "AViewController.h"@interface AViewController () @end@implementation AViewController- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(N.....
分类:其他好文   时间:2015-03-30 22:28:00    阅读次数:300
通讯录(练习)
#import @interface RootViewController : UIViewController @end#import "RootViewController.h"#import "SecondViewController.h"@interface RootViewControll...
分类:其他好文   时间:2015-03-30 22:27:08    阅读次数:134
文章标题
java Iterable接口和Iterator迭代器iterator接口定义如下 public interface Iterator { boolean hasNext(); E next(); void remove(); }该接口仅仅包含了三个函数,hasNext()和next()方法在我们常用的集合遍历中出现。 三个函数的作用: 使用next()获得序列中的下...
分类:其他好文   时间:2015-03-30 21:11:39    阅读次数:171
java中23种设计模式之10-代理模式(Proxy pattern)
interface Station{ void sellTickets();}class TrainStation implements Station{ public TrainStation() { } public void sellTickets() { System.out.pri...
分类:编程语言   时间:2015-03-30 20:49:28    阅读次数:141
AOP的MethodBeforeAdvice
使用Spring自动生成代理类,spring利用的是动态代理机制接口Java代码public interface UserDao {void addUser();void deleteUser();}两个实现:Java代码public class UserDaoMySqlImpl implement...
分类:数据库   时间:2015-03-30 20:41:29    阅读次数:241
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!