因为我在View1中import了View2,又在View2中的ViewA里import了View1,而ViewA和ViewB是包含在View2中的。1.两个类的头文件相互引用是会报错误的,因为.h文件他是接口,在预编译的时候就会报错的,你可以在报错的那个类中加上@Class ***2.我自己使用了...
分类:
其他好文 时间:
2014-07-02 00:16:21
阅读次数:
324
Unsupported major.minor version 51.0at java.lang.ClassLoader.defineClass1(Native Method)at java.lang.ClassLoader.defineClassCond(Unknown Source)at jav...
分类:
其他好文 时间:
2014-07-01 21:34:11
阅读次数:
275
debian wheezy 升级后, 因为授权错误, 导致密码给修改, 在debian的mysql safe下也无法进入.
我在/etc/mysql/my.cnf 里面已经修改了bind-address 为局域网ip
进而执行了
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTI...
分类:
数据库 时间:
2014-07-01 16:03:03
阅读次数:
207
Format characters have the following meaning; the conversion between C and Python values should be obvious given their types. The ‘Standard size’ column refers to the size of the packed value in bytes...
分类:
编程语言 时间:
2014-07-01 14:51:47
阅读次数:
391
本章以山寨版Twitter为例介绍HBase Schema设计模式。广义的HBase Schema设计不只包括创建表时指定项,还应该综合考虑Column families/Column qualifier/Cell value/Versions/Rowkey等相关内容。
灵活的Schema&简单的存储视图
Schema设计和数据存储及访问模式关系密切,先回顾下HBase数据模型,有几个要点:...
分类:
其他好文 时间:
2014-07-01 14:35:30
阅读次数:
343
在为Fragment做切换动画,启动后遇到了一个异常:
Caused by: java.lang.RuntimeException: Unknown animation name: objectAnimator
截图如下:
我的代码如下:
fragment = Fragment.instantiate(getActivity(), clz.getName());...
分类:
移动开发 时间:
2014-07-01 14:33:01
阅读次数:
332
详细介绍 Qt Quick 中的 Anchors 、 Row 、 Column 、 Grid 、Flow 等布局方式。...
分类:
其他好文 时间:
2014-07-01 09:24:44
阅读次数:
293
从应用角度,有两点比较重要:
1. HBase中RowKey是按照字典序排列的
2. 不同Column Family的数据,在物理上是分开的...
分类:
其他好文 时间:
2014-07-01 06:43:31
阅读次数:
203
FormPanel有两种布局:form和column,form是纵向布局,column为横向布局。默认为后者。使用layout属性定义布局类型。对于一个复杂的布局表单,最重要的是正确分割,分割结果直接决定布局能否顺利实现。如果不再使用默认布局,那么我们必须为每一个元素指定一种布局方式,另外,还必须遵...
分类:
Web程序 时间:
2014-06-30 23:32:15
阅读次数:
246
题目
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.
Follow up:
Did you use extra space?
A straight forward solution using O(mn) space is probab...
分类:
其他好文 时间:
2014-06-30 06:17:09
阅读次数:
245