- 博客(16)
- 资源 (1)
- 收藏
- 关注
转载 UIColor initWithPatternImage方法弊端
转自:http://jordy.easymorse.com/?p=849#more-849,没有实验进行验证,我猜可能跟“[UIImage imageNamed:@"yourBackground.png]”这句话有关。UIView视图只有backgroundColor方法,如果想要为UIView添加一张背景图,常用的方式有两种:第一种, 是在UIView上加载一UIImage
2012-05-27 22:13:22 1839 1
转载 ios 计算方法执行的时间
转自:http://jordy.easymorse.com/?p=856#more-856在ios开发中,有时我们需要考虑方法执行的时间来做优化,比方查找数据库的方法(需要知道查找数据的时间),具体的计算方法如下:1、新建一个文件:CalculateRunTime.h 代码:@interface CalculateRunTime : NSObjectCGFloat
2012-05-27 20:56:06 2228
原创 object-c gzip压缩和解压缩
/* 压缩和解压缩函数 数据压缩参考: http://www.clintharris.net/2009/how-to-gzip-data-in-memory-using-objective-c/ 数据解压缩参考: ASIHttpRequest库的文件:ASI
2012-05-25 14:45:17 4964
转载 Building a Jabber Client for iOS: Custom Chat View and Emoticons
转自: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 l
2012-05-24 13:38:38 1328
转载 Building a Jabber Client for iOS: XMPP Setup
转自: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.
2012-05-24 13:34:54 1080
转载 Building a Jabber Client for iOS: Interface Setup
转自: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 w
2012-05-24 13:03:43 1133
转载 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
2012-05-24 12:59:32 1721
转载 利用 Mac OS X 巧建抓包环境
转自:http://blog.chukong-inc.com/index.php/2012/01/29/ethereal_with_macosx/利用 Mac OS X 巧建抓包环境发表于 2012 年 1 月 29 日 由 lv本文简单介绍如何利用手头的Mac OS X来快速搭建抓包环境,以解工作中的燃眉之急。本文短连接:http://blog.chu
2012-05-24 12:57:11 2657
转载 开始使用Mac OS X——写给Mac新人
转自:http://www.cnblogs.com/chijianqiang/archive/2011/08/03/2126593.html写这篇文档的原因有两个,一、身边使用Mac的朋友越来越多,经常会有人来咨询一些常见的使用问题,比如:“为什么把界面右上角的红色按钮叉掉,程序还没有关闭?”之类。而且我也不愿意看到很多人使用OSX时仅仅用到最基本的功能。让他们去Google吧
2012-05-18 17:51:08 1724
转载 异步加载图片的库SDWebImage
转自:https://github.com/rs/SDWebImageHow To Use ItAPI documentation is available at http://hackemist.com/SDWebImage/doc/Using UIImageView+WebCache category with UITableViewJust #im
2012-05-17 18:16:14 3218
转载 定制UITextField的键盘为UIPickView
- (BOOL)textFieldShouldBeginEditing:(UITextField *)textField { UIPickerView *_pickerView = [[UIPickerView alloc] init]; [_pickerView sizeToFit]; _pickerView.autoresizingMask = (UIViewAu
2012-05-15 19:03:27 1658
原创 Object-C使用ICE
1. 下载IceTouch-1.2.1-Xcode-4.3.dmg:http://www.zeroc.com/icetouch/download.html2. 安装IceTouch-1.2.1-Xcode-4.3.dmg,安装完成后,会在/Developer/SDKs/IceTouch-1.2.0下面生成相应的文件。3. 配置Xcode:http://doc.zeroc.com/displ
2012-05-10 10:06:42 2471
原创 Unity3D,同时使用第三方静态库指定armv6编译crash的问题
网上有些使用Unity3D的游戏,在同时使用admob或flurry( 移动应用分析)的静态库时,如果只指定armv6编译,会crash掉。网上有说是Unity3D的一个BUG:http://forum.unity3d.com/threads/68443-Trying-to-build-only-for-armv6-causes-a-EXC_BAD_ACCESS。 另外,指定a
2012-05-09 17:13:10 1879
翻译 一个UISrcollView中多个UITextField的滚动处理
摘译自: http://stackoverflow.com/questions/484855/how-programatically-move-a-uiscrollview-to-focus-in-a-control-above-keyboard使用一个实例变量记录视图在为键盘调整之前的位置,以用于当UITextField返回时恢复到之前的状态。//header@interface
2012-05-08 18:44:34 1498
转载 自定义带下划线文本的UIButton
摘选自:http://stackoverflow.com/questions/2630004/underlining-text-in-uibuttonUIUnderlinedButton.h@interface UIUnderlinedButton : UIButton {}+ (UIUnderlinedButton*) underlinedButton;
2012-05-05 17:51:41 2933 2
转载 Creating custom iOS UIButtons
转自:http://www.apptite.be/blog/ios/creating-custom-ios-uibuttons/IntroductionNot only functionality is the driving factor of good applications, also the look and feel is very important.
2012-05-05 17:11:41 1417
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人