以下这种方法是加密传输的简单实现1,base64.js/** * * Base64 encode / decode * * */function Base64() { // private property _keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZ...
分类:
其他好文 时间:
2014-07-09 22:08:28
阅读次数:
219
本系列所有文章可以在这里查看http://blog.csdn.net/cloud_castle/article/category/2123873
接上文Qt5官方demo解析集29——Extending
QML - Property Value Source Example
还记得我们曾经在Qt5官方demo解析集17——Chapter
3: Adding Property B...
分类:
其他好文 时间:
2014-07-08 15:01:35
阅读次数:
429
需要遵守的代理协议:UIActionSheetDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate@property (nonatomic, strong) UIActionSheet *avatarActio...
分类:
移动开发 时间:
2014-07-06 13:18:33
阅读次数:
205
翻译一篇关于移动浏览器300ms延迟的有用文章,原文地址 http://updates.html5rocks.com/2013/12/300ms-tap-delay-gone-away
去掉移动设备浏览器上的300ms点击延迟
你可以在网站上找到很多关于在为了快速流畅的网站用户体验,在某个地方减少10ms或90ms的文章。不幸的是,在基于触屏的...
分类:
移动开发 时间:
2014-07-06 12:38:53
阅读次数:
422
2014-07-05 17:11:20.594 SevenStars[2185:60b] nested push animation can result in corrupted navigation bar
2014-07-05 17:11:21.005 SevenStars[2185:60b] Finishing up a navigation transition in an unexp...
分类:
其他好文 时间:
2014-07-06 12:31:20
阅读次数:
198
本系列所有文章可以在这里查看http://blog.csdn.net/cloud_castle/article/category/2123873
接上文Qt5官方demo解析集18——Chapter
4: Using Custom Property Types
上个例子向我们展示了如何为QML调用的C++类型添加自定义类型的属性,在这个例子中我们更进一步,将这个类型更换为一个Pie...
分类:
其他好文 时间:
2014-07-06 11:37:26
阅读次数:
291
本系列所有文章可以在这里查看http://blog.csdn.net/cloud_castle/article/category/2123873
接上文Qt5官方demo解析集19——Chapter
5: Using List Property Types
在前文中我们定义的PieChart和PieSlice这两个自定义QML类型只用来供app.qml文件使用,如果希望我们所定义的...
分类:
其他好文 时间:
2014-07-06 09:55:31
阅读次数:
373
本系列所有文章可以在这里查看http://blog.csdn.net/cloud_castle/article/category/2123873
接上文Qt5官方demo解析集17——Chapter
3: Adding Property Bindings
在前面的“饼状图”Demo中,我们为这个自定义类型定义了"name"和"color"属性,他们都是基于Qt内置类型"QStrin...
分类:
其他好文 时间:
2014-07-06 09:34:26
阅读次数:
187
本系列所有文章可以在这里查看http://blog.csdn.net/cloud_castle/article/category/2123873
接上文Qt5官方demo解析集16——Chapter
2: Connecting to C++ Methods and Signals
在C++中我们通常将用户的交互与处理函数用信号槽绑定起来,比如窗口尺寸的变化,颜色的变化等,但在QML...
分类:
其他好文 时间:
2014-07-05 22:59:28
阅读次数:
335
@property的作用是定义属性,声明getter,setter方法。(注意:属性不是变量)@synthesize的作用是实现属性的,如getter,setter方法.在声明属性的情况下如果重写setter,getter,方法,就需要把未识别的变量在@synthesize中定义,把属性的存取方法作...
分类:
其他好文 时间:
2014-07-05 22:36:17
阅读次数:
244