https://developer.apple.com/library/ios/qa/qa1686/_index.htmlImageSize(px)FileNameUsedForAppStoreAdHoc512x512iTunesArtworkApplistiniTunesDonotincludeOptionalbutrecommended1024x1024iTunesArtwork@2xApplistiniTunesondeviceswithretinadisplayDonotincludeOptional..
分类:
移动开发 时间:
2014-12-09 12:28:54
阅读次数:
179
1、android 事件分发是先传递到ViewGroup,再由ViewGroup传递到View的。2、在ViewGroup中可以通过onInterceptTouchEvent方法对事件传递进行拦截,onInterceptTouchEvent方法返回true代表不允许事件继续向子View传递, 返回f...
分类:
其他好文 时间:
2014-12-08 22:59:56
阅读次数:
226
上个版本http://www.cnblogs.com/mlzs/p/3666466.html,新增了一些功能扩展代码如下: 1 Ext.define('ux.BMap', { 2 alternateClassName: 'bMap', 3 extend: 'Ext.Contai...
分类:
其他好文 时间:
2014-12-08 19:20:52
阅读次数:
275
When an iOS application is launched, it starts a run loop. The run loop’s job is to listen for events,such as a touch. When an event occurs, the run l...
分类:
其他好文 时间:
2014-12-08 15:11:31
阅读次数:
188
bundle是一个目录,其中包含了程序会使用到的资源. 这些资源包含了如图像,声音,编译好的代码,nib文件(用户也会把bundle称为plug-in). 对应bundle,cocoa提供了类NSBundle.我们的程序是一个bundle. 在Finder中,一个应用程序看上去和其他文件没有什么区别...
分类:
其他好文 时间:
2014-12-06 10:06:04
阅读次数:
128
1.thrift的安装
https://github.com/apache/thrift
官方的安装实在是太麻烦了,我使用brew安装变得特别简单 http://stackoverflow.com/questions/23455499/cant-install-thrift-on-mac-os-10-9-2
先 sudo brew update
再 sudo brew instal...
分类:
移动开发 时间:
2014-12-05 17:32:19
阅读次数:
244
一、Objective-C(以下简称OC)简介
Objective-C 是在 C 的基础上,加入面向对象特性扩充而成的通用型高级编程语言,也写作 ObjC 、Obj-C 和较少用的 Objective C。Objective-C主要应用于 Mac OS X 和 iOS 系统及其相关 API 如Cocoa、Cocoa Touch。Objective-C 最...
分类:
编程语言 时间:
2014-12-04 17:56:43
阅读次数:
362
1.启动Terminal终端工具 2.输入cd ~/ 进入当前用户的home目录 或cd /Users/YourUserName 3. 创建: sudo touch .bash_profile 4.打开并编辑: sudo vim .bash_profile JAVA_HOME=$(/usr/libexec/java_home -v 1.7...
分类:
编程语言 时间:
2014-12-04 14:08:53
阅读次数:
169
文件处理命令
命令名称:touch
命令所在路径:/bin/touch
执行权限:所有用户
语法:touch[文件名]
功能描述:创建空文件
范例:$ touch hephec.list文件处理命令
命令名称:touch
命令所在路径:/bin/touch
执行权限:所有用户
语法:touch[文件名]
功能描述:创建空文件
范例:$ touch hephec.list...
分类:
系统相关 时间:
2014-12-04 14:01:48
阅读次数:
159