ユーザ用ツール

サイト用ツール


ios

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
ios [2011/09/07 15:07] – [UIViewControllerの切り替え] nullponios [2013/09/22 09:31] (現在) nullpon
行 1: 行 1:
-====== iOS開発 ======+====== iOS Application Development ======
 iPhone、iPadアプリの開発 iPhone、iPadアプリの開発
 +
 +
 +===== Assets =====
 +==== App Icon ====
 +
 +^デバイス^ファイル名^サイズ^備考^
 +|iPhone Non-Retina|icon.png|57x57| |
 +|iPhone Retina|icon@2x.png|114x114| |
 +|iPhone Retina iOS7|icon-60@2x.png|120x120| |
 +
 +==== Launch Image ====
 +
 +^デバイス^ファイル名^サイズ^備考^
 +|iPhone Non-Retina|Default.png|320x480| |
 +|iPhone Retina|Default@2x.png|640x960| |
 +|iPhone Retina 4-inch|Default-568h@2x.png|640x1136| |
 +
 +
  
 ===== UIViewControllerの切り替え ===== ===== UIViewControllerの切り替え =====
行 11: 行 29:
 @property (nonatomic, retain) IBOutlet UIWindow *window; @property (nonatomic, retain) IBOutlet UIWindow *window;
  
-- (void) useHogeViewController;+- (void) useFugaViewController;
  
 @end @end
行 18: 行 36:
 HogeAppDelegate.m HogeAppDelegate.m
 <code objc> <code objc>
-- (void) useHogeViewController+- (void) useFugaViewController
 { {
-    HogeViewController *controller = [[HogeViewController alloc]initWithNibName:@"HogeViewController" bundle:NULL];+    FugaViewController *controller = [[FugaViewController alloc]initWithNibName:@"FugaViewController" bundle:NULL];
  
     self.window.rootViewController = controller;     self.window.rootViewController = controller;
行 39: 行 57:
 { {
     HogeAppDelegate* delegate = (HogeAppDelegate *)[[UIApplication sharedApplication]delegate];     HogeAppDelegate* delegate = (HogeAppDelegate *)[[UIApplication sharedApplication]delegate];
-    [delegate useHogeViewController];+    [delegate useFugaViewController];
 } }
 </code> </code>
  
ios.1315408058.txt.gz · 最終更新: 2011/09/07 15:07 by nullpon