码迷,mamicode.com
首页 >  
搜索关键字:groups @interface    ( 15105个结果
音乐播放器
#import "ViewController.h"#import @interface ViewController (){ AVAudioPlayer *play; int index; NSArray *audiolist; NSMutableArray *imagel...
分类:其他好文   时间:2014-07-22 00:38:36    阅读次数:241
iOS 自定义转子
继承与UIView,直接调用start和stop事件;@interface ActivityIndicatorView (){ UIImageView *_imageView; UILabel *_label;}@end@implementation ActivityIndicatorView-.....
分类:移动开发   时间:2014-07-22 00:06:37    阅读次数:297
Golang中interface{}作为函数参数和函数返回值的使用
package?main import?( ????"errors" ????"fmt" ) type?item?struct?{ ????Name?string } func?(i?item)?String()?string?{ ????return?fmt.Sprintf("item?name:?%v",?i.Name)...
分类:其他好文   时间:2014-07-21 23:31:04    阅读次数:310
oracle ebs 通过职责查找用户
SELECTDISTINCTpapf.person_id,papf.employee_number,papf.full_name,su.user_id,res.responsibility_id,res.application_id,su.user_name,res.responsibility_nameFROMhr.per_all_people_fpapf,applsys.fnd_usersu,fnd_responsibility_vlres,fnd_user_resp_groups_allfurg,fnd..
分类:数据库   时间:2014-07-21 19:11:42    阅读次数:241
Object-c 之 复合与存取
说到复合与存取,我做完这个例子,感觉就是类的集合,也没什么东西。 主Car类: #import "Engine.h" #import "Tire.h" //汽车 @interface Car : NSObject { Engine *engine; Tire *tires[4]; } -(Engine *)engine; -(void)setEngine:(Engine *) ...
分类:其他好文   时间:2014-07-21 16:42:12    阅读次数:230
抽象工场
抽象工场一般都是用反射获取配置文件想要切换的目标(概念不多说,网上一大堆重复概念),本例中用Factory类来实现(以目标数据库为例):1,首先定义共用接口(各种目标类都要实现的) interface IDB { void DataBase(); }2,实现类(目标实...
分类:其他好文   时间:2014-07-21 08:26:31    阅读次数:264
Java利用webservice创建接口案例源码
环境要求:JDK1.7,并配置Java的环境变量BaseDao 接口:/*** 要使得成为一个可供访问的接口,必须添加:@WebService* */@WebServicepublic interface BaseDao { //添加一个加法的接口 @WebResult(name="adddddd....
分类:编程语言   时间:2014-07-21 00:29:05    阅读次数:333
易学设计模式看书笔记(2) - 简单工厂模式
一、简单工厂模式 1.动物管理系统的例子 public interface Animal{   public void eat(); } public class Tiger implements Animal {  public void eat(){   sysout.out.println("老虎会吃");  };  public void run(){   sysou...
分类:其他好文   时间:2014-07-20 23:03:30    阅读次数:195
FMDB简单使用
#import "ViewController.h"#import "FMDB.h"@interface ViewController ()- (IBAction)insert;- (IBAction)update;- (IBAction)delete;- (IBAction)select;@pro...
分类:数据库   时间:2014-07-20 23:00:11    阅读次数:455
UITextView 点return 隐藏键盘
iOS开发中,发现UITextView没有想UITextField中textFieldShouldReturn:这样的方法,那么要实现UITextView return键隐藏键盘,可以通过判断输入的字符是不是回车符来实现。首先,声明要实现UITextView 的delegate。@interface...
分类:其他好文   时间:2014-07-20 21:31:57    阅读次数:224
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!