最近开始做iOS开发,遇到一些小问题和解决方法,记录下。 今天是iPhone屏幕适配
iPhone5出来之后屏幕就有iPhone就有了2种尺寸:3.5寸和4寸,xcode 5
的IB设计器里面界面是4寸的,把按钮放到底部,模拟器选成3.5寸的按钮就看不到了,找到了解决方法: http://stack...
分类:
移动开发 时间:
2014-05-09 10:44:35
阅读次数:
401
Android provides a default Bluetooth stack,
BlueDroid, that is divided into two layers: The Bluetooth Embedded System (BTE),
which implements the core...
分类:
其他好文 时间:
2014-05-09 10:18:47
阅读次数:
518
包剪锤游戏,C和Lua的对决! 主要为了练习C和Lua的相互调用。
分类:
其他好文 时间:
2014-05-09 08:26:52
阅读次数:
401
#include#include#include #include
//使用库函数exit()using namespace std;templateclass Stack{ private: Type*data;
//栈元素数组 int maxSize; /...
分类:
其他好文 时间:
2014-05-09 07:27:40
阅读次数:
294
实验环境:intel x386
一。要求:将3000H单元开始置数为00H-0FH
SSTACK SEGMENT STACK
DW 32 DUP(?)
SSTACK ENDS
CODE SEGMENT
ASSUME CS:CODE, SS:SSTACK
START: PUSH DS
XOR AX, AX
MOV DS, AX
MOV SI, 3000H
MOV CX...
分类:
编程语言 时间:
2014-05-09 06:33:53
阅读次数:
372
题目如下:
Problem D: ShellSort
He made each turtle stand on another one's back
And he piled them all up in a nine-turtle stack.
And then Yertle climbed up. He sat down on the pile.
What a wonderful v...
分类:
其他好文 时间:
2014-05-09 06:20:44
阅读次数:
396
转自http://my.oschina.net/mayqlzu/blog/113528问题:最近lua很火,因为《愤怒的小鸟》使用了lua,ios上有lua解释器?它是怎么嵌入大ios中的呢?lua的官网说:"lua
is an embeddable scripting language",怎么理解...
分类:
其他好文 时间:
2014-05-09 05:32:57
阅读次数:
264
function myfunction(msg) print("this is msg fun "
.. msg);endlocal fun =_G["myfunction"];if fun then fun("is ok");end
分类:
其他好文 时间:
2014-05-09 04:18:05
阅读次数:
1155
适配器(Adaptor)是提供接口映射的模板类。适配器基于其他类来实现新的功能,成员函数可以被添加、隐藏,也可合并以得到新的功能。STL提供了三个容器适配器:queue、priority_queue、stack。这些适配器都是包装了vector、list、deque中某个顺序容器的包装器。注意:适配...
分类:
其他好文 时间:
2014-05-08 23:13:29
阅读次数:
298
参考文档:http://blog.csdn.net/xiaodan007/article/details/7096718function sz_T2S(_t)
local szRet = "{" function doT2S(_i, _v) if "number" == t...
分类:
其他好文 时间:
2014-05-08 22:47:29
阅读次数:
347