1,播放短音频#import #import "GLYViewController.h"static void completionCallback(SystemSoundID mySSID){ AudioServicesPlaySystemSound(mySSID);}@interface ...
分类:
移动开发 时间:
2014-06-27 19:21:27
阅读次数:
174
Android Service是分为两种:本地服务(Local Service): 同一个apk内被调用远程服务(Remote Service):被另一个apk调用远程服务需要借助AIDL来完成。AIDL 是什么AIDL (Android Interface Definition Language)...
分类:
移动开发 时间:
2014-06-27 17:34:07
阅读次数:
278
--采购到入库所经历的表--0.请购单--创建请购单方式有--a.从外挂系统导入请购的接口表PO_REQUISITIONS_INTERFACE_ALL,并允许请求(名称:导入申请)SELECT *FROM PO_REQUISITIONS_INTERFACE_ALLWHERE INTERFACE_SO...
分类:
数据库 时间:
2014-06-27 17:27:43
阅读次数:
392
1.开发完一个Form,测试OK 1.添加Object Groups 操作如下:在同一窗口打开标准的Form APPSTAND.FMB 和我们自己客制的Form,并且选择APPSTAND.FMB的Object Groups STANDARD_FOLDER然后用鼠标拖动至我们自己的Form的...
分类:
其他好文 时间:
2014-06-27 15:57:43
阅读次数:
269
单元不能被循环引用(Circular unit reference)的。循环引用的意思是:A引用了B,而B又引用了A,且都是在interface部分进行引用。example:unit Unit1;interfaceusesUnit2;......unit Unit2;interfaceuses Un...
分类:
其他好文 时间:
2014-06-27 15:10:23
阅读次数:
233
工程目录:Singleton.h//.h#define single_interface(class) + (class *)shared##class;//.m// \ 代表下一行也属于宏// ##是分隔符#define single_implementation(class) \static c...
分类:
数据库 时间:
2014-06-27 14:15:13
阅读次数:
255
在IOS开发中经常会用到回调的情况,下面介绍如何用block实现回调。1 #import 2 3 @interface BLock : NSObject4 5 + (void)getBlock:(void (^)(NSString *))someblock;6 7 @endBLock.h 1 #im...
分类:
移动开发 时间:
2014-06-27 13:05:40
阅读次数:
159
Given an array of strings, return all groups of strings that are anagrams.
分类:
其他好文 时间:
2014-06-27 11:34:57
阅读次数:
641
首先代理的类和被代理的类要实现共同的接口其实也就是通过接口进行代理,然后在代理类的构造函数中创建被代理类的实例就可以实现代理了。
这样可能很乱看代码就知道明白了!
公共接口类
package com.iss.proxy;
public interface Object {
void action();
}
被代理类
package com.iss.proxy;
...
分类:
其他好文 时间:
2014-06-27 08:29:04
阅读次数:
217
1.将图片放进images文件夹,并改名为images.bundle.拖进项目中
2拖动scrollView 并在左上角按住Scroll View 拖到View Controller中 选择deleagte.
这时候.指定Scroll View的代理为controller.
为指定的controller加上代理
#import
@interface C...
分类:
移动开发 时间:
2014-06-27 07:19:43
阅读次数:
259