- 博客(16)
- 资源 (29)
- 收藏
- 关注
原创 github 库记录
https://github.com/beetlebugorg/PictureMe 脸部识别https://github.com/sergiomtzlosa/faceWrapper-iphonehttps://github.com/ole/OBShapedButton 不规则按钮https://github.com/mattdonnelly/MDAudi
2012-05-22 09:57:24 298
转载 播放wav声音
static int i = 0; NSString *path; if(i%2==0) { path = [NSString stringWithFormat:@"%@%@",[[NSBundle mainBundle] resourcePath],@"/soundNumber.wav"]; } else {
2012-05-21 15:33:55 332
原创 URLConnection
#import @interface URLRequest : NSObject { id _delegate; SEL _action; NSString *_xml; NSMutableData *responseData; NSMutableURLRequest *request; NSURLConnection
2012-05-18 16:55:57 382
转载 旋转数组
int a[4][4]; int b[4][4]; int k=1; int i,j; for(i=0; i { for(j=0; j { a[i][j] = k++; printf("%8d ", a[i][j]); //
2012-05-16 10:33:24 230
原创 kvo
- (void)viewDidLoad { [super viewDidLoad]; [self addObserver:self forKeyPath:@"name" options:(NSKeyValueObservingOptionNew |NSKeyValueObservingOptionOld) context:nil]; self.name = @"wan
2012-05-15 15:11:31 215
转载 字符串 取变量
转自 http://www.cocoachina.com/bbs/read.php?tid=102887@interface ViewController : UIViewController{ NSString *a1; NSString *a2; NSString *a3;}@end- (void)viewDidLoad{
2012-05-15 10:14:52 346
原创 气泡屏保
- (void)viewDidLoad { [super viewDidLoad]; self.ballArray = [[NSMutableArray alloc] init]; [ballArray release]; for(int i =0;i { BubbleView *bubble = [[BubbleView all
2012-05-15 09:37:49 720
原创 时间 精确 到毫秒
NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; formatter.dateFormat = @"yyyy-MM-dd HH:mm:ss.SSS"; NSString *begin = [formatter stringFromDate:[NSDate date]]; NSLog(@"begin
2012-05-14 10:39:23 40402
原创 解决 黑色背景问题
#import @interface CustomerViewController : UIImagePickerController { UIToolbar *hortoolBar; UIToolbar *vertoolBar; UIImageView *vBackView; //垂直方向银色背景 UIImageView *hBackVi
2012-05-09 15:00:46 608
原创 自定义照相机
#import @interface CustomerViewController : UIImagePickerController { UIToolbar *hortoolBar; UIToolbar *vertoolBar; }@property (nonatomic,retain) UIToolbar *hortoolBar;@prop
2012-05-07 08:36:48 445
原创 willAnimateFirstHalfOfRotationToInterfaceOrientation 为什么没调用????
wThe default implementation of this method does nothing. If you override this method, you should not override either the willAnimateFirstHalfOfRotationToInterfaceOrientation:duration: or willAnimateSe
2012-05-04 14:36:03 875
原创 开源库
https://github.com/enormego/EGOTableViewPullRefreshhttps://github.com/enormego/EGOImageLoadinghttps://github.com/enormego/EGOCache)
2012-05-03 11:27:15 346
转载 中文 转 拼音
//// ChineseToPinyin.h// LianPu//// Created by shawnlee on 10-12-16.// Copyright 2010 lianpu. All rights reserved.//#import @interface ChineseToPinyin : NSObject { }
2012-05-02 14:35:14 28993
原创 代码收集
https://github.com/haqu/tweejump cocoa 开源游戏ABC123 is an interesting game for iPhone, iPod touch and iPad."Simple in concept. Brilliantly addictive. Maddeningly challenging." – TheYosh
2012-05-02 09:22:05 998
TMGBusUpdConfCallBohr121604final
2008-08-27
AT&T汇编语言与GCC内嵌汇编简介
2008-08-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人