2015年11月29日

摘要: 整理一下 阅读全文
posted @ 2015-11-29 21:32 AYuan- 阅读(114) 评论(0) 推荐(0)

2015年11月14日

摘要: 官网下载地址(30天免费试用):http://revealapp.com/作用:在 iOS 开发中,我们有时很希望有一款类似 Web 开发中的 UI Debug 工具(例如:Firebug),让我们能够实时查看 UI 的结构,还可以实时更改某个 UIView 的位置和大小的相关属性值查看效果。这里我... 阅读全文
posted @ 2015-11-14 20:15 AYuan- 阅读(197) 评论(0) 推荐(0)

2015年11月12日

摘要: UIImage的imageNamed提供文件名自动补全功能。使用[UIImage imageNamed:@"xxx"]时,该插件会扫描整个workspace中的图片文件。若安装后无效,或许需要做一下修改:1.打开xcode插件所在的目录:~/library/Users/“你自己的用户名”/Libra... 阅读全文
posted @ 2015-11-12 01:17 AYuan- 阅读(142) 评论(0) 推荐(0)

2015年11月11日

摘要: Reveal作为分析APP UI的利器确实非常好用,用来查看任意UI布局也很方便一.模拟器进行分析 1.打开Reveal(http://revealapp.com下载) 2.打开Xcode 3.Reveal——Help——Show Reveal Library in Finder ... 阅读全文
posted @ 2015-11-11 14:45 AYuan- 阅读(147) 评论(0) 推荐(0)

2015年10月8日

摘要: 对于普通类型的对象来说,它们之间的复制是很简单的,例如:int a=88;int b=a;而类对象与普通对象不同,类对象内部结构一般较为复杂,存在各种成员变量。下面是一个类对象拷贝的简单例子。 1 #include 2 3 using namespace std; 4 5 class CEx... 阅读全文
posted @ 2015-10-08 17:33 AYuan- 阅读(245) 评论(0) 推荐(0)
摘要: #include using namespace std;int main(){ bool b=true; cout << "b=" << b << endl; b = false; cout << "b=" << b << endl; ... 阅读全文
posted @ 2015-10-08 16:48 AYuan- 阅读(525) 评论(0) 推荐(0)

2015年9月30日

摘要: 1.出现下面的错误:StoryboardApp[8593:207] Failed to instantiate the default view controller for UIMainStoryboardFile 'MainStoryboard' - perhaps the designated... 阅读全文
posted @ 2015-09-30 01:25 AYuan- 阅读(181) 评论(0) 推荐(0)

2015年8月1日

摘要: 二叉树定义#include#include#define STACK_INIT_SIZE 30#define STACKINCREMENT 10#define OK 1#define ERROR -1typedef char TElemType;typedef struct BiTNode{ ... 阅读全文
posted @ 2015-08-01 00:35 AYuan- 阅读(237) 评论(0) 推荐(0)

2015年7月31日

摘要: 折半排序 1 void half_insert_sort(int a[],int n) 2 { 3 for(int i=1;it)13 {14 high=mid--;15 }16 els... 阅读全文
posted @ 2015-07-31 00:18 AYuan- 阅读(166) 评论(0) 推荐(0)