这一节主要介绍segues,static table view cells 和Add Player screen 以及a game picker screen。Introducing Segues开启Main.storyboard拖拉一个Bar Button Item到Players窗口导航栏的右侧...
分类:
其他好文 时间:
2014-12-18 16:46:18
阅读次数:
280
单位注释px(像素)每个像素对应手机上的一个点,在不同设备上1px表示的长度不一定相同screen size(屏幕尺寸)指手机对角线的长度,如4.7英寸resolution(分辨率)指屏幕的像素数目,如480*320,同样尺寸的屏幕分辨率越高越清晰dpi(像素密度)每英寸的像素数,英寸是长度单位,1...
分类:
移动开发 时间:
2014-12-17 22:20:14
阅读次数:
161
<!--js-->
<scripttype="text/javascript">
if(/Android(\d+\.\d+)/.test(navigator.userAgent)){
varversion=parseFloat(RegExp.$1);
if(version>2.3){
varphoneScale=parseInt(window.screen.width)/640;
document.write(‘<metaname="viewport"content="wi..
分类:
移动开发 时间:
2014-12-17 18:57:31
阅读次数:
203
Show:
Use Show to set the form Visible property to true and to bring the form to the front of other forms on the screen.
ShowModal:
Use ShowModal to show a form as a modal form. A modal form is ...
分类:
其他好文 时间:
2014-12-17 18:28:10
阅读次数:
219
在一对多的情形下如 Cinema - > Screen;1、正常在不设置级联(casCade)的情况下 删除一的一方(Cinema)会报外键关联 异常 Screen 中包含Cinema的外键;这个时候可以先取出Cinema中的所有Screen集合后在删除所有的Screen, 完毕后在删除 Cinem...
分类:
Web程序 时间:
2014-12-17 18:02:30
阅读次数:
206
1. Parcelable接口Interface for classes whose instances can be written to and restored from a Parcel。 Classes implementing the Parcelable interface must ...
分类:
移动开发 时间:
2014-12-17 10:39:35
阅读次数:
194
问题一:使用secureCRT远程登录机器,使用vim查看程序,是乱码解决办法:在secureCRT的设置里面,把字符编码设置为utf-8在~/.vimrc里加入一行setencoding=utf-8,则能正确显示。原则是vim的encoding和文件的编码一致termencoding和secureCRT的设置一致。问题二:使用screen,在..
分类:
系统相关 时间:
2014-12-16 19:27:52
阅读次数:
296
On the iPhone or iPod touch, a modal view controller takes over the entire screen. This is the defaultbehavior and the only possibility on these devic...
分类:
其他好文 时间:
2014-12-16 15:00:53
阅读次数:
154
AnActivityis an application component that provides a screen with which users can interact in order to do something, such as dial the phone, take a ph...
分类:
移动开发 时间:
2014-12-16 11:40:05
阅读次数:
266
values-v11?is the values of the API version 11, and?values-v14?is the values of the API version 14. It‘s worth indicating that i.e.?values-v11?will be used for API 11?and?higher, unless ther...
分类:
移动开发 时间:
2014-12-15 20:28:02
阅读次数:
223