Soumettre la recherche
Mettre en ligne
005
•
Télécharger en tant que KEY, PDF
•
0 j'aime
•
822 vues
Stronger Shen
Suivre
Formation
Affichage du diaporama
Signaler
Partager
Affichage du diaporama
Signaler
Partager
1 sur 27
Télécharger maintenant
Recommandé
105-2 iOS程式設計(六)
105-2 iOS程式設計(六)
Hao Lee
004
004
Stronger Shen
CS193P Lecture 5 View Animation
CS193P Lecture 5 View Animation
onoaonoa
11 UINavigationController
11 UINavigationController
Tom Fan
I os 10
I os 10
信嘉 陳
I os 07
I os 07
信嘉 陳
I os 01
I os 01
信嘉 陳
I os 16
I os 16
信嘉 陳
Recommandé
105-2 iOS程式設計(六)
105-2 iOS程式設計(六)
Hao Lee
004
004
Stronger Shen
CS193P Lecture 5 View Animation
CS193P Lecture 5 View Animation
onoaonoa
11 UINavigationController
11 UINavigationController
Tom Fan
I os 10
I os 10
信嘉 陳
I os 07
I os 07
信嘉 陳
I os 01
I os 01
信嘉 陳
I os 16
I os 16
信嘉 陳
I os 09
I os 09
信嘉 陳
07 View Controllers
07 View Controllers
Tom Fan
iOS App 開發 -- Storybard 基礎練習、APP 上架、IAP
iOS App 開發 -- Storybard 基礎練習、APP 上架、IAP
Ming-Sian Lin
13 UIPopoverController and Modal View Controller
13 UIPopoverController and Modal View Controller
Tom Fan
I os 02
I os 02
信嘉 陳
15 Subclassing UITableViewCell
15 Subclassing UITableViewCell
Tom Fan
12 Camera
12 Camera
Tom Fan
09 UITableView and UITableViewController
09 UITableView and UITableViewController
Tom Fan
06 Subclassing UIView and UIScrollView
06 Subclassing UIView and UIScrollView
Tom Fan
Core data lightweight_migration
Core data lightweight_migration
Michael Pan
Er introduction
Er introduction
Yubei Li
Android应用开发 - 沈大海
Android应用开发 - 沈大海
Shaoning Pan
JQuery Mobile 框架介紹與使用
JQuery Mobile 框架介紹與使用
EZoApp
Uliweb cheat sheet_0.1
Uliweb cheat sheet_0.1
modou li
製作 Unity Plugin for iOS
製作 Unity Plugin for iOS
Johnny Sung
UIKit-Swift
UIKit-Swift
Ryan Chung
掌星 移动互联网开发笔记-Vol001
掌星 移动互联网开发笔记-Vol001
rainx1982
jQuery Mobile
jQuery Mobile
彭其捷 Jack
移动Web开发框架jqm探讨
移动Web开发框架jqm探讨
newker
Developer也可以做出漂亮網站 - Twitter Bootstrap/JQuery Mobile簡介
Developer也可以做出漂亮網站 - Twitter Bootstrap/JQuery Mobile簡介
Fred Lin
Contenu connexe
Similaire à 005
I os 09
I os 09
信嘉 陳
07 View Controllers
07 View Controllers
Tom Fan
iOS App 開發 -- Storybard 基礎練習、APP 上架、IAP
iOS App 開發 -- Storybard 基礎練習、APP 上架、IAP
Ming-Sian Lin
13 UIPopoverController and Modal View Controller
13 UIPopoverController and Modal View Controller
Tom Fan
I os 02
I os 02
信嘉 陳
15 Subclassing UITableViewCell
15 Subclassing UITableViewCell
Tom Fan
12 Camera
12 Camera
Tom Fan
09 UITableView and UITableViewController
09 UITableView and UITableViewController
Tom Fan
06 Subclassing UIView and UIScrollView
06 Subclassing UIView and UIScrollView
Tom Fan
Core data lightweight_migration
Core data lightweight_migration
Michael Pan
Er introduction
Er introduction
Yubei Li
Android应用开发 - 沈大海
Android应用开发 - 沈大海
Shaoning Pan
JQuery Mobile 框架介紹與使用
JQuery Mobile 框架介紹與使用
EZoApp
Uliweb cheat sheet_0.1
Uliweb cheat sheet_0.1
modou li
製作 Unity Plugin for iOS
製作 Unity Plugin for iOS
Johnny Sung
UIKit-Swift
UIKit-Swift
Ryan Chung
掌星 移动互联网开发笔记-Vol001
掌星 移动互联网开发笔记-Vol001
rainx1982
jQuery Mobile
jQuery Mobile
彭其捷 Jack
移动Web开发框架jqm探讨
移动Web开发框架jqm探讨
newker
Developer也可以做出漂亮網站 - Twitter Bootstrap/JQuery Mobile簡介
Developer也可以做出漂亮網站 - Twitter Bootstrap/JQuery Mobile簡介
Fred Lin
Similaire à 005
(20)
I os 09
I os 09
07 View Controllers
07 View Controllers
iOS App 開發 -- Storybard 基礎練習、APP 上架、IAP
iOS App 開發 -- Storybard 基礎練習、APP 上架、IAP
13 UIPopoverController and Modal View Controller
13 UIPopoverController and Modal View Controller
I os 02
I os 02
15 Subclassing UITableViewCell
15 Subclassing UITableViewCell
12 Camera
12 Camera
09 UITableView and UITableViewController
09 UITableView and UITableViewController
06 Subclassing UIView and UIScrollView
06 Subclassing UIView and UIScrollView
Core data lightweight_migration
Core data lightweight_migration
Er introduction
Er introduction
Android应用开发 - 沈大海
Android应用开发 - 沈大海
JQuery Mobile 框架介紹與使用
JQuery Mobile 框架介紹與使用
Uliweb cheat sheet_0.1
Uliweb cheat sheet_0.1
製作 Unity Plugin for iOS
製作 Unity Plugin for iOS
UIKit-Swift
UIKit-Swift
掌星 移动互联网开发笔记-Vol001
掌星 移动互联网开发笔记-Vol001
jQuery Mobile
jQuery Mobile
移动Web开发框架jqm探讨
移动Web开发框架jqm探讨
Developer也可以做出漂亮網站 - Twitter Bootstrap/JQuery Mobile簡介
Developer也可以做出漂亮網站 - Twitter Bootstrap/JQuery Mobile簡介
005
1.
資策會行動開發學院 iPhone/iPad App 設計開發 沈志宗
stronger@mit.com.tw
2.
2012/11/20 iOS 語法基礎
使用者介面綜觀 • TabBar Controller • UIScrollView 應用, 動、 放大、縮小 • 實作結合使用者介面及圖 處理的相片瀏覽程式
3.
Tab Bar Controller
4.
Tab Bar -
UITabBarController
5.
UITabBarController • 選擇被選中的 ViewController
tabBarController selectedViewController • 選擇被選中的 tab 頁籤索引值 tabBarController selectedIndex
6.
UITabBarControllerDelegate 決定某個頁籤是否可以被選上 -(BOOL)tabBarController:(UITabBarController *)tabBarController shouldSelectViewController: (UIViewController
*)viewController 頁籤被選中後會觸發的事件 -(void)tabBarController:(UITabBarController *)tabBarController didSelectViewController: (UIViewController *)viewController 通知代理者頁籤位置即將開始被調整 -(void)tabBarController:(UITabBarController *)tabBarController willBeginCustomizingViewControllers:(NSArray *)viewControllers 通知代理者頁籤位置即將結束調整 -(void)tabBarController:(UITabBarController *)tabBarController willEndCustomizingViewControllers:(NSArray *)viewControllers changed:(BOOL)changed 通知代理者頁籤位置已調整完畢 -(void)tabBarController:(UITabBarController *)tabBarController didEndCustomizingViewControllers:(NSArray *)viewControllers changed:(BOOL)changed
7.
Tab Bar +
Navigation Controllers
8.
實作練習 tabbar1
9.
UIScrollView 應用 動、
放大、縮小
10.
認識 UIScrollView 的
property 與 method frame contentSize contentOffset contentInset minimumZoomScale maximumZoomScale -(UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView -(void)scrollViewDidEndZooming:(UIScrollView *)scrollView withView:(UIView *)view atScale: (float)scale -(void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration
11.
在一般的 UIView 加入
subview subview.frame = ...; [view addSubview:subview];
12.
在一般的 UIView 加入
subview subview.frame = ...; [view addSubview:subview];
13.
在 UIScrollView 加入
subview scrollView.contentSize = CGSizeMake(3000, 2000); subview1.frame = CGRectMake(2700, 100, 120, 180); [view addSubview:subview];
14.
在 UIScrollView 加入
subview scrollView.contentSize = CGSizeMake(3000, 2000); subview2.frame = CGRectMake(50, 100, 2500, 1600); [view addSubview:subview];
15.
在 UIScrollView 加入
subview
16.
在 UIScrollView 加入
subview
17.
在 UIScrollView 加入
subview subview2.frame = CGRectMake(0, 0, 2500, 1600); scrollView.contentSize = CGSizeMake(2500, 1600);
18.
在 UIScrollView 加入
subview CGPoint upperLeftOfVisible = scrollView.contentOffset;
19.
在 UIScrollView 加入
subview scrollView.bounds
20.
在 UIScrollView 加入
subview CGRect visibleRect = [scrollView convertRect:scrollView.bounds toView:subview];
21.
實作練習 ScrollViewDemo
22.
實作練習
ScrollViews 練習 UIPageControl 分頁 UITapGestureRecognizer 手勢
23.
UIImage •
直接載入在 App 內的圖片 UIImage *image = [UIImage imageNamed:@"DSC03027.jpg"]; • 網路載入 NSURL *url = [NSURL URLWithString:@”http://xxx.jpg”]; NSData *data = [NSData dataWithContentsOfURL:url]; image = [[UIImageView alloc] initWithImage: [UIImage imageWithData: data]]; • 模擬器路徑 /Users/username/Library/Application Support/iPhone Simulator • 存到相簿 UIImageWriteToSavedPhotosAlbum(image, self, @selector(image:didFinishSavingWithError:contextInfo:), nil); - (void)image:(UIImage *)image didFinishSavingWithError:(NSError *)error contextInfo: (void *)contextInfo 範例 scroll_enhanced
24.
實作結合使用者介面 圖
處理的相片瀏覽程式
25.
UIImagePickerController •
sourceType UIImagePickerControllerSourceTypePhotoLibrary, //圖庫中的所有資料夾 UIImagePickerControllerSourceTypeCamera, //使用相機拍攝新的照片或影片 UIImagePickerControllerSourceTypeSavedPhotosAlbum //圖庫中的預設資料夾(相機膠 卷) 範例 album, 11.1.4 可檢視相簿圖形(p.11-8)
26.
http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/IconsImages/IconsImages.html
27.
沈志宗 Stronger Shen
(Appletrees) • http://mit.com.tw http://iphone.to • stronger@mit.com.tw shen@iphone.to strongershen@gmail.com
Notes de l'éditeur
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Télécharger maintenant