storyboard InterfaceBuilder     Hiroyuki-Fujikawa.
• Hiroyuki-Fujikawa. (@cqa02303) •                     (    ) • 2008/ iPhone • • Java (1998 )
•
→• iOS 5
Storyboard
••         nib••   WWDC2011    Session309    “Introduction to    Storyboarding”
InitialViewController•   (    )••   [(UIstoryboard*)    instantiateInitialViewCont    roller]•    UIViewController.storyb ...
•   initial   Controller••
UIStoryboardSegue••   Push,Modal,Custom•   iPad
sender1. Segue2.     1.              view     2. controller
Segue1.2. performSegueWithIdentifier: sender:
prepareForSegue:sender:•            controller    • sender    • segue.destinationViewController
performSegueWithIdenti      fier:sender:•    •    • TableView
identifier                Segue•   ViewController   Segue    •   Segue            sender        ViewController
CustomSegue•    •   initWithIdentifier:sou        rce:destination:        •    •   perform        •
RelationShip•    •   Navigation    •   TabBar    →
SegueviewWillAppear
1.   Segue     Exception2.     Segue
Segue• @try   @catch
• User Defined Runtime Attributes •   •      self.segueName   •
1.Facebook GMail   UI
•    •   view        Controller    •        ViewController
• ViewController• WWDC2011 Session102 “Implementing  UIViewController Containment”
ViewController •          ViewController •   View →
View1.                view1     1.           Segue          YO!2.                        view2     1.   view1             ...
Storyboard
demo
• Segue -perform
• transitionFromViewController:...
• didMoveToParentViewController:
• toView•   →
• viewController• view    →open/close
• viewController• view    →open/close
View        VCView          VC
View        VCView          VC
View          VCView            VC         View         VC
View          VCView            VC         View         VC
• controller controller• controller.view view• view
controller                           View          VC•   segue           View            VC                             Vi...
view                                       View          VC•   view.frame                                View            V...
view                          View          VC                   View            VC•   frame                            Vi...
•   view   frame
•      view        frame•    http://ero.movie.coocan.jp/iPhone/    facebookmenu.zip
IB• Static   Cells TableView• Scene• User     Defined Runtime Attributes
Static Cells TableView•        TableView    •   datasource delegate    •   UITableView
Scene•   view        IBOutlet    •   TableHeader/Footer    •   ARC          strong
User Defined Runtime     Attributes•    •   KVO    •   Boolean, Number,        String
User Defined Runtime     Attributes•    •    •   SlideViewController               main nav tab
•   ...
•
storyboard時代のInterfaceBuilder
Upcoming SlideShare
Loading in …5
×

storyboard時代のInterfaceBuilder

8,835 views

Published on

0 Comments
8 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
8,835
On SlideShare
0
From Embeds
0
Number of Embeds
37
Actions
Shares
0
Downloads
54
Comments
0
Likes
8
Embeds 0
No embeds

No notes for slide
  • \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
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • storyboard時代のInterfaceBuilder

    1. 1. storyboard InterfaceBuilder Hiroyuki-Fujikawa.
    2. 2. • Hiroyuki-Fujikawa. (@cqa02303) • ( ) • 2008/ iPhone • • Java (1998 )
    3. 3.
    4. 4. →• iOS 5
    5. 5. Storyboard
    6. 6. •• nib•• WWDC2011 Session309 “Introduction to Storyboarding”
    7. 7. InitialViewController• ( )•• [(UIstoryboard*) instantiateInitialViewCont roller]• UIViewController.storyb oard
    8. 8. • initial Controller••
    9. 9. UIStoryboardSegue•• Push,Modal,Custom• iPad
    10. 10. sender1. Segue2. 1. view 2. controller
    11. 11. Segue1.2. performSegueWithIdentifier: sender:
    12. 12. prepareForSegue:sender:• controller • sender • segue.destinationViewController
    13. 13. performSegueWithIdenti fier:sender:• • • TableView
    14. 14. identifier Segue• ViewController Segue • Segue sender ViewController
    15. 15. CustomSegue• • initWithIdentifier:sou rce:destination: • • perform •
    16. 16. RelationShip• • Navigation • TabBar →
    17. 17. SegueviewWillAppear
    18. 18. 1. Segue Exception2. Segue
    19. 19. Segue• @try @catch
    20. 20. • User Defined Runtime Attributes • • self.segueName •
    21. 21. 1.Facebook GMail UI
    22. 22. • • view Controller • ViewController
    23. 23. • ViewController• WWDC2011 Session102 “Implementing UIViewController Containment”
    24. 24. ViewController • ViewController • View →
    25. 25. View1. view1 1. Segue YO!2. view2 1. view1 & 2. view2
    26. 26. Storyboard
    27. 27. demo
    28. 28. • Segue -perform
    29. 29. • transitionFromViewController:...
    30. 30. • didMoveToParentViewController:
    31. 31. • toView• →
    32. 32. • viewController• view →open/close
    33. 33. • viewController• view →open/close
    34. 34. View VCView VC
    35. 35. View VCView VC
    36. 36. View VCView VC View VC
    37. 37. View VCView VC View VC
    38. 38. • controller controller• controller.view view• view
    39. 39. controller View VC• segue View VC View VC
    40. 40. view View VC• view.frame View VC• view • insertSubview:belo View VC wSubview:
    41. 41. view View VC View VC• frame View VC
    42. 42. • view frame
    43. 43. • view frame• http://ero.movie.coocan.jp/iPhone/ facebookmenu.zip
    44. 44. IB• Static Cells TableView• Scene• User Defined Runtime Attributes
    45. 45. Static Cells TableView• TableView • datasource delegate • UITableView
    46. 46. Scene• view IBOutlet • TableHeader/Footer • ARC strong
    47. 47. User Defined Runtime Attributes• • KVO • Boolean, Number, String
    48. 48. User Defined Runtime Attributes• • • SlideViewController main nav tab
    49. 49. • ...
    50. 50.

    ×