摘要:        
https://github.com/mobileresearch/weibo_ios_sdk_sso-oauth新浪微博 http://open.weibo.com/wiki/移动客户端接入#.E5.A6.82.E4.BD.95.E7.94.B3.E8.AF.B7Appkey微博开放平台http://open.weibo.com/apps/1118660852/info/basic    阅读全文
posted @ 2012-11-19 19:57
不想当元帅的好兵。
阅读(159)
评论(0)
推荐(0)
        
            
        
        
摘要:        
添加MessageUI. framework#import <MessageUI/MessageUI.h>MFMailComposeViewControllerDelegate#pragma mark -#pragma mark MFMailComposeViewController- (void) alertWithTitle:(NSString *)_title_ msg:(NSString *)msg { UIAlertView *alert = [[UIAlertView alloc] initWithTitle:_title_ ...    阅读全文
posted @ 2012-11-19 19:53
不想当元帅的好兵。
阅读(185)
评论(0)
推荐(0)
        
            
        
        
摘要:        
NSString* string; // 结果字符串NSString* string1, string2; //已存在的字符串,需要将string1和string2连接起来//方法1. string = [NSString initWithFormat:@"%@,%@", string1, string2 ];//方法2. string = [string1 stringByAppendingString:string2];//方法3 . string = [string stringByAppendingFormat:@"%@,%@",string1,    阅读全文
posted @ 2012-11-19 19:49
不想当元帅的好兵。
阅读(328)
评论(0)
推荐(0)
        
            
        
        
摘要:        
NSCalendar *calendar = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar]; NSDate *now2; NSDateComponents *comps = [[NSDateComponents alloc] init]; NSInteger unitFlags = NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit | NSWeekdayCalendarUnit | NSHourCalenda...    阅读全文
posted @ 2012-11-19 19:48
不想当元帅的好兵。
阅读(345)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1.git init 当前目录初始化2.git status 检查当前文件状态Changes to be committed” 这行下面的,就说明是已暂存状态Changed but not updated” 这行下面,说明已跟踪文件的内容发生了变 化,但还没有放到暂存区。要暂存这次更新,需要运行git add命令3.git add . 修改目录下所有文件 git add 文件名 修改此文件4.cat .gitignore 忽略某些文件5.git diff 查看尚未暂存的文件更新了哪些部分 终端用p 停止查看6.git commit 提交更新7.编辑提交文件的后出错删掉swp文件8.git...    阅读全文
posted @ 2012-11-19 19:46
不想当元帅的好兵。
阅读(167)
评论(0)
推荐(0)
        
 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号