IOS
switchcore
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
iphone内存管理
http://hi.baidu.com/spopavenvldiqyr/item/c8d620b6282c4d4abb0e122aiphone内存管理(一)BY 洋葱头http://hi.baidu.com/yangcong121/home 内存管理在iphone中一直是一个热点话题。通过一段时间的总结我准备与大家分享一下我对内存管理的一点认识和经验.转载 2012-10-10 20:51:11 · 3605 阅读 · 0 评论 -
UITextField出现删除按钮
UITextField出现删除按钮如果用IB写UITextFieldIB:Clear Button: Appears while editing如果用代码写UITextField.m textField.clearButtonMode = UITextFieldViewModeWhileEditing;原创 2012-03-07 08:56:26 · 7645 阅读 · 0 评论 -
GCRetractableSectionController
https://github.com/gcamp/GCRetractableSectionController转载 2012-03-23 17:05:27 · 646 阅读 · 0 评论 -
uiview animations
http://files.cnblogs.com/v2m_/animations.zip原创 2012-03-23 17:20:20 · 480 阅读 · 0 评论 -
UITableView的折叠效果
http://dl5.youkuaiyun.com/fd.php?i=809141388477707&s=9f5547ec8ee62d9689099df3bb035b73转载 2012-03-23 17:16:36 · 701 阅读 · 0 评论 -
Google的Objective-C编码规范
http://www.cnblogs.com/junwang/archive/2011/03/04/1970569.html转载 2012-03-29 16:06:20 · 528 阅读 · 0 评论 -
Add 2 UIButtons to a UINavigationBar right item
http://snipplr.com/view/35730/// create a toolbar to have two buttons in the rightUIToolbar* tools = [[UIToolbar alloc] initWithFrame:CGRectMake(0, 0, 90.0, 44.01)]; // create the array to hold t转载 2012-03-30 10:50:45 · 845 阅读 · 0 评论 -
popViewControllerAnimated 动画
/* NSString *types[4] = {kCATransitionMoveIn, kCATransitionPush, kCATransitionReveal, kCATransitionFade}; NSString *subtypes[4] = {kCATransitionFromLeft, kCATransitionFromRight, kCAT原创 2012-04-05 10:32:10 · 4210 阅读 · 0 评论 -
NSRegularExpression 手机号码判断
-(BOOL)isTelNum:(NSString *)num{ //一个判断是否是移动号码的正则表达式 //130、131、132、152、155、156、185、186 //NSString *regex = @"^(13[0-2]|152|155|156|185|186)[0-9]{8}$"; NSString *regex = @"^(1)[0原创 2012-04-09 11:00:56 · 1866 阅读 · 0 评论 -
【IOS】开源项目汇总(更新时间2012-5-6)
转:http://blog.youkuaiyun.com/toss156/article/details/7380420转载 2012-05-14 16:37:05 · 568 阅读 · 0 评论 -
iphone arc
When you migrate a project to use ARC, the -fobjc-arc compiler flag is set as the default for all Objective-C source files. You can disable ARC for a specific class using the -fno-objc-arc compiler原创 2012-08-24 10:15:21 · 650 阅读 · 0 评论 -
UIPicker and keyboard
http://stackoverflow.com/questions/3205357/popup-uipicker-instead-of-keyboard源码在这里:https://github.com/larsacus/LARSSlidingPicker转载 2012-03-05 16:38:54 · 632 阅读 · 0 评论 -
关于IPhone内存管理的其它10个Tips
http://akosma.com/2009/01/28/10-iphone-memory-management-tips/转载 2012-10-10 21:42:32 · 737 阅读 · 0 评论 -
iphone中使用第三方工具(RegexKitLite)实现正则表达式
http://labs.ywlx.net/?p=2299赢文用户注册功能模块中需要检查邮箱合法性,这里分享一下两种实现方法。方法一)RegexKitLite1)下载地址:http://regexkit.sourceforge.net/RegexKitLite/index.html2)解压后,将NSString-HexConversion.h/NSString转载 2012-10-17 10:26:52 · 958 阅读 · 0 评论 -
Mac下Cocos2d-x Android开发环境配置
Mac下Cocos2d-x Android开发环境配置发表于 2012 年 9 月 3 日1. 资源准备Eclipse for MacAndroid SDK macAndroid NDK maccoco2d-x source Code2. 依次安装Eclipse安装CDTC++ Development Tools,直接在Eclipse,H转载 2012-11-28 14:37:44 · 2781 阅读 · 0 评论 -
MKMapView
mapkit介绍,估计他是翻译下面demo的例子。http://blog.youkuaiyun.com/tangaowen/article/details/6527901demo;http://www.edumobile.org/iphone/iphone-programming-tutorials/mapkit-example-in-iphone/转载 2012-11-23 10:00:45 · 817 阅读 · 0 评论 -
HTML5带来wap网页颠覆性变革 开发实战之网易微博
http://www.admin5.com/article/20120612/437626.shtml转载 2013-01-04 13:01:45 · 821 阅读 · 0 评论 -
app被Rejected 的各种原因翻译
1. Terms and conditions(法律与条款)1.1 As a developer of applications for the App Store you are bound by the terms of the Program License Agreement (PLA), Human Interface Guidelines (HIG), and any翻译 2014-03-18 09:39:02 · 1483 阅读 · 0 评论 -
ios qq 分享 失败
1. TencentOAuth 是需要调用的,但QQ分享的代码就没有说明.分享代码如下:TencentOAuth *auth = [[TencentOAuth alloc] initWithAppId:@"APP ID" andDelegate:self];原创 2014-04-20 23:24:14 · 7196 阅读 · 1 评论 -
FastImageCache框架
http://humin.me/archives/tag/fastimagecache-ios转载 2014-04-06 21:37:10 · 2311 阅读 · 0 评论 -
关于Certificate、Provisioning Profile、App ID的介绍及其之间的关系
来自:http://www.cnblogs.com/cywin888/p/3263027.html关于Certificate、Provisioning Profile、App ID的介绍及其之间的关系刚接触iOS开发的人难免会对苹果的各种证书、配置文件等不甚了解,可能你按照网上的教程一步一步的成功申请了真机调试,但是还是对其中的缘由一知半解。这篇文章就对Certific转载 2014-08-16 14:39:16 · 768 阅读 · 0 评论 -
微模隐私政策
http://www.youkuaiyun.com/article/2014-05-09/2819705-best-resources-android-development转载 2014-05-15 09:08:35 · 1505 阅读 · 0 评论 -
在预编译阶段判断ios版本
在预编译阶段判断ios版本 #if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_5_0// This code will compile on versions >= ios5.0#else// This code will compile on versions#endif转载 2015-03-03 17:00:52 · 2666 阅读 · 1 评论 -
IOS 不让键盘挡住UITextField (自适应)
- (BOOL)textFieldShouldReturn:(UITextField *)textField { // When the user presses return, take focus away from the text field so that the keyboard is dismissed. NSTimeInterv原创 2012-01-30 11:59:55 · 2517 阅读 · 0 评论 -
Leaves -- iOS上一种图书翻页效果的实现
http://www.cnblogs.com/zhw511006/archive/2011/10/14/2212187.html参考资料:App Store-safe Page Curl animations源码下载地址:https://github.com/brow/leaves转载 2011-12-07 14:22:17 · 668 阅读 · 0 评论 -
ios xml解析比较 XMLPerformance
http://developer.apple.com/library/ios/#samplecode/XMLPerformance/Introduction/Intro.html转载 2011-12-08 13:45:28 · 545 阅读 · 0 评论 -
Three20软件引擎之构建开发环境与第一个项目HelloWorld(一)
http://blog.youkuaiyun.com/xys289187120/article/details/7017432python three20/src/scripts/ttmodule.py -p path/to/your/project/project.xcodeproj Three20 --xcode-version=4转载 2011-12-13 21:53:00 · 429 阅读 · 0 评论 -
XCODE4.2 IOS5 ARC控制
http://wangleifire.iteye.com/blog/1217991IOS5有个亮点是增加了ARC,也就是不用程序员手动释放内存,麻烦的地方是目前绝大多数用户仍然使用3.0 4.0IOS,再去看看APP上的软件都是支持3.0,有些是2.0,所以,我们暂时是用不了这个新特性了,还好XCODE 提供了选项不使用这个功能。tag -> Build Settings -> Objec转载 2011-12-14 14:26:31 · 873 阅读 · 0 评论 -
关于iOS5 + XCode4.2环境下iPhone3G和3Gs + iOS4.2.1不能调试的问题解决方案整理
http://www.cocoachina.com/bbs/read.php?tid=798601.改target的”Build Setting“中的Architecture域下的Architectures为”armv6 armv7“2.再改其中valid architecture为armv6 armv73.改iOS Deployment Target为iOS4.24,如果plis转载 2011-12-14 13:26:12 · 1097 阅读 · 0 评论 -
iPhone中使用ShareKit一键分享到Facebook,Twitter等多平台
http://marshluca.iteye.com/blog/758710转载 2011-12-14 20:42:32 · 656 阅读 · 0 评论 -
iOS samplecode
http://developer.apple.com/library/ios/navigation/原创 2011-12-16 14:16:45 · 492 阅读 · 0 评论 -
《史蒂夫·乔布斯传》(Steve Jobs)官方正式中文版高清PDF
免费下载地址在 http://linux.linuxidc.com/用户名与密码都是www.linuxidc.com具体下载目录在 /pub/2011/11/02/《史蒂夫·乔布斯传》(Steve Jobs)官方正式中文版高清PDF/转自:http://www.linuxidc.com/Linux/2011-11/46422.htm转载 2012-01-12 17:15:30 · 16383 阅读 · 2 评论 -
如何使用iOS手势UIGestureRecognizer
http://www.ctolive.com/space-1023-do-blog-id-2107.htmlUIKit中包含了UIGestureRecognizer类,用于检测发生在设备中的手势。UIGestureRecognizer是一个抽象类,定义了所有手势的基本行为,它有下面一些子类用于处理具体的手势: 1、拍击UITapGestureRecognizer (任意次数的转载 2012-01-29 15:50:48 · 1207 阅读 · 0 评论 -
ios 柱图和饼图
饼图:https://github.com/honcheng/iOSPlot饼图:https://github.com/tylerneylon/moriarty柱图:http://www.devdiv.com/iOS_iPhone-%E5%88%86%E4%BA%AB%E4%B8%80%E4%B8%AA%E5%88%AB%E4%BA%BA%E7%9A%84%E6%9F%B1%E5%9B%B原创 2012-01-26 22:32:41 · 3177 阅读 · 1 评论 -
three20 code sense in xcode4.02
I've been fighting with this issue for quite awhile and have found that explicitly referencing $(SOURCE_ROOT) in the Header Search path instead of using relative paths and then deleting the DerivedDat转载 2011-12-02 09:27:10 · 501 阅读 · 0 评论 -
ios 科学计数法,保留n个有效值
/* 科学计数法,保留n个有效值 */-(NSString *) toExponent:(double)d rms:(unsigned)n{ if(n==0) { return nil; } CFLocaleRef currentLocale = CFLocaleCopyCurrent(); CFNumberFormatterRef原创 2012-02-01 10:11:49 · 4555 阅读 · 0 评论 -
mac svn客户端versions过期解决办法
来自:http://www.maiyadi.com/thread-48076-1-1.html从codez5mac看到的解决办法,在我电脑上已经运行成功。 rm ~/.AB64CF89 rm ~/Library/.CF89AB64 rm ~/Library/Preferences/com.picodev.Versions.plist op转载 2012-02-03 10:11:02 · 5373 阅读 · 2 评论 -
WSDL2OBJC直接生成的代码是无法正确发送CXF能解析的数据包
首先, WSDL2OBJC直接生成的代码是无法正确发送CXF能解析的数据包的我懒得去看WSDL2OBJC的源码, 但是由其生成的源码看看倒是ok的我wsdl的服务名是HotelPortService生成的文件中有个HotelPortServiceSvc.m, 要修改的地方全部集中在这个文件首先, 找到如下代码的位置, 替换掉- (NSString *)seriali转载 2011-12-31 08:42:56 · 2118 阅读 · 4 评论 -
ios 3d
http://www.open-open.com/lib/view/open1327993443374.html原创 2012-02-14 08:40:06 · 488 阅读 · 0 评论 -
(译)如何使用cocos2d制作一个滑动图片游戏(Slide Image Game):第一部分
http://www.th7.cn/Program/IOS/2011/07/29/35779.shtml转载 2012-02-24 09:14:50 · 575 阅读 · 0 评论
分享