摘要: 移动互联网的黄金时代到来了,你值得拥有这个圈子。objcc.com 阅读全文
posted @ 2013-10-19 10:13 我有一个梦想 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 转自:http://mobile.tutsplus.com/tutorials/iphone/building-a-jabber-client-for-ios-custom-chat-view-and-emoticons/In this part of the series, we will build a custom view to make chat messages look more professional. Moreover, we will also add real emoticons to display in place of their textual counterp 阅读全文
posted @ 2013-11-26 21:55 我有一个梦想 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 转自:http://mobile.tutsplus.com/tutorials/iphone/building-a-jabber-client-for-ios-xmpp-integration/Welcome to the third installment of our series on building a Jabber client with the iOS SDK. In this tutorial, we will add XMPP functionalities to the Application Delegate. Placing the functionality in t 阅读全文
posted @ 2013-11-26 21:51 我有一个梦想 阅读(376) 评论(0) 推荐(0) 编辑
摘要: http://mobile.tutsplus.com/tutorials/iphone/building-a-jabber-client-for-ios-interface-setup/In this tutorial we will build a Jabber Client for iOS. The application developed in this series will enable users to sign in, add buddies, and send messages. This tutorial will focus on setting up the user 阅读全文
posted @ 2013-11-26 21:47 我有一个梦想 阅读(314) 评论(0) 推荐(0) 编辑
摘要: Building a Jabber Client for iOS: Server Setup转自:http://mobile.tutsplus.com/tutorials/iphone/building-a-jabber-client-for-ios-server-setup/In this tutorial we will build a Jabber Client for iOS. The application developed in this series will enable users to sign in, add buddies, and send messages. In 阅读全文
posted @ 2013-11-26 21:41 我有一个梦想 阅读(443) 评论(0) 推荐(0) 编辑
摘要: 【iOS XMPP】使用XMPPFramewok(一):添加XMPPFramework(XCode 4.6.2)XMPPFrameworkGitHub:https://github.com/robbiehanson/XMPPFramework获取源代码git clonehttps://github.com/robbiehanson/XMPPFramework.gitcheckout XMPPFramework 一个最新的branch添加依赖> 拷贝 /Vendor/CocoaLumberjack 到项目根目录下,add files...,选择CocoaLumberjack 文件夹> 阅读全文
posted @ 2013-11-26 21:23 我有一个梦想 阅读(562) 评论(0) 推荐(0) 编辑
摘要: 关于隐藏软键盘,网上的办法良莠不齐,大多是通过实现UITextFieldDelegate来隐藏软键盘,该方法代码较多,且在文本框很多的时不好处理。我经过搜索与摸索,找到了最佳的处理办法。一、隐藏自身软键盘 当对于有多个UITextField控件都想通过点击“Return”来隐藏自身软键盘的情况,这时的最好办法是使用Did End on Exit事件。在点击软键盘右下角的“Return”按钮后,会触发该事件。 该事件有一个sender参数表示当前文本框,这样便可以编写一个通用的事件处理方法(.m文件)——- (IBAction)TextField_DidEndOnExit:(id)sende.. 阅读全文
posted @ 2013-11-21 20:41 我有一个梦想 阅读(904) 评论(0) 推荐(0) 编辑
摘要: 在 iOS 程序中当想要在文本框中输入数据,轻触文本框会打开键盘。对于 iPad 程序,其键盘有一个按钮可以用来关闭键盘,但是 iPhone 程序中的键盘却没有这样的按钮,不过我们可以采取一些方法关闭它。例如,我们可以实现按下 Rerun (有时也是 Done、Research 等)键关闭键盘,或者,更人性化的,轻触背景关闭键盘。1、首先讲一下按下Return键关闭键盘。当按下键盘的 Return 键,会产生一个 Did End On Exit 事件,此时,我们告诉文本框要放弃控件,于是键盘就消失了。假设,我们已经创建了一个 Single View Application ,并打开 ViewC 阅读全文
posted @ 2013-11-14 21:45 我有一个梦想 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 利用 Xcode 5,能够非常轻松地创建和运行测试、分析代码及监控性能。而且,通过使用精心制作的连续集成功能,您的团队可以创建出比以往更好的 app。“”阅读器Xcode 5的新特性转自苹果开发者中心Xcode 是用于构建 Mac app 和 iOS app 的完整工具集。而 Xcode 5 中的这些工具比以往更强大,能帮助您创建快速、高效的高质量 app。Xcode 自动配置您的 app 以使用最新的 Apple 服务,在统一的资产目录下管理您的众多图像,并帮助您在 iOS 7 或 OS X Mavericks 上设计出外观精美的 app。利用 Xcode 5,能够非常轻松地创建和运行测试、 阅读全文
posted @ 2013-10-27 19:16 我有一个梦想 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 本文大部分内容参考于此篇文章:How to Prepare Your Mac for iOS Development with FFmpeg Libraries, 然后针对最新情况做了一些修改。1. 首先,准备编译环境1. 安装Xcode和Command Line Tools2. 下载和安装 gas-preprocessor3. 安装 pkg-config关于gas-preprocessor,安装方式是直接copy文件gas-preprocessor.pl到/usr/bin,记得修改权限可执行.原文给出的下载地址是gas-preprocessor, 不过这里的版本比较老 , 因为在编译ffmp 阅读全文
posted @ 2013-10-27 15:15 我有一个梦想 阅读(491) 评论(0) 推荐(0) 编辑
摘要: xcode的插件不算多,找遍了网络也就大猫小猫而三只.不过虽然不多,但是大部分的插件都非常有用.以下5歀插件是我几台机器上都安装了并且经常使用的.1. MiniXcodeMiniXcode的作用主要是在Xcode隐藏了Toolbar过后显示Schema选择菜单,并且可以显示编译进度的一个插件。这个插件可以说是我最喜欢的一个插件了,虽说作者开发这款插件的意图是让小屏幕更好的使用Xcode,但是我觉得不管是大屏幕还是小屏幕都是非常适合使用这款插件的,我的iMac + 24寸双显示器 和Macbook Pro下都使用着。主要是我非常不喜欢Xcode的toolbar,觉得太影响美观了,所以一直都是把T 阅读全文
posted @ 2013-10-27 15:07 我有一个梦想 阅读(406) 评论(0) 推荐(0) 编辑