一些常用的代碼片段,提高開發效率

1、如果在程序中想對某張圖片進行處理的話(得到某張圖片的一部分)可一用以下代碼:

UIImage *image = [UIImage imageNamed:filename];

CGImageRef imageRef = image.CGImage;

CGRect rect = CGRectMake(origin.x, origin.y ,size.width, size.height);

CGImageRef imageRefRect = CGImageCreateWithImageInRect(imageRef, rect);

UIImage *imageRect = [[UIImage alloc] initWithCGImage:imageRefRect];

 

2、判斷設備是iphone還是iphone4的代碼:


#define isRetina ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(640, 960), [[UIScreen mainScreen] currentMode].size) : NO)


3、判斷郵箱輸入的是否正確:


- (BOOL) validateEmail: (NSString *) candidate {

NSString *emailRegex = @"[A-Z0-9a-z._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}"; 

NSPredicate *emailTest = [NSPredicate predicateWithFormat:@"SELF MATCHES %@", emailRegex]; 

 

return [emailTest evaluateWithObject:candidate];

}

 

4、如何把當前的視圖作爲照片保存到相冊中去:

 

#import <QuartzCore/QuartzCore.h>

UIGraphicsBeginImageContext(currentView.bounds.size);     //currentView 當前的view

[currentView.layer renderInContext:UIGraphicsGetCurrentContext()];

UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();

UIGraphicsEndImageContext();

UIImageWriteToSavedPhotosAlbum(viewImage, nil, nil, nil);

 

5、本地通知(類似於push通知)按home鍵到後臺 十秒後觸發:

UILocalNotification *notification=[[UILocalNotification alloc] init]; 

if (notification!=nil) { 

NSLog(@">> support local notification"); 

NSDate *now=[NSDate new]; 

notification.fireDate=[now addTimeInterval:10]; 

notification.timeZone=[NSTimeZone defaultTimeZone]; 

notification.alertBody=@"該去吃晚飯了!"; 

[[UIApplication sharedApplication].scheduleLocalNotification:notification];

}

 

6、捕獲iphone通話事件:

CTCallCenter *center = [[CTCallCenter alloc] init];

center.callEventHandler = ^(CTCall *call) 

{

NSLog(@"call:%@", call.callState);

}

 

7、iOS 4 引入了多任務支持,所以用戶按下 “Home” 鍵以後程序可能並沒有退出而是轉入了後臺運行。如果您想讓應用直接退出,最簡單的方法是:在 info-plist 裏面找到 Application does not run in background 一項,勾選即可。


8、使UIimageView的圖像旋轉:


float rotateAngle = M_PI;

CGAffineTransform transform =CGAffineTransformMakeRotation(rotateAngle);

imageView.transform = transform;

 

9、設置旋轉的原點:

 

#import <QuartzCore/QuartzCore.h>

UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"bg.png"]];

imageView.layer.anchorPoint = CGPointMake(0.5, 1.0);

 

10、實現自定義的狀態欄(遮蓋狀態欄):

CGRect frame = {{0, 0}, {320, 20}};

UIWindow* wd = [[UIWindow alloc] initWithFrame:frame];

[wd setBackgroundColor:[UIColor clearColor]];

[wd setWindowLevel:UIWindowLevelStatusBar];

frame = CGRectMake(100, 0, 30, 20);

UIImageView* img = [[UIImageView alloc] initWithFrame:frame];

[img setContentMode:UIViewContentModeCenter];

[img setImage:[UIImage imageNamed:@"00_0103.png"]];

[wd addSubview:img];

[wd makeKeyAndVisible];

 

[UIView beginAnimations:nil context:nil];

[UIView setAnimationDuration:2];

frame.origin.x += 150;

[img setFrame:frame];

[UIView commitAnimations];


11、在程序中實現電話的撥打:


//添加電話圖標按鈕 

UIButton *btnPhone = [[UIButton buttonWithType:UIButtonTypeCustom] retain]; 

btnPhone.frame = CGRectMake(280,10,30,30); 

UIImage *image = [UIImage imageNamed:@"phone.png"];     

[btnPhone setBackgroundImage:image forState:UIControlStateNormal]; 

 

//點擊撥號按鈕直接撥號 

