码迷,mamicode.com
首页 >  
搜索关键字:interface method/field    ( 13706个结果)
文本框编辑状态下隐藏键盘的方式
#import "ViewController.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; //让键盘称为第一响应者(进入当前的界面,键盘就弹出来) [_textF becomeFir...
分类:其他好文   时间:2015-02-04 11:06:52    阅读次数:128
基于IBatisNet(MyBatis.Net)的Repository
说明什么的就不写了,直接上代码,如果不了解Repository,那就先去百度或者谷歌下…… IRepository接口约束   using IBatisNet.DataAccess.Interfaces;  public interface IRepository : IDao where T : class { /// ...
分类:Web程序   时间:2015-02-04 11:06:28    阅读次数:193
ios delegate 和 block
//委托的协议定义@protocol UpdateDelegate - (void)update;@end@interface Test : NSObject//委托变量定义@property (nonatomic, weak) id delegate;//blocktypedef void (^U...
分类:移动开发   时间:2015-02-04 10:37:53    阅读次数:186
Objective-C语法基础:面向对象编程特点的总结
1.类的声明与实现Objective-C类的声明要写在@interface 与 @end之间,实现要写在@implementation 与 @end之间2.类的-方法和+方法类的-方法即类的实例方法,+方法即类方法(静态方法)3.消息机制[objectA sayHello]; 即,向objectA....
分类:其他好文   时间:2015-02-04 01:59:01    阅读次数:114
淘宝SOA框架dubbo学习(1)
部署开发,需要三部分:服务提供者、服务容器、服务消费者 本人用 eclipse 开发 1、服务提供者jar生成 A、项目截图 B、源码: package?com.alibaba.dubbo.demo; public?interface?DemoService?{ String?s...
分类:其他好文   时间:2015-02-03 19:49:07    阅读次数:213
Go语言实现LRU算法
很简单的实现,使用List保存数据,Map实现快速访问.   具体实现了下面几个函数: func NewLRUCache(cap int)(*LRUCache) func (lru *LRUCache)Set(k,v interface{})(error) func (lru *LRUCache)Get(k interface{})(v interface{},ret bool,err er...
分类:编程语言   时间:2015-02-03 19:27:20    阅读次数:188
ios block使用
BlockTest.h#import typedef void (^didFinishBlock)(NSString *str);typedef void (^didFailBlock)(NSString *str);@interface BlockTest : NSObject+(void)jus...
分类:移动开发   时间:2015-02-03 19:10:24    阅读次数:200
iOS开发之实现图片自动切换(类似android画廊效果)
#import "ViewController.h" #define ImageViewCount 5 @interface ViewController () @property (weak, nonatomic) IBOutlet UIScrollView *imageScrollView; @property (weak, nonatomic) IBOutlet UIPageContro...
分类:移动开发   时间:2015-02-03 17:12:25    阅读次数:210
webservice整合spring cxf
下载cxf包,把他里面的包都添加进lib文件夹中。创建一个接口。添加@WebService注解@WebServicepublic interface HelloWorld { String sayHi(@WebParam(name="text")String text); String ...
分类:编程语言   时间:2015-02-03 16:50:02    阅读次数:220
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!