From 1214abe85854ca5e74c33d7f116125cf3579e83e Mon Sep 17 00:00:00 2001 From: Xavi Artigas Date: Tue, 7 May 2013 10:30:31 +0200 Subject: Revamp Tutorial 2 UI to be more iOS-like, to be closer to what the Android one looks like, and to simplify development of next tutorials. --- .../xcode iOS/Tutorial 2/ViewController.h | 4 +- .../en.lproj/MainStoryboard_iPad.storyboard | 110 +++++++-------------- .../en.lproj/MainStoryboard_iPhone.storyboard | 91 ++++++----------- 3 files changed, 67 insertions(+), 138 deletions(-) diff --git a/gst-sdk/tutorials/xcode iOS/Tutorial 2/ViewController.h b/gst-sdk/tutorials/xcode iOS/Tutorial 2/ViewController.h index 38fbe1c..be19276 100644 --- a/gst-sdk/tutorials/xcode iOS/Tutorial 2/ViewController.h +++ b/gst-sdk/tutorials/xcode iOS/Tutorial 2/ViewController.h @@ -3,8 +3,8 @@ @interface ViewController : UIViewController { IBOutlet UILabel *message_label; - IBOutlet UIButton *play_button; - IBOutlet UIButton *pause_button; + IBOutlet UIBarButtonItem *play_button; + IBOutlet UIBarButtonItem *pause_button; } -(IBAction) play:(id)sender; diff --git a/gst-sdk/tutorials/xcode iOS/Tutorial 2/en.lproj/MainStoryboard_iPad.storyboard b/gst-sdk/tutorials/xcode iOS/Tutorial 2/en.lproj/MainStoryboard_iPad.storyboard index 9c834f2..c96f025 100644 --- a/gst-sdk/tutorials/xcode iOS/Tutorial 2/en.lproj/MainStoryboard_iPad.storyboard +++ b/gst-sdk/tutorials/xcode iOS/Tutorial 2/en.lproj/MainStoryboard_iPad.storyboard @@ -1,100 +1,64 @@ - + - + - - + + - - - - - - - - - - - - - - - - - - + + + + - - - - + + + + + + + - - - + + + - + - - - @@ -102,8 +66,8 @@ - - + + diff --git a/gst-sdk/tutorials/xcode iOS/Tutorial 2/en.lproj/MainStoryboard_iPhone.storyboard b/gst-sdk/tutorials/xcode iOS/Tutorial 2/en.lproj/MainStoryboard_iPhone.storyboard index 1ce5fdb..0d14c30 100644 --- a/gst-sdk/tutorials/xcode iOS/Tutorial 2/en.lproj/MainStoryboard_iPhone.storyboard +++ b/gst-sdk/tutorials/xcode iOS/Tutorial 2/en.lproj/MainStoryboard_iPhone.storyboard @@ -12,81 +12,46 @@ - - - - - - - - - - - - - - - - - - + + + + - - - - - + + + + + + - - + + -- cgit v1.2.3