上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 64 下一页

2014年11月27日

Openfire更新服务器名称的方法

摘要: 转自:http://blog.csdn.net/vikione/article/details/5996932Openfire更新服务器名称的方法:1.登陆openfire管理页面,在主页面下方选择编辑属性,修改服务器名称为当前主机名称,点击保存属性,按页面提示重启服务器。2.重启后,主页的服务器属... 阅读全文

posted @ 2014-11-27 11:12 王培 阅读(250) 评论(0) 推荐(0) 编辑

2014年11月26日

Xcode6中添加pch文件

摘要: 转自:http://www.cnblogs.com/YouXianMing/p/3989155.html1. 新建工程:2. 创建pch文件:3. 在setting里面进行设置:4. 一切尽在不言中:) 阅读全文

posted @ 2014-11-26 14:10 王培 阅读(145) 评论(0) 推荐(0) 编辑

2014年11月18日

Objective-C 位运算符

摘要: 转自:http://www.yiibai.com/objective_c/objective_c_bitwise_operators.html下表中列出了支持Objective-C语言的位运算符。假设变量A=60和变量B=13,则:运算符描述说明示例&Binary AND Operator copi... 阅读全文

posted @ 2014-11-18 11:34 王培 阅读(448) 评论(0) 推荐(0) 编辑

iOS: 枚举类型 enum,NS_ENUM,NS_OPTIONS

摘要: 转自:http://blog.csdn.net/annkie/article/details/9877643一般情况下,我们采用C风格的enum关键字可以定义枚举类型。[cpp]view plaincopyenum{UIViewAnimationTransitionNone,UIViewAnimat... 阅读全文

posted @ 2014-11-18 10:38 王培 阅读(435) 评论(0) 推荐(0) 编辑

2014年11月12日

C语言:存取结构体成员的点运算符(.)和箭头运算符(->)的区别

摘要: 转自:http://blog.csdn.net/taric_ma/article/details/7397362一直以为这两个是没有什么区别的,可以相互替换,今天又翻了一下《C语言核心技术》,明白了其中的奥妙。相同点:两个都是二元操作符,其右操作符是成员的名称。不同点:点操作符左边的操作数是一个“结... 阅读全文

posted @ 2014-11-12 14:16 王培 阅读(1053) 评论(0) 推荐(0) 编辑

2014年11月2日

iOS的横屏(Landscape)与竖屏(Portrait)InterfaceOrientation

摘要: 转自:http://www.molotang.com/articles/1530.html接着上篇写的触摸事件,这次借机会整理下iOS横屏和竖屏的翻转方向支持,即InterfaceOrientation相关的内容。最近做一个页面,最初并没有太多考虑orientation的情况,当其嵌入到一个在iPa... 阅读全文

posted @ 2014-11-02 17:16 王培 阅读(10699) 评论(0) 推荐(0) 编辑

2014年11月1日

一个非常有用的函数——COALESCE

摘要: 转:http://blog.csdn.net/dba_huangzj/article/details/8300784很多人知道ISNULL函数,但是很少人知道Coalesce函数,人们会无意中使用到Coalesce函数,并且发现它比ISNULL更加强大,其实到目前为止,这个函数的确非常有用,本文主要... 阅读全文

posted @ 2014-11-01 16:18 王培 阅读(303) 评论(0) 推荐(0) 编辑

Status bar and navigation bar appear over my view's bounds in iOS 7

摘要: 转自:http://stackoverflow.com/questions/17074365/status-bar-and-navigation-bar-appear-over-my-views-bounds-in-ios-7Question:I recently downloaded Xcode ... 阅读全文

posted @ 2014-11-01 15:32 王培 阅读(354) 评论(0) 推荐(0) 编辑

UIViewContrller之间切换的几种方式

摘要: 转自:http://blog.csdn.net/likendsl/article/details/75422961.UIViewContrller之间的切换有三种方式: 一、UIViewController自身之间的调用:[selfpresentModalViewController:UIViewC... 阅读全文

posted @ 2014-11-01 14:16 王培 阅读(910) 评论(0) 推荐(0) 编辑

2014年10月31日

Push UIViewController with different orientation to previous

摘要: 转自:http://stackoverflow.com/questions/6695837/push-uiviewcontroller-with-different-orientation-to-previous参考:http://stackoverflow.com/questions/159473... 阅读全文

posted @ 2014-10-31 21:57 王培 阅读(533) 评论(0) 推荐(0) 编辑

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 64 下一页

导航