- (NSString *)URLEncodedString:(NSString *)string{ NSString *result = (NSString *)CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault, (CFStringRef)string,NULL,CFSTR("!*'();:@&=+$,/
转载 精选 2011-10-09 13:48:07
313阅读
  更改cell选中的背景     UIView *myview = [[UIView alloc] init];     myview.frame = CGRectMake(0, 0, 320, 47);     myview.backgroundColor
转载 精选 2012-11-16 13:30:55
292阅读
更改cell选中的背景 UIView *myview = [UIView alloc] init]; myview.frame = CGRectMake(0, 0, 320, 47); myview.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"0006.png"]; cell.selectedBackgroundView = myview;在数字键盘上添加button://定义一个消息中心[NSNotificationCenter defaultCenter] addObs..
转载 2012-02-07 20:12:00
53阅读
2评论
iphone开发常用代码
转载 精选 2012-02-20 17:43:02
199阅读
UITextInputTraits属性autocapitalizationType 设置键盘自动大小写的属性 UITextAutocapitalizationTypeNoneautocorrectionType property 设置是否有自动修改提示 UITextAutocorrectionTypeNoenablesReturnKeyAutomatically Boolean值-设置在用户没有输入是returnKey禁用,默认值NOkeyboardAppearance 设置键盘显示方式 除了默认模式 还有一个UIKeyboardAppearanceAlert模式keyboardType 设置
转载 2012-02-07 22:40:00
73阅读
2评论
更改cell选中的背景     UIView *myview = [[UIView alloc] init];     myview.frame = CGRectMake(0, 0, 320, 47);     myview.backgroundColor = [UIColor colorWithPat
转载 2011-08-08 14:36:40
274阅读
转自:我也叫梓珈的博客http://fei263.blog.163.com/   更改cell选中的背景     UIView *myview = [[UIView alloc] init];     myview.frame = CGRectMake(0, 0, 320, 47);   &
转载 精选 2009-12-14 12:23:23
3203阅读
1点赞
iphone 开发常用代码2
转载 精选 2012-04-13 17:14:00
563阅读
IOS/iphone开发常用代码
转载 精选 2012-01-11 14:36:48
370阅读
1. stringWithFormat 用法: [NSString stringWithFormat:@"Hig
转载 2012-09-20 17:24:00
70阅读
2评论
http://blog.sina.com.cn/u/2079395307iphone和andorid开发博客1.自定义DLog输出#ifdef DEBUGLOG# define DLog(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTI...
转载 2012-11-02 15:32:00
73阅读
2评论
http://blog.sina.com.cn/u/2079395307iphone和andorid开发博客1.自定义DLog输出#ifdef DEBUGLOG# define DLog(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTI...
转载 2012-11-02 15:32:00
62阅读
2评论
Iphone代码片段导航Iphone开发代码片段1Iphone开发代码片段2Iphone开发代码片段31.给UITableViewController添加T
原创 2022-05-05 22:28:01
265阅读
Iphone代码片段导航Iphone开发代码片段1Iphone开发代码片段2Iphone开发代码片段3 UItableView UITextField NSString
原创 2022-05-12 15:49:46
211阅读
  1、给TableViewCell设置点击高亮      //选中cell添加高亮    cell.selectedBackgroundView = [[[UIView alloc] initWithFrame:cell.frame] autorelease];     cell.selectedBackgroundView.backgroundColor = [UICo...
原创 2023-05-15 14:29:07
77阅读
  自定义ViewController中存在两组方法,第一组为: viewDidLoad; viewDidUnload; didReceiveMemoryWarning shouldAutorotateToInterfaceOrientation   这组方法为view的通用方法,方法的定义在UIViewController接口中。   第二组为
原创 2012-06-03 10:34:57
995阅读
Iphone开发常用   必备案例分享
转载 精选 2012-01-10 10:33:57
255阅读
iPhone开发代码从头开始
原创 2012-03-25 09:26:15
867阅读
iphone开发基础教程源代码
原创 2023-05-15 14:41:59
85阅读
Google 翻译 Box2d 托德的Box2D的教程!Box2D的 - 首页如何只使用碰撞检测的cocos2d iPhone Box2D的|雷Wenderlich“一个SpaceManager游戏|适用于iPhone的cocos2dBox2D 论坛box2d用户手册Box2D 论坛iPhone IOS开发中心 iOS 开发中心iOS Dev Center - Apple Develope
转载 精选 2011-08-16 09:59:36
219阅读
  • 1
  • 2
  • 3
  • 4
  • 5