Slide 1

Slide 1 text

WHAT IS IT? WHY Creating In App Common Parts with ChildViewController and Storyboard U @tomohisa 7/21/2012 iPhone_dev_jp

Slide 2

Slide 2 text

LESS CODE, LESS BUGS! Storyboard Graphical UI Design iOS5+ a.k.a. ContainerViewController ChildView Controller iOS5+ W H O AM I ? WHAT IS IT? More programming services apps... WHY? Creating In App Common Parts with ChildViewController and Storyboard Overview ViewContro"er Methods... - viewWillAppear: - viewDidLoad: - viewWillAppear: - didReceiveMemoryWarning - willRotateToInterfaceOrientation:duration ... and so on - will be called!!! Reusable. Can be seen and edit in same storyboard file. Can be put same parts on multiple ViewController. Can design static UITableView for UIViewController Can design page for UISCrollView, UIPageViewController HOW TO USE? Design in Storyboard. Write code in Xcode. Notes. W rapping up... Question? Good time to ... Let's enjoy iOS5 Programming!! See thru full screen parts. Set appropriate size. - Simulated Metrics - Size - Freeform - Resize at Size Navigator Place ViewController anywhere in Storyboard Set identifier!!! Place dummy view. - Optional. 1. Add ChildView 2. Remove ChildView 3. Send / Receive Message - Protocol - Property - viewController.childViewControllers - viewController.parentViewController - Always need to add viewController AND view. - Supported animated transition. - too much view, too slow. Special Thanks: http://www.jtechs.com http://www.nextberry.jp

Slide 3

Slide 3 text

Sto W H O AM I ? More programming services apps...

Slide 4

Slide 4 text

LESS CODE, LESS BUGS! Storyboard Graphical UI Design iOS5+ a.k.a. ContainerViewController ChildView Controller iOS5+ W H O M WHAT IS IT? C i

Slide 5

Slide 5 text

LESS CODE, LESS BUGS! Storyboard Graphical UI Design iOS5+ Cont

Slide 6

Slide 6 text

d iOS5+ a.k.a. ContainerViewController ChildView Controller iOS5+ C

Slide 7

Slide 7 text

a. wController dView Controller iOS5+ IT? WHY? In App Common Parts ewController nd ryboard Overview ViewContro"er Methods... - viewWillAppear: - viewDidLoad: - viewWillAppear: - didReceiveMemoryWarning - willRotateToInterfaceOrientation:duration ... and so on - will be called!!! Reusable. Can be seen and edit in same storyboard file. Can be put same parts on multiple ViewController. Can design static Can design page for See thru full screen parts.

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

HY? ew ViewContro"er Methods... - viewWillAppear: - viewDidLoad: - viewWillAppear: - didReceiveMemoryWarning - willRotateToInterfaceOrientation:duration ... and so on - will be called!!! Reusable. en and edit toryboard e. Can be put same See thru full

Slide 10

Slide 10 text

WHY? ViewContro"er Methods... - didReceiveMemoryWarning - willRotateToInterfaceOrientation:duration ... and so on - will be called!!! Reusable. Can be put same parts on multiple ViewController. Can design static UITableView for UIViewController Can design page for UISCrollView, UIPageViewController See thru full screen parts. Place ViewController

Slide 11

Slide 11 text

Creating In App Common Parts with ChildViewController and Storyboard Reusable. Can be put same parts on multiple ViewController. Can design static UITableView for UIViewController Can design page for UISCrollView, UIPageViewController HOW TO USE? Design in Storyboard. Write code in Xcode. Notes. .. See thru full screen parts. Set appropriate size. - Simulated Metrics - Size - Freeform - Resize at Size Navigator Place ViewController anywhere in Storyboard Set identifier!!! Place dummy view. - Optional. 1. Add ChildView 2. Remove ChildView 3. Send / Receive Message - Protocol - Property - viewController.childViewControllers - viewController.parentViewController - Always need to add viewController AND view. - Supported animated transition. - too much view, too slow.

Slide 12

Slide 12 text

Can design static UITableView for UIViewController Can design page for UISCrollView, UIPageViewController Design in Storyboard. ode in de. Set appropriate size. - Simulated Metrics - Size - Freeform - Resize at Size Navigator Place ViewController anywhere in Storyboard Set identifier!!! Place dummy view. - Optional.

Slide 13

Slide 13 text

Write code in Xcode. Set appro - Simula - Size - Fre - Resize Place du - Option 1. Add ChildView 2. Remove ChildView 3. Send / Receive Message - Protocol - Property - viewController.childViewControllers - viewController.parentViewController .

Slide 14

Slide 14 text

- Freeform - Resize at Size Navigator Place dummy view. - Optional. 1. Add ChildView 2. Remove ChildView

Slide 15

Slide 15 text

U Write code in Xcode. Notes. 1. Add ChildView 2. Remove ChildView 3. Send / Receive Message - Protocol - Property - viewController.childViewControllers - viewController.parentViewController to add r AND view. nimated w, too slow.

Slide 16

Slide 16 text

Write Xc Notes. 3. Send / R Message - Protocol - Property - viewController.c - viewController.p - Always need to add viewController AND view. - Supported animated transition. - too much view, too slow.

Slide 17

Slide 17 text

ps... W rapping up...

Slide 18

Slide 18 text

Good time to ...

Slide 19

Slide 19 text

Let's enjoy iOS5 Programming!!

Slide 20

Slide 20 text

Question? Special Thanks: http://www.jtechs.com http://www.nextberry.jp

Slide 21

Slide 21 text

The End