[btnPhone addTarget:self action:@selector(callAction:event:)forControlEvents:UIControlEventTouchUpInside]; 

 

[cell.contentView addSubview:btnPhone];  //cell是一個UITableViewCell 

 

//定義點擊撥號按鈕時的操作 

- (void)callAction:(id)sender event:(id)event{ 

NSSet *touches = [event allTouches]; 

UITouch *touch = [touches anyObject]; 

CGPoint currentTouchPosition = [touch locationInView:self.listTable]; 

NSIndexPath *indexPath = [self.listTable indexPathForRowAtPoint: currentTouchPosition]; 

if (indexPath == nil) { 

return; 

NSInteger section = [indexPath section]; 

NSUInteger row = [indexPath row]; 

NSDictionary *rowData = [datas objectAtIndex:row]; 

 

NSString *num = [[NSString alloc] initWithFormat:@"tel://%@",number]; //number爲號碼字符串     

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:num]]; //撥號 

}


12、更改iphone的鍵盤顏色:


1.只有這2種數字鍵盤纔有效果。UIKeyboardTypeNumberPad,UIKeyboardTypePhonePad

2. keyboardAppearance = UIKeyboardAppearanceAlert 

- (void)textViewDidBeginEditing:(UITextView *)textView{

NSArray *ws = [[UIApplication sharedApplication] windows];

for(UIView *w in ws){

NSArray *vs = [w subviews];

for(UIView *v in vs)

{

if([[NSString stringWithUTF8String:object_getClassName(v)] isEqualToString:@"UIKeyboard"])

{

v.backgroundColor = [UIColor redColor];

}

}

}

 

13、設置時區


 

NSTimeZone *defaultTimeZone = [NSTimeZone defaultTimeZone];

NSTimeZone *tzGMT = [NSTimeZone timeZoneWithName:@"GMT"];

[NSTimeZone setDefaultTimeZone:tzGMT];

上面兩個時區任意用一個。


14、Ipad隱藏鍵盤的同時觸發方法。

 

 

[[NSNotificationCenter defaultCenter] addObserver:self

selector:@selector(keyboardWillHide:)

name:UIKeyboardWillHideNotification

  object:nil];

 

- (IBAction)keyboardWillHide:(NSNotification *)note

 

14、在一個程序中打開另一個程序的方法。

 

http://www.cocoachina.com/iphonedev/sdk/2010/0322/768.html

15、計算字符串的字數

-(int)calculateTextNumber:(NSString *)text

{

float number = 0.0;

int index = 0;

for (index; index < [text length]; index++)

{

NSString *protoText = [text substringToIndex:[text length] - index];

NSString *toChangetext = [text substringToIndex:[text length] -1 -index];

NSString *charater;

if ([toChangetext length]==0)

{

charater = protoText;

}

else 

{

NSRange range = [text rangeOfString:toChangetext];

charater = [protoText stringByReplacingCharactersInRange:range withString:@""];

 

}

NSLog(charater);

if ([charater lengthOfBytesUsingEncoding:NSUTF8StringEncoding] == 3)

{

number++;

}

else 

{

number = number+0.5;

}

}

return ceil(number);

轉自:http://blog.sina.com.cn/s/blog_6a2cbc930100m7eh.html

posted @ 2010-11-16 17:24 Sure-G 閱讀(518) 評論(0) 編輯

iphone-常用的對視圖圖層(layer)的操作

對圖層的操作:

 1.給圖層添加背景圖片:

 myView.layer.contents = (id)[UIImage imageNamed:@"view_BG.png"].CGImage;

 

 2.將圖層的邊框設置爲圓腳 

myWebView.layer.cornerRadius = 8;

myWebView.layer.masksToBounds = YES;

 

3.給圖層添加一個有色邊框

myWebView.layer.borderWidth = 5;

myWebView.layer.borderColor = [[UIColor colorWithRed:0.52 green:0.09 blue:0.07 alpha:1CGColor];


轉自:http://www.cnblogs.com/tracy-e/archive/2010/10/14/1851035.html

posted @ 2010-11-16 16:41 Sure-G 閱讀(345) 評論(2) 編輯

iPhone中的剪切技巧: 

  
1.獲取圖形上下文 

  
2.構造剪切的路徑(形狀)

  3.構建剪切區域 

  
4.貼上你的畫  

// 1CGContextRef context = UIGraphicsGetCurrentContext();
// 2CGRect bounds = CGRectMake(0.0f, 0.0f, SIDELENGTH, SIDELENGTH);

CGMutablePathRef path = CGPathCreateMutable();CGPathAddEllipseInRect(path, NULL, bounds);
// 3CGContextAddPath(context, path);CGContextClip(context);
// 4[LOGO drawInRect:bounds];

 

截取屏幕圖片
//創建一個基於位圖的圖形上下文並指定大小爲CGSizeMake(200,400)
UIGraphicsBeginImageContext(CGSizeMake(200,400)); 

//renderInContext 呈現接受者及其子範圍到指定的上下文
[self.view.layer renderInContext:UIGraphicsGetCurrentContext()];
   
 //返回一個基於當前圖形上下文的圖片
 UIImage *aImage = UIGraphicsGetImageFromCurrentImageContext();
 
 //移除棧頂的基於當前位圖的圖形上下文
UIGraphicsEndImageContext();

//以png格式返回指定圖片的數據
imageData = UIImagePNGRepresentation(aImage);

posted @ 2010-11-16 16:36 Sure-G 閱讀(153) 評論(0) 編輯

//獲取用戶設置的本機號碼(4.0以前的系統有效,4.0以後暫時沒找到獲取方法)

NSString *phoneNumber = [[NSUserDefaults standardUserDefaults] valueForKey:@"SBFormattedPhoneNumber"];

//iphone獲取本機電話薄裏的電話號碼列表

/private/var/mobile/Library/AddressBook/AddressBook.sqlitedb

posted @ 2010-11-16 16:32 Sure-G 閱讀(680) 評論(3) 編輯

////*****.m文件

#import "NSDate-Helper.h"

@implementation NSDate(Helpers)

 

/*

 * This guy can be a little unreliable and produce unexpected results,

 * you're better off using daysAgoAgainstMidnight

 */

 //獲取年月日如:19871127.

- (NSString *)getFormatYearMonthDay

{

 NSString *string = [NSString stringWithFormat:@"%d%02d%02d",[self getYear],[self getMonth],[self getDay]];

 return string;

}

 //返回當前月一共有幾周(可能爲4,5,6)

- (int )getWeekNumOfMonth

{

 return [[self endOfMonth] getWeekOfYear] - [[self beginningOfMonth] getWeekOfYear] + 1;

}

//該日期是該年的第幾周

- (int )getWeekOfYear

{

 int i;

 int year = [self getYear];

 NSDate *date = [self endOfWeek];

 for (i = 1;[[date dateAfterDay:-7 * i] getYear] == year;i++) 

 {

 }

 return i;

}

 //返回day天后的日期(若day爲負數,則爲|day|天前的日期)

- (NSDate *)dateAfterDay:(int)day

{

 NSCalendar *calendar = [NSCalendar currentCalendar];

 // Get the weekday component of the current date

 // NSDateComponents *weekdayComponents = [calendar components:NSWeekdayCalendarUnit fromDate:self];

 NSDateComponents *componentsToAdd = [[NSDateComponents alloc] init];

 // to get the end of week for a particular date, add (7 - weekday) days

 [componentsToAdd setDay:day];

 NSDate *dateAfterDay = [calendar dateByAddingComponents:componentsToAdd toDate:self options:0];

 [componentsToAdd release];

 

 return dateAfterDay;

}

//month個月後的日期

- (NSDate *)dateafterMonth:(int)month

{

 NSCalendar *calendar = [NSCalendar currentCalendar];

 NSDateComponents *componentsToAdd = [[NSDateComponents alloc] init];

[componentsToAdd setMonth:month];

NSDate *dateAfterMonth = [calendar dateByAddingComponents:componentsToAdd toDate:self options:0];

[componentsToAdd release];

 

return dateAfterMonth;

}

 //獲取日

- (NSUInteger)getDay{

NSCalendar *calendar = [NSCalendar currentCalendar];

NSDateComponents *dayComponents = [calendar components:(NSDayCalendarUnit) fromDate:self];

return [dayComponents day];

}

//獲取月

- (NSUInteger)getMonth

{

NSCalendar *calendar = [NSCalendar currentCalendar];

NSDateComponents *dayComponents = [calendar components:(NSMonthCalendarUnit) fromDate:self];

return [dayComponents month];

}

//獲取年

- (NSUInteger)getYear

{

NSCalendar *calendar = [NSCalendar currentCalendar];

NSDateComponents *dayComponents = [calendar components:(NSYearCalendarUnit) fromDate:self];

return [dayComponents year];

}

//獲取小時

- (int )getHour {

NSCalendar *calendar = [NSCalendar currentCalendar];

NSUInteger unitFlags =NSYearCalendarUnit| NSMonthCalendarUnit | NSDayCalendarUnit |NSHourCalendarUnit|NSMinuteCalendarUnit;

NSDateComponents *components = [calendar components:unitFlags fromDate:self];

NSInteger hour = [components hour];

return (int)hour;

}

//獲取分鐘

- (int)getMinute {

NSCalendar *calendar = [NSCalendar currentCalendar];

NSUInteger unitFlags =NSYearCalendarUnit| NSMonthCalendarUnit | NSDayCalendarUnit |NSHourCalendarUnit|NSMinuteCalendarUnit;

NSDateComponents *components = [calendar components:unitFlags fromDate:self];

NSInteger minute = [components minute];

return (int)minute;

}

- (int )getHour:(NSDate *)date {

NSCalendar *calendar = [NSCalendar currentCalendar];

NSUInteger unitFlags =NSYearCalendarUnit| NSMonthCalendarUnit | NSDayCalendarUnit |NSHourCalendarUnit|NSMinuteCalendarUnit;

NSDateComponents *components = [calendar components:unitFlags fromDate:date];

NSInteger hour = [components hour];

return (int)hour;

}

- (int)getMinute:(NSDate *)date {

NSCalendar *calendar = [NSCalendar currentCalendar];

NSUInteger unitFlags =NSYearCalendarUnit| NSMonthCalendarUnit | NSDayCalendarUnit |NSHourCalendarUnit|NSMinuteCalendarUnit;

NSDateComponents *components = [calendar components:unitFlags fromDate:date];

NSInteger minute = [components minute];

return (int)minute;

}

 //在當前日期前幾天

- (NSUInteger)daysAgo {

NSCalendar *calendar = [NSCalendar currentCalendar];

NSDateComponents *components = [calendar components:(NSDayCalendarUnit) 

  fromDate:self

toDate:[NSDate date]

options:0];

return [components day];

}

 //午夜時間距今幾天

- (NSUInteger)daysAgoAgainstMidnight {

// get a midnight version of ourself:

NSDateFormatter *mdf = [[NSDateFormatter alloc] init];

[mdf setDateFormat:@"yyyy-MM-dd"];

NSDate *midnight = [mdf dateFromString:[mdf stringFromDate:self]];

[mdf release];

 

return (int)[midnight timeIntervalSinceNow] / (60*60*24) *-1;

}

 

- (NSString *)stringDaysAgo {

return [self stringDaysAgoAgainstMidnight:YES];

}

 

- (NSString *)stringDaysAgoAgainstMidnight:(BOOL)flag {

NSUInteger daysAgo = (flag) ? [self daysAgoAgainstMidnight] : [self daysAgo];

NSString *text = nil;

switch (daysAgo) {

case 0:

text = @"Today";

break;

case 1:

text = @"Yesterday";

break;

default:

text = [NSString stringWithFormat:@"%d days ago", daysAgo];

}

return text;

}

 /返回一週的第幾天(週末爲第一天)

- (NSUInteger)weekday {

NSCalendar *calendar = [NSCalendar currentCalendar];

NSDateComponents *weekdayComponents = [calendar components:(NSWeekdayCalendarUnit) fromDate:self];

return [weekdayComponents weekday];

}

 //轉爲NSString類型的

+ (NSDate *)dateFromString:(NSString *)string {

return [NSDate dateFromString:string withFormat:[NSDate dbFormatString]];

}

 

+ (NSDate *)dateFromString:(NSString *)string withFormat:(NSString *)format {

NSDateFormatter *inputFormatter = [[NSDateFormatter alloc] init];

[inputFormatter setDateFormat:format];

NSDate *date = [inputFormatter dateFromString:string];

[inputFormatter release];

return date;

}

 

+ (NSString *)stringFromDate:(NSDate *)date withFormat:(NSString *)format {

return [date stringWithFormat:format];

}

 

+ (NSString *)stringFromDate:(NSDate *)date {

return [date string];

}

 

+ (NSString *)stringForDisplayFromDate:(NSDate *)date prefixed:(BOOL)prefixed {

/* 

* if the date is in today, display 12-hour time with meridian,

* if it is within the last 7 days, display weekday name (Friday)

* if within the calendar year, display as Jan 23

* else display as Nov 11, 2008

*/

 

NSDate *today = [NSDate date];

NSCalendar *calendar = [NSCalendar currentCalendar];

NSDateComponents *offsetComponents = [calendar components:(NSYearCalendarUnit | NSMonthCalendarUnit |NSDayCalendarUnit) 

fromDate:today];

 

NSDate *midnight = [calendar dateFromComponents:offsetComponents];

 

NSDateFormatter *displayFormatter = [[NSDateFormatter alloc] init];

NSString *displayString = nil;

 

// comparing against midnight

if ([date compare:midnight] == NSOrderedDescending) {

if (prefixed) {

[displayFormatter setDateFormat:@"'at' h:mm a"]; // at 11:30 am

} else {

[displayFormatter setDateFormat:@"h:mm a"]; // 11:30 am

}

} else {

// check if date is within last 7 days

NSDateComponents *componentsToSubtract = [[NSDateComponents alloc] init];

[componentsToSubtract setDay:-7];

NSDate *lastweek = [calendar dateByAddingComponents:componentsToSubtract toDate:today options:0];

[componentsToSubtract release];

if ([date compare:lastweek] == NSOrderedDescending) {

[displayFormatter setDateFormat:@"EEEE"]; // Tuesday

} else {

// check if same calendar year

NSInteger thisYear = [offsetComponents year];

 

NSDateComponents *dateComponents = [calendar components:(NSYearCalendarUnit | NSMonthCalendarUnit |NSDayCalendarUnit) 

  fromDate:date];

NSInteger thatYear = [dateComponents year];

if (thatYear >= thisYear) {

[displayFormatter setDateFormat:@"MMM d"];

} else {

[displayFormatter setDateFormat:@"MMM d, yyyy"];

}

}

if (prefixed) {

NSString *dateFormat = [displayFormatter dateFormat];

NSString *prefix = @"'on' ";

[displayFormatter setDateFormat:[prefix stringByAppendingString:dateFormat]];

}

}

 

// use display formatter to return formatted date string

displayString = [displayFormatter stringFromDate:date];

[displayFormatter release];

return displayString;

}

 

+ (NSString *)stringForDisplayFromDate:(NSDate *)date {

return [self stringForDisplayFromDate:date prefixed:NO];

}

 

- (NSString *)stringWithFormat:(NSString *)format {

NSDateFormatter *outputFormatter = [[NSDateFormatter alloc] init];

[outputFormatter setDateFormat:format];

NSString *timestamp_str = [outputFormatter stringFromDate:self];

[outputFormatter release];

return timestamp_str;

}

 

- (NSString *)string {

return [self stringWithFormat:[NSDate dbFormatString]];

}

 

- (NSString *)stringWithDateStyle:(NSDateFormatterStyle)dateStyle timeStyle:(NSDateFormatterStyle)timeStyle {

NSDateFormatter *outputFormatter = [[NSDateFormatter alloc] init];

[outputFormatter setDateStyle:dateStyle];

[outputFormatter setTimeStyle:timeStyle];

NSString *outputString = [outputFormatter stringFromDate:self];

[outputFormatter release];

return outputString;

}

//返回週日的的開始時間

- (NSDate *)beginningOfWeek {

// largely borrowed from "Date and Time Programming Guide for Cocoa"

// we'll use the default calendar and hope for the best

 

NSCalendar *calendar = [NSCalendar currentCalendar];

NSDate *beginningOfWeek = nil;

BOOL ok = [calendar rangeOfUnit:NSWeekCalendarUnit startDate:&beginningOfWeek

  interval:NULL forDate:self];

if (ok) {

return beginningOfWeek;

 

// couldn't calc via range, so try to grab Sunday, assuming gregorian style

// Get the weekday component of the current date

NSDateComponents *weekdayComponents = [calendar components:NSWeekdayCalendarUnit fromDate:self];

 

/*

Create a date components to represent the number of days to subtract from the current date.

The weekday value for Sunday in the Gregorian calendar is 1, so subtract 1 from the number of days to subtract from the date in question.  (If today's Sunday, subtract 0 days.)

*/

NSDateComponents *componentsToSubtract = [[NSDateComponents alloc] init];

[componentsToSubtract setDay: 0 - ([weekdayComponents weekday] - 1)];

beginningOfWeek = nil;

beginningOfWeek = [calendar dateByAddingComponents:componentsToSubtract toDate:self options:0];

[componentsToSubtract release];

 

//normalize to midnight, extract the year, month, and day components and create a new date from those components.

NSDateComponents *components = [calendar components:(NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit)

  fromDate:beginningOfWeek];

return [calendar dateFromComponents:components];

}

//返回當前天的年月日.

- (NSDate *)beginningOfDay {

NSCalendar *calendar = [NSCalendar currentCalendar];

// Get the weekday component of the current date

NSDateComponents *components = [calendar components:(NSYearCalendarUnit | NSMonthCalendarUnit |NSDayCalendarUnit) 

  fromDate:self];

return [calendar dateFromComponents:components];

}

//返回該月的第一天

- (NSDate *)beginningOfMonth

{

return [self dateAfterDay:-[self getDay] + 1];

}

//該月的最後一天

- (NSDate *)endOfMonth

{

return [[[self beginningOfMonth] dateafterMonth:1] dateAfterDay:-1];

}

//返回當前周的週末

- (NSDate *)endOfWeek {

NSCalendar *calendar = [NSCalendar currentCalendar];

// Get the weekday component of the current date

NSDateComponents *weekdayComponents = [calendar components:NSWeekdayCalendarUnit fromDate:self];

NSDateComponents *componentsToAdd = [[NSDateComponents alloc] init];

// to get the end of week for a particular date, add (7 - weekday) days

[componentsToAdd setDay:(7 - [weekdayComponents weekday])];

NSDate *endOfWeek = [calendar dateByAddingComponents:componentsToAdd toDate:self options:0];

[componentsToAdd release];

 

return endOfWeek;

}

 

+ (NSString *)dateFormatString {

return @"yyyy-MM-dd";

}

 

+ (NSString *)timeFormatString {

return @"HH:mm:ss";

}

 

+ (NSString *)timestampFormatString {

return @"yyyy-MM-dd HH:mm:ss";

}

 

// preserving for compatibility

+ (NSString *)dbFormatString {

return [NSDate timestampFormatString];

}

 

@end

posted @ 2010-11-16 16:22 Sure-G 閱讀(1260) 評論(0) 編輯

NSArray *sortedArray = [array sortedArrayUsingComparator: ^(id obj1, id obj2) {

if ([obj1 integerValue] > [obj2 integerValue]) {

 return (NSComparisonResult)NSOrderedDescending;

}

if ([obj1 integerValue] < [obj2 integerValue]) {

 return (NSComparisonResult)NSOrderedAscending;

}

return (NSComparisonResult)NSOrderedSame;

}];

 

以前只用過[array sortedArrayUsingSelector:@selector(compare:)];方法,若沒有現成的compare:方法還要自己寫一個新的比較方法,比較麻煩.

在研究對數組逆向排序時看到了這個方法,貌似是4.0新出的blocks.(Block, 簡單的說,就是一個函數對象,和其它類型的對象一樣,你可以創建它,可以賦給一個變量,也可以作爲函數的參數來傳遞)

blocks傳送門:http://www.cocoachina.com/macdev/objc/2010/0601/1591.html

用法:若sortedArray存的數據是Person類的對象,(name,age,address...),要以age排序,即將上面方法中的[obj1 intergerValue] 改爲[obj1/2 age]即可;或 要倒序排列,則將NSOrderedDescending和NSOrderedAscending調換.


轉自:http://www.cnblogs.com/gushuo/archive/2010/11/16.html

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章