CCMBorderView 是簡單使用視圖來創建故事板右邊邊界的工具,無需任何代碼。
Developing?iOS?7?Apps?for?iPhone?and?iPad 斯坦福開放教程之一,?課程主要講解了一些?iOS?開發工具和?API?以及?iOS?SDK?的使用,?屬于?iOS?基礎視頻
開始進行應用程序性能分析的時候,一定要使用真機,模擬器運行在Mac上,然而Mac上的CPU往往比iOS設備要快。相反,Mac上的GPU和iOS設 備的完全不一樣,模擬器不得已要在軟件層面(CPU)模擬設備的GPU,這意味
ios 常用第三方類庫 分享類型: 游戲開發相關 http://blog.csdn.net/wstarx/article/details/6317779 http://iosdeveloper
FMDBHelper 可以更容易地使用 FMDB, 支持 ORM 和 JSON 成 Model。
0-引言 最近開始轉入iOS開發者陣營,本文檔就是為了記錄這趟學習歷程的點滴,該文章將持續更新中。。。 1-開發環境 iOS開發環境,不用多說,直接用Apple的Xcode, 在Mac的App
天氣地圖(Weather Map)是結合地圖和天氣的 App,適合喜歡旅行的人,能一眼看到周邊的天氣狀況。
LGRadioButtonsView 是 radio button 在 iOS 的實現。 Installation With source code Download repository
Custom URL Scheme 在 universal links 出現之前的很長一段時間里,iOS 上主要通過 custom URL scheme 來實現 deep linking,以及 app 間的通信。
基本功 iOS在誕生之初為了最大程度的保證用戶體驗,做了一些高瞻遠矚且影響深遠的設計。APNs(Apple Push Notification service)就是其中一項。 早期iOS設備的內
1.普通界面 /** *截圖功能 */ -(void)screenShot{ UIGraphicsBeginImageContextWithOptions(CGSizeMake(640, 960), YES, 0); //設置截屏大小 [[self.view layer] renderInContext:UIGraphicsGetCurrentContext()]; UIImage *viewIm
onWithKeyPath:@"transform.rotation.z"]; //設置抖動幅度 shake.fromValue= [NSNumber numberWithFloat:-0.3];
//textField.text 為你要獲取的值 NSString *P_textfield = [textField.text stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]]; ////////miller 手機 推薦驗證 /** * 手機號碼 * 移動:134[0-8],135,136,137,1
UIWebView的使用方法 //1.創建、設置代理 UIWebView *webView=[[UIWebView alloc] initWithFrame:CGRectMake(0, 20, 320, 300)]; webView.delegate = self; //2.加載網頁 NSURL *url=[NSURL URLWithString:@"http://www.google.com.h
//第一種打電話的方式 - (IBAction)firstCall:(id)sender { NSString *phone = @"18749627117"; if (phone != nil) { [[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"tel:%@
1.新建一個single view工程,導入ASIHttpRequest庫,導入MobileCoreServices、CFNetwork、SystemConfiguration和libz1.2.5.dylib四個系統庫 2.隨便導入一張圖片,比如haoyou.png 3.ViewController.h #import <UIKit/UIKit.h> #import "ASIHTTPRequest
- (IBAction)rotate:(id)sender { [UIView beginAnimations:@"View Filp" context:nil]; [UIView setAnimationDelay:0.25]; [UIView setAnimationCurve:UIViewAnimationCurveLinear]; [UIView setAnimationTransitio
#import <Foundation/Foundation.h> #import <AppKit/AppKit.h> int main(int argc, const char * argv[]) { @autoreleasepool { if (argc < 2) { return ; } NSString *inputFile = [NSString stringWithCString:ar
?IOS單元測試 根據目前主流單元測試框架:本公司IOS小組是使用GHUnit 和 OCMock 框架 XCode 內置了 OCUnit 單元測試框架,但目前最好用的測試框架應該是 GHUnit。通過
移動開發的特點:資源的有限性。作為手持設備,iphone的內存與傳統的PC不可同日而語,這就要求我們在開發IOS程序的過程中,首要也是最重要的任務就是解決內存釋放問題,本文將在網絡上搜集的關于內存管理的經驗予以分享。