diff --git a/Make.common b/Make.common
deleted file mode 100644
index 446df052..00000000
--- a/Make.common
+++ /dev/null
@@ -1,49 +0,0 @@
-IOS_SDK_VERSION = 5.1
-
-MONOTOUCH_MONO_PATH = /Developer/MonoTouch/usr/lib/mono/2.1
-MONOTOUCH_VERSION = 1.0
-MONOTOUCH_PREFIX = /Developer/MonoTouch
-MONOTOUCH_SIMULATOR_SDK = $(MONOTOUCH_PREFIX)/SDKs/MonoTouch.iphonesimulator.sdk
-MONOTOUCH_DEVICE_SDK = $(MONOTOUCH_PREFIX)/SDKs/MonoTouch.iphoneos.sdk
-MIBTOOL = $(MONOTOUCH_PREFIX)/usr/bin/mibtool
-MTOUCH = $(MONOTOUCH_PREFIX)/usr/bin/mtouch
-
-all: $(EXTRA_DEPS) simulator/$(APP)
-
-cycle:
- make clean
- make launch
- cat output error
-
-dev: $(EXTRA_DEPS) device/$(APPDIR)
- -mkdir bin
- $(MTOUCH) --sdk=$(IOS_SDK_VERSION) -bundleid com.novell.monotouch.sample.$(EXE) -dev device/$(APPDIR) -c "iPhone Developer: $(DEVNAME)" $(EXE)
- for f in $(DATA); do cp $$f device/$(APPDIR); done
- $(MTOUCH) --sdk=$(IOS_SDK_VERSION) -installdev device/$(APPDIR)
-
-launch: simulator/$(APP)
- -rm -f output error
- $(MTOUCH) --sdk=$(IOS_SDK_VERSION) --launchsim=simulator/$(APPDIR) --stdout=output --stderr=error
-
-debug: simulator/$(APP)
- $(MTOUCH) --sdk=$(IOS_SDK_VERSION) --debugsim=simulator/$(APPDIR) --stdout=output --stderr=error
-
-simulator/$(APP): simulator/$(APPDIR) $(EXE) $(MTOUCH)
- $(MTOUCH) --sdk=$(IOS_SDK_VERSION) -bundleid com.novell.monotouch.sample.$(EXE) $(MFLAGS) -sim simulator/$(APPDIR) $(EXE)
- for f in $(DATA); do cp $$f simulator/$(APPDIR); done
-
-simulator/$(APPDIR):
- mkdir -p simulator/$(APPDIR)
-
-device/$(APPDIR):
- mkdir -p device/$(APPDIR)
-
-main.m: $(EXE) $(MTOUCH)
- $(MTOUCH) --sdk=$(IOS_SDK_VERSION) -v $(EXE)
-
-$(EXE): $(SOURCES)
- mkdir -p bin
- /Developer/MonoTouch/usr/bin/smcs $(SOURCES) -debug -r:monotouch.dll $(REFS) -out:$(EXE)
-
-clean:
- -rm -rf $(EXE) $(APPDIR) device simulator $(GENERATED)
diff --git a/MonoCatalogSample/Makefile b/MonoCatalogSample/Makefile
deleted file mode 100644
index 412b01b9..00000000
--- a/MonoCatalogSample/Makefile
+++ /dev/null
@@ -1,81 +0,0 @@
-APPDIR = MonoCatalog.app
-EXE = bin/monocatalog.exe
-APP = $(APPDIR)/monocatalog
-
-CSFILES = \
- addressbook.cs \
- alert.cs \
- buttons.cs \
- controls.cs \
- images.cs \
- monocatalog.cs \
- picker.cs \
- pickercustom.cs \
- searchbar.cs \
- segment.cs \
- textfield.cs \
- textview.cs \
- toolbar.cs \
- transition.cs \
- web.cs
-
-IMAGES = \
- images/whiteButton.png \
- images/blueButton.png \
- images/UIButton_custom.png \
- images/segment_check.png \
- images/slider_ball.png \
- images/yellowslide.png \
- images/orangeslide.png \
- images/12-6AM.png \
- images/6-12AM.png \
- images/12-6PM.png \
- images/6-12PM.png \
- images/scene1.jpg \
- images/scene2.jpg \
- images/scene3.jpg \
- images/scene4.jpg \
- images/scene5.jpg \
- images/segment_search.png \
- images/segment_tools.png \
- images/Icon.png
-
-XIBS = \
- xibs/MainWindow.xib \
- xibs/AddressBookController.xib \
- xibs/AlertsViewController.xib \
- xibs/ButtonsViewController.xib \
- xibs/ControlsViewController.xib \
- xibs/ImagesViewController.xib \
- xibs/PickerViewController.xib \
- xibs/SearchBarController.xib \
- xibs/SegmentViewController.xib \
- xibs/TextFieldController.xib \
- xibs/TextViewController.xib \
- xibs/ToolbarViewController.xib \
- xibs/TransitionViewController.xib \
- xibs/WebViewController.xib
-
-NIBS = $(addsuffix .nib, $(basename $(XIBS)))
-
-GENERATED = $(addsuffix .designer.cs, $(XIBS))
-
-EXTRA_DEPS = $(IMAGES) \
- $(NIBS)
-
-DATA = $(EXTRA_DEPS)
-SOURCES = $(CSFILES) $(GENERATED)
-MFLAGS=-icon=Icon.png -bundleid=com.mono-project.monocatalog
-
-xibs/%.nib: xibs/%.xib
- ibtool $< --compile $@
-
-xibs/%.xib.designer.cs: xibs/%.xib
- $(MIBTOOL) $^
-
-include ../Make.common
-
-xcodeproj:
- -mkdir -p xcode/MonoCatalog
- -mkdir bin
- $(MTOUCH) -nostrip -v -icon=Icon.png -bundleid=com.mono-project.monocatalog -xcode xcode/MonoCatalog -res:xibs/AlertsViewController.xib -res:xibs/ImagesViewController.xib -res=xibs/SearchBarController.xib -res=xibs/TextViewController.xib -res=xibs/WebViewController.xib -res=xibs/ButtonsViewController.xib -res=xibs/MainWindow.xib -res=xibs/SegmentViewController.xib -res=xibs/ToolbarViewController.xib -res=xibs/ControlsViewController.xib -res=xibs/PickerViewController.xib -res=xibs/TextFieldController.xib -res=xibs/TransitionViewController.xib -res=images/12-6AM.png -res=images/6-12PM.png -res=images/blueButton.png -res=images/scene2.jpg -res=images/scene5.jpg -res=images/segment_tools.png -res=images/yellowslide.png -res=images/12-6PM.png -res=images/Icon.png -res=images/orangeslide.png -res=images/scene3.jpg -res=images/segment_check.png -res=images/slider_ball.png -res=images/6-12AM.png -res=images/UIButton_custom.png -res=images/scene1.jpg -res=images/scene4.jpg -res=images/segment_search.png -res=images/whiteButton.png $(EXE) -res=xibs/AddressBookController.xib
diff --git a/MonoCatalogSample/README.md b/MonoCatalogSample/README.md
deleted file mode 100644
index 9056bf1b..00000000
--- a/MonoCatalogSample/README.md
+++ /dev/null
@@ -1,21 +0,0 @@
-Mono Catalog Sample
-===================
-
-This is an all-in-one sample demonstrating various user interface
-elements, such as the address book, alerts, buttons, images, pickers,
-search bars, text fields/views, toolbars, transitions, and web views.
-
-
-How to build
-============
-
-From a terminal windows simply do:
-
-$ make
-
-to build the application. To launch it inside the iOS simulator do:
-
-$ make launch
-
-If you're not using the iOS 5.1 SDK then you need to edit the
-IOS_SDK_VERSION variable inside the ../Make.common file.
\ No newline at end of file
diff --git a/MonoCatalogSample/addressbook.cs b/MonoCatalogSample/addressbook.cs
deleted file mode 100644
index 6fb758f0..00000000
--- a/MonoCatalogSample/addressbook.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-//
-// AddressBook sample in C#.
-//
-
-using System;
-
-using MonoTouch.AddressBook;
-using MonoTouch.AddressBookUI;
-using MonoTouch.Foundation;
-using MonoTouch.UIKit;
-
-public partial class AddressBookController : UIViewController {
-
- public AddressBookController () : base ("AddressBookController", null)
- {
- }
-
- public override void ViewDidLoad ()
- {
- }
-
- public override void ViewWillAppear (bool animated)
- {
- }
-
- public override void ViewWillDisappear (bool animated)
- {
- }
-
- partial void showPicker (MonoTouch.UIKit.UIButton sender)
- {
- Console.Error.WriteLine ("# Select Contacts pushed!");
- using (var p = new ABPeoplePickerNavigationController ()) {
- p.SelectPerson += (o, e) => {
- Console.Error.WriteLine ("# select Person: {0}", e.Person);
- toString.Text = e.Person.ToString ();
- firstName.Text = e.Person.FirstName;
- lastName.Text = e.Person.LastName;
- property.Text = "";
- identifier.Text = "";
- e.Continue = selectProperty.On;
- if (!e.Continue)
- DismissModalViewControllerAnimated (true);
- };
- p.PerformAction += (o, e) => {
- Console.Error.WriteLine ("# perform action; person={0}", e.Person);
- toString.Text = e.Person.ToString ();
- firstName.Text = e.Person.FirstName;
- lastName.Text = e.Person.LastName;
- property.Text = e.Property.ToString ();
- identifier.Text = e.Identifier.HasValue ? e.Identifier.ToString () : "";
- e.Continue = performAction.On;
- if (!e.Continue)
- DismissModalViewControllerAnimated (true);
- };
- p.Cancelled += (o, e) => {
- Console.Error.WriteLine ("# select Person cancelled.");
- toString.Text = "Cancelled";
- firstName.Text = "";
- lastName.Text = "";
- property.Text = "";
- identifier.Text = "";
- DismissModalViewControllerAnimated (true);
- };
- PresentModalViewController (p, true);
- }
- }
-}
-
diff --git a/MonoCatalogSample/alert.cs b/MonoCatalogSample/alert.cs
deleted file mode 100644
index ed956aef..00000000
--- a/MonoCatalogSample/alert.cs
+++ /dev/null
@@ -1,202 +0,0 @@
-//
-// Alerts sample in C#
-//
-
-using System;
-using MonoTouch.UIKit;
-using MonoTouch.Foundation;
-using System.Drawing;
-
-public partial class AlertsViewController : UITableViewController {
-
- // Load our definition from the NIB file
- public AlertsViewController () : base ("AlertsViewController", null)
- {
- }
-
- struct AlertSample {
- public string Title, Label, Source;
-
- public AlertSample (string t, string l, string s)
- {
- Title = t;
- Label = l;
- Source = s;
- }
- }
-
- static AlertSample [] samples;
-
- static AlertsViewController ()
- {
- samples = new AlertSample [] {
- new AlertSample ("UIActionSheet", "Show simple", "alert.cs: DialogSimpleAction ()"),
- new AlertSample ("UIActionSheet", "Show OK Cancel", "alert.cs: DialogOkCancelAction ()"),
- new AlertSample ("UIActionSheet", "Show Customized", "alert.cs: DialogOtherAction ()"),
- new AlertSample ("UIAlertView", "Show simple", "alert.cs: AlertSimpleAction ()"),
- new AlertSample ("UIAlertView", "Show OK Cancel", "alert.cs: AlertOkCancelAction ()"),
- new AlertSample ("UIAlertView", "Show Customized ", "alert.cs: AlertOtherAction ()"),
- };
- }
-
- public override void ViewDidLoad ()
- {
- base.ViewDidLoad ();
- Title = "Alerts";
-
- TableView.DataSource = new DataSource ();
- TableView.Delegate = new TableDelegate (this);
- }
-
- void DialogSimpleAction ()
- {
- var actionSheet = new UIActionSheet ("UIActionSheet
", null, null, "OK", null){
- Style = UIActionSheetStyle.Default
- };
- actionSheet.Clicked += delegate (object sender, UIButtonEventArgs args){
- Console.WriteLine ("Clicked on item {0}", args.ButtonIndex);
- };
-
- actionSheet.ShowInView (View);
- }
-
- void DialogOkCancelAction ()
- {
- var actionSheet = new UIActionSheet ("UIActionSheet ", null, "Cancel", "OK", null){
- Style = UIActionSheetStyle.Default
- };
- actionSheet.Clicked += delegate (object sender, UIButtonEventArgs args){
- Console.WriteLine ("Clicked on item {0}", args.ButtonIndex);
- };
-
- actionSheet.ShowInView (View);
- }
-
- void DialogOtherAction ()
- {
- var actionSheet = new UIActionSheet ("UIActionSheet ", null, "Cancel", "OK", "Other1"){
- Style = UIActionSheetStyle.Default
- };
- actionSheet.Clicked += delegate (object sender, UIButtonEventArgs args){
- Console.WriteLine ("Clicked on item {0}", args.ButtonIndex);
- };
-
- actionSheet.ShowInView (View);
- }
-
- void AlertSimpleAction ()
- {
- using (var alert = new UIAlertView ("UIAlertView", "", null, "OK", null))
- alert.Show ();
- }
-
- void AlertOkCancelAction ()
- {
- using (var alert = new UIAlertView ("UIAlertView", "", null, "Cancel", "OK"))
- alert.Show ();
- }
-
- void AlertOtherAction ()
- {
- using (var alert = new UIAlertView ("UIAlertView", "", null, "Cancel", "Button1", "Button2"))
- alert.Show ();
-
- }
-
-#region Delegates for the table
- class DataSource : UITableViewDataSource {
- static NSString kDisplayCell_ID = new NSString ("AlertCellID");
- static NSString kSourceCell_ID = new NSString ("SourceCellID");
-
- public override int NumberOfSections (UITableView tableView)
- {
- return samples.Length;
- }
-
- public override string TitleForHeader (UITableView tableView, int section)
- {
- return samples [section].Title;
- }
-
- public override int RowsInSection (UITableView tableView, int section)
- {
- return 2;
- }
-
- public override UITableViewCell GetCell (UITableView tableView, NSIndexPath indexPath)
- {
- UITableViewCell cell;
-
- if (indexPath.Row == 0){
- cell = tableView.DequeueReusableCell (kDisplayCell_ID);
- if (cell == null)
- cell = new UITableViewCell (UITableViewCellStyle.Default, kDisplayCell_ID);
- cell.TextLabel.Text = samples [indexPath.Section].Label;
- } else {
- cell = tableView.DequeueReusableCell (kSourceCell_ID);
- if (cell == null){
- cell = new UITableViewCell (UITableViewCellStyle.Default, kSourceCell_ID){
- SelectionStyle = UITableViewCellSelectionStyle.None
- };
- var label = cell.TextLabel;
- label.Opaque = false;
- label.TextAlignment = UITextAlignment.Center;
- label.TextColor = UIColor.Gray;
- label.Lines = 2;
- label.Font = UIFont.SystemFontOfSize (12f);
- }
- cell.TextLabel.Text = samples [indexPath.Section].Source;
- }
-
- return cell;
- }
- }
-
- class TableDelegate : UITableViewDelegate {
- AlertsViewController avc;
-
- public TableDelegate (AlertsViewController avc)
- {
- this.avc = avc;
- }
-
- public override float GetHeightForRow (UITableView tableView, NSIndexPath indexPath)
- {
- return indexPath.Row == 0 ? 50f : 22f;
- }
-
- public override void RowSelected (UITableView tableView, NSIndexPath indexPath)
- {
- // deselect current row
- tableView.DeselectRow (tableView.IndexPathForSelectedRow, true);
-
- if (indexPath.Row == 0){
- switch (indexPath.Section){
- case 0:
- avc.DialogSimpleAction ();
- break;
- case 1:
- avc.DialogOkCancelAction ();
- break;
-
- case 2:
- avc.DialogOtherAction ();
- break;
-
- case 3:
- avc.AlertSimpleAction ();
- break;
-
- case 4:
- avc.AlertOkCancelAction ();
- break;
-
- case 5:
- avc.AlertOtherAction ();
- break;
- }
- }
- }
- }
-#endregion
-}
diff --git a/MonoCatalogSample/buttons.cs b/MonoCatalogSample/buttons.cs
deleted file mode 100644
index b732b4b3..00000000
--- a/MonoCatalogSample/buttons.cs
+++ /dev/null
@@ -1,246 +0,0 @@
-//
-// Button sample in C#v
-//
-
-using System;
-using MonoTouch.UIKit;
-using MonoTouch.Foundation;
-using System.Drawing;
-
-public partial class ButtonsViewController : UITableViewController {
-
- //
- // This datasource describes how the UITableView should render the
- // contents. We have a number of sections determined by the
- // samples in our container class, and 2 rows per section:
- //
- // Row 0: the actual styled button
- // Row 1: the text information about the button
- //
- class DataSource : UITableViewDataSource {
- ButtonsViewController bvc;
- static NSString kDisplayCell_ID = new NSString ("DisplayCellID");
- static NSString kSourceCell_ID = new NSString ("SourceCellID");
-
- public DataSource (ButtonsViewController bvc)
- {
- this.bvc = bvc;
- }
-
- public override int NumberOfSections (UITableView tableView)
- {
- return bvc.samples.Length;
- }
-
- public override string TitleForHeader (UITableView tableView, int section)
- {
- return bvc.samples [section].Title;
- }
-
- public override int RowsInSection (UITableView tableView, int section)
- {
- return 2;
- }
-
- public override UITableViewCell GetCell (UITableView tableView, NSIndexPath indexPath)
- {
- UITableViewCell cell;
-
- if (indexPath.Row == 0){
- cell = tableView.DequeueReusableCell (kDisplayCell_ID);
- if (cell == null){
- cell = new UITableViewCell (UITableViewCellStyle.Default, kDisplayCell_ID);
- cell.SelectionStyle = UITableViewCellSelectionStyle.None;
- } else {
- // The cell is being recycled, remove the old content
-
- UIView viewToRemove = cell.ContentView.ViewWithTag (kViewTag);
- if (viewToRemove != null)
- viewToRemove.RemoveFromSuperview ();
- }
- cell.TextLabel.Text = bvc.samples [indexPath.Section].Label;
- cell.ContentView.AddSubview (bvc.samples [indexPath.Section].Button);
- } else {
- cell = tableView.DequeueReusableCell (kSourceCell_ID);
- if (cell == null){
- // Construct the cell with reusability (the second argument is not null)
- cell = new UITableViewCell (UITableViewCellStyle.Default, kSourceCell_ID);
- cell.SelectionStyle = UITableViewCellSelectionStyle.None;
- var label = cell.TextLabel;
-
- label.Opaque = false;
- label.TextAlignment = UITextAlignment.Center;
- label.TextColor = UIColor.Gray;
- label.Lines = 2;
- label.HighlightedTextColor = UIColor.Black;
- label.Font = UIFont.SystemFontOfSize (12f);
- }
- cell.TextLabel.Text = bvc.samples [indexPath.Section].Source;
- }
-
- return cell;
- }
- }
-
- class TableDelegate : UITableViewDelegate {
- //
- // Override to provide the sizing of the rows in our table
- //
- public override float GetHeightForRow (UITableView tableView, NSIndexPath indexPath)
- {
- // First row is always 50 pixes, second row 38
- return indexPath.Row == 0 ? 50f : 38f;
- }
- }
-
- // Load our definition from the NIB file
- public ButtonsViewController () : base ("ButtonsViewController", null)
- {
- }
-
- // For tagging our embedded controls at cell recylce time.
- const int kViewTag = 1;
-
- //
- // Utility function that configures the various buttons that we create
- //
- static UIButton ButtonWithTitle (string title, RectangleF frame, UIImage image, UIImage imagePressed, bool darkTextColor)
- {
- var button = new UIButton (frame) {
- VerticalAlignment = UIControlContentVerticalAlignment.Center,
- HorizontalAlignment = UIControlContentHorizontalAlignment.Center,
- BackgroundColor = UIColor.Clear
- };
-
- button.SetTitle (title, UIControlState.Normal);
- if (darkTextColor)
- button.SetTitleColor (UIColor.Black, UIControlState.Normal);
- else
- button.SetTitleColor (UIColor.White, UIControlState.Normal);
-
- var newImage = image.StretchableImage (12, 0);
- button.SetBackgroundImage (newImage, UIControlState.Normal);
- var newPressedImage = image.StretchableImage (12, 0);
- button.SetBackgroundImage (newPressedImage, UIControlState.Highlighted);
-
- button.Tag = kViewTag; // To support reusable cells
-
- button.TouchDown += delegate {
- Console.WriteLine ("The button has been touched");
- };
-
- return button;
- }
-
- UIButton GrayButton ()
- {
- var background = UIImage.FromFile ("whiteButton.png");
- var backgroundPressed = UIImage.FromFile ("blueButton.png");
- var frame = new RectangleF (182f, 5f, 106f, 40f);
-
- return ButtonWithTitle ("Gray", frame, background, backgroundPressed, true);
- }
-
- UIButton ImageButton ()
- {
- var background = UIImage.FromFile ("whiteButton.png");
- var backgroundPressed = UIImage.FromFile ("blueButton.png");
- var frame = new RectangleF (182f, 5f, 106f, 40f);
-
- var button = ButtonWithTitle ("", frame, background, backgroundPressed, true);
-
- button.SetImage (UIImage.FromFile ("UIButton_custom.png"), UIControlState.Normal);
- return button;
- }
-
- UIButton RoundedButtonType ()
- {
- var button = UIButton.FromType (UIButtonType.RoundedRect);
- button.Frame = new RectangleF (182f, 5f, 106f, 40f);
- button.BackgroundColor = UIColor.Clear;
- button.SetTitle ("Rounded", UIControlState.Normal);
-
- button.Tag = kViewTag; // To support reusable cells
- return button;
- }
-
- UIButton DetailDisclosureButton ()
- {
- var button = UIButton.FromType (UIButtonType.DetailDisclosure);
- button.Frame = new RectangleF (250f, 8f, 25f, 25f);
- button.BackgroundColor = UIColor.Clear;
- button.SetTitle ("Detail Disclosure", UIControlState.Normal);
-
- button.Tag = kViewTag; // To support reusable cells
- return button;
- }
-
- UIButton InfoDarkButtonType ()
- {
- var button = UIButton.FromType (UIButtonType.InfoDark);
- button.Frame = new RectangleF (250, 8f, 25f, 25f);
- button.BackgroundColor = UIColor.Clear;
- button.SetTitle ("Detail Disclosure", UIControlState.Normal);
-
- button.Tag = kViewTag; // To support reusable cells
- return button;
- }
-
- UIButton InfoLightButtonType ()
- {
- var button = UIButton.FromType (UIButtonType.InfoLight);
- button.Frame = new RectangleF (250, 8f, 25f, 25f);
- button.BackgroundColor = UIColor.Gray;
- button.SetTitle ("Detail Disclosure", UIControlState.Normal);
-
- button.Tag = kViewTag; // To support reusable cells
- return button;
- }
-
- UIButton ContactAddButtonType ()
- {
- var button = UIButton.FromType (UIButtonType.ContactAdd);
- button.Frame = new RectangleF (250, 8f, 25f, 25f);
- button.BackgroundColor = UIColor.Clear;
- button.SetTitle ("Detail Disclosure", UIControlState.Normal);
-
- button.Tag = kViewTag; // To support reusable cells
- return button;
- }
-
- struct ButtonSample {
- public string Title, Label, Source;
- public UIButton Button;
-
- public ButtonSample (string t, string l, string s, UIButton b)
- {
- Title = t;
- Label = l;
- Source = s;
- Button = b;
- }
- }
-
- ButtonSample [] samples;
-
- public override void ViewDidLoad ()
- {
- Console.WriteLine ("Buttons: View Did Load - FIrst");
- base.ViewDidLoad ();
- Title = "Buttons";
-
- samples = new ButtonSample [] {
- new ButtonSample ("UIButton", "Background image", "buttons.cs:\rUIButton GrayButton ()", GrayButton ()),
- new ButtonSample ("UIButton", "Button with image", "buttons.cs:\rUIButton ImageButton ()", ImageButton ()),
- new ButtonSample ("UIButtonRoundedRect", "Rounded Button", "buttons.cs:\rUIButton RoundedButtonType ()", RoundedButtonType ()),
- new ButtonSample ("UIButtonTypeDetailDisclosure", "Detail disclosure", "buttons.cs:\rUIButton DetailDisclosureButton ()", DetailDisclosureButton ()),
- new ButtonSample ("UIButtonTypeInfoLight", "Info light", "buttons.cs:\rUIButton InfoLightButtonType ()", InfoLightButtonType ()),
- new ButtonSample ("UIButtonTypeInfoDark", "Info dark", "buttons.cs:\rUIButton InfoLightButtonType ()", InfoDarkButtonType ()),
- new ButtonSample ("UIButtonTypeContactAdd", "Contact Add", "buttons.cs:\rUIButton ContactAddButtonType ()", ContactAddButtonType ())
- };
-
- TableView.DataSource = new DataSource (this);
- TableView.Delegate = new TableDelegate ();
- }
-
-}
diff --git a/MonoCatalogSample/controls.cs b/MonoCatalogSample/controls.cs
deleted file mode 100644
index 05f0b5ce..00000000
--- a/MonoCatalogSample/controls.cs
+++ /dev/null
@@ -1,230 +0,0 @@
-//
-// Controls sample in C#
-//
-
-using System;
-using MonoTouch.UIKit;
-using MonoTouch.Foundation;
-using System.Drawing;
-
-public partial class ControlsViewController : UITableViewController {
-
- //
- // This datasource describes how the UITableView should render the
- // contents. We have a number of sections determined by the
- // samples in our container class, and 2 rows per section:
- //
- // Row 0: the actual styled button
- // Row 1: the text information about the button
- //
- class DataSource : UITableViewDataSource {
- ControlsViewController cvc;
- static NSString kDisplayCell_ID = new NSString ("DisplayCellID");
- static NSString kSourceCell_ID = new NSString ("SourceCellID");
-
- public DataSource (ControlsViewController cvc)
- {
- this.cvc = cvc;
- }
-
- public override int NumberOfSections (UITableView tableView)
- {
- return cvc.samples.Length;
- }
-
- public override string TitleForHeader (UITableView tableView, int section)
- {
- return cvc.samples [section].Title;
- }
-
- public override int RowsInSection (UITableView tableView, int section)
- {
- return 2;
- }
-
- public override UITableViewCell GetCell (UITableView tableView, NSIndexPath indexPath)
- {
- UITableViewCell cell;
-
- if (indexPath.Row == 0){
- cell = tableView.DequeueReusableCell (kDisplayCell_ID);
- if (cell == null){
- cell = new UITableViewCell (UITableViewCellStyle.Default, kDisplayCell_ID);
- cell.SelectionStyle = UITableViewCellSelectionStyle.None;
- } else {
- // The cell is being recycled, remove the old content
-
- UIView viewToRemove = cell.ContentView.ViewWithTag (kViewTag);
- if (viewToRemove != null)
- viewToRemove.RemoveFromSuperview ();
- }
- cell.TextLabel.Text = cvc.samples [indexPath.Section].Label;
- cell.ContentView.AddSubview (cvc.samples [indexPath.Section].Control);
- } else {
- cell = tableView.DequeueReusableCell (kSourceCell_ID);
- if (cell == null){
- // Construct the cell with reusability (the second argument is not null)
- cell = new UITableViewCell (UITableViewCellStyle.Default, kSourceCell_ID);
- cell.SelectionStyle = UITableViewCellSelectionStyle.None;
- var label = cell.TextLabel;
-
- label.Opaque = false;
- label.TextAlignment = UITextAlignment.Center;
- label.TextColor = UIColor.Gray;
- label.Lines = 2;
- label.HighlightedTextColor = UIColor.Black;
- label.Font = UIFont.SystemFontOfSize (12f);
- }
- cell.TextLabel.Text = cvc.samples [indexPath.Section].Source;
- }
-
- return cell;
- }
- }
-
- class TableDelegate : UITableViewDelegate {
- public override float GetHeightForRow (UITableView tableView, NSIndexPath indexPath)
- {
- // First row is always 50 pixes, second row 38
- return indexPath.Row == 0 ? 50f : 38f;
- }
- }
-
- // Load our definition from the NIB file
- public ControlsViewController () : base ("ControlsViewController", null)
- {
- }
-
- // For tagging our embedded controls at cell recylce time.
- const int kViewTag = 1;
-
- UIControl SwitchControl ()
- {
- var sw = new UISwitch (new RectangleF (198f, 12f, 94f, 27f)){
- BackgroundColor = UIColor.Clear,
- Tag = kViewTag
- };
- sw.ValueChanged += delegate {
- // The enum variant causes a full-aot crash
- Console.WriteLine ("New state: {0}", (int) sw.State);
- };
- return sw;
- }
-
- UIControl SliderControl ()
- {
- var slider = new UISlider (new RectangleF (174f, 12f, 120f, 7f)){
- BackgroundColor = UIColor.Clear,
- MinValue = 0f,
- MaxValue = 100f,
- Continuous = true,
- Value = 50f,
- Tag = kViewTag
- };
- slider.ValueChanged += delegate {
- Console.WriteLine ("New value {0}", slider.Value);
- };
- return slider;
- }
-
- UIControl CustomSliderControl ()
- {
- var cslider = new UISlider (new RectangleF (174f, 12f, 120f, 7f)){
- BackgroundColor = UIColor.Clear,
- MinValue = 0f,
- MaxValue = 100f,
- Continuous = true,
- Value = 50f,
- Tag = kViewTag
- };
-
- var left = UIImage.FromFile ("orangeslide.png");
- left = left.StretchableImage (10, 0);
- var right = UIImage.FromFile ("yellowslide.png");
- right = right.StretchableImage (10, 0);
-
- cslider.SetThumbImage (UIImage.FromFile ("slider_ball.png"), UIControlState.Normal);
- cslider.SetMinTrackImage (left, UIControlState.Normal);
- cslider.SetMaxTrackImage (right, UIControlState.Normal);
-
- cslider.ValueChanged += delegate {
- Console.WriteLine ("New value {0}", cslider.Value);
- };
- return cslider;
- }
-
- UIControl PageControl ()
- {
- var page = new UIPageControl (new RectangleF (120f, 14f, 178f, 20f)){
- BackgroundColor = UIColor.Gray,
- Pages = 10,
- Tag = kViewTag
- };
-
- page.TouchUpInside += delegate {
- Console.WriteLine ("Current page: {0}", page.CurrentPage);
- };
-
- return page;
- }
-
- UIView ProgressIndicator ()
- {
- var pind = new UIActivityIndicatorView (new RectangleF (265f, 12f, 40f, 40f)){
- ActivityIndicatorViewStyle = UIActivityIndicatorViewStyle.Gray,
- AutoresizingMask = UIViewAutoresizing.FlexibleLeftMargin |
- UIViewAutoresizing.FlexibleRightMargin |
- UIViewAutoresizing.FlexibleTopMargin |
- UIViewAutoresizing.FlexibleBottomMargin,
- Tag = kViewTag
- };
-
- pind.StartAnimating ();
- pind.SizeToFit ();
-
- return pind;
- }
-
- UIView ProgressBar ()
- {
- return new UIProgressView (new RectangleF (126f, 20f, 160f, 24f)){
- Style = UIProgressViewStyle.Default,
- Progress = 0.5f,
- Tag = kViewTag
- };
- }
-
- struct ControlSample {
- public string Title, Label, Source;
- public UIView Control;
-
- public ControlSample (string t, string l, string s, UIView c)
- {
- Title = t;
- Label = l;
- Source = s;
- Control = c;
- }
- }
-
- ControlSample [] samples;
-
- public override void ViewDidLoad ()
- {
- base.ViewDidLoad ();
- Title = "Controls";
-
- samples = new ControlSample [] {
- new ControlSample ("UISwitch", "Standard Switch", "controls.cs: SwitchControl ()", SwitchControl ()),
- new ControlSample ("UISlider", "Standard Slider", "controls.cs: SliderControl ()", SliderControl ()),
- new ControlSample ("UISlider", "Customized Slider", "controls.cs: CustomSliderControl ()", CustomSliderControl ()),
- new ControlSample ("UIPageControl", "Ten Pages", "controls.cs: PageControl ()", PageControl ()),
- new ControlSample ("UIActivityIndicatorView", "Style Gray", "controls.cs: ProgressIndicator ()", ProgressIndicator ()),
- new ControlSample ("UIProgressView", "Style Default", "controls.cs: ProgressBar ()", ProgressBar ()),
- };
-
- TableView.DataSource = new DataSource (this);
- TableView.Delegate = new TableDelegate ();
- }
-
-}
diff --git a/MonoCatalogSample/images.cs b/MonoCatalogSample/images.cs
deleted file mode 100644
index 07752641..00000000
--- a/MonoCatalogSample/images.cs
+++ /dev/null
@@ -1,65 +0,0 @@
-//
-// Images sample port to C#/MonoTouch
-//
-using System;
-using MonoTouch.UIKit;
-using MonoTouch.Foundation;
-
-public partial class ImagesViewController : UIViewController {
-
- // Loads the inteface from the NIB file.
- public ImagesViewController () : base ("ImagesViewController", null)
- {
- }
-
- public override void ViewDidLoad ()
- {
- base.ViewDidLoad ();
- Title = "Images";
-
- imageView.AnimationImages = new UIImage [] {
- UIImage.FromFile ("scene1.jpg"),
- UIImage.FromFile ("scene2.jpg"),
- UIImage.FromFile ("scene3.jpg"),
- UIImage.FromFile ("scene4.jpg"),
- UIImage.FromFile ("scene5.jpg")
- };
- imageView.AnimationDuration = 5;
- imageView.StopAnimating ();
- }
-
- //
- // Try to clean up resources to assist the GC, this is called
- // in response to low-memory conditions
- //
- public override void ViewDidUnload ()
- {
- base.ViewDidUnload ();
- imageView = null;
- slider = null;
- }
-
- partial void sliderAction (UISlider sender)
- {
- imageView.AnimationDuration = sender.Value;
- if (!imageView.IsAnimating)
- imageView.StartAnimating ();
- }
-
- public override void ViewWillDisappear (bool animated)
- {
- imageView.StopAnimating ();
- NavigationController.NavigationBar.BarStyle = UIBarStyle.Default;
- UIApplication.SharedApplication.StatusBarStyle = UIStatusBarStyle.Default;
- }
-
- public override void ViewWillAppear (bool animated)
- {
- imageView.StartAnimating ();
-
- // for aesthetic reasons (the background is black), make the nav bar black for this particular page
- NavigationController.NavigationBar.BarStyle = UIBarStyle.Black;
- UIApplication.SharedApplication.StatusBarStyle = UIStatusBarStyle.BlackOpaque;
- }
-
-}
diff --git a/MonoCatalogSample/images/12-6AM.png b/MonoCatalogSample/images/12-6AM.png
deleted file mode 100755
index c7b411e1..00000000
Binary files a/MonoCatalogSample/images/12-6AM.png and /dev/null differ
diff --git a/MonoCatalogSample/images/12-6PM.png b/MonoCatalogSample/images/12-6PM.png
deleted file mode 100755
index c5443400..00000000
Binary files a/MonoCatalogSample/images/12-6PM.png and /dev/null differ
diff --git a/MonoCatalogSample/images/6-12AM.png b/MonoCatalogSample/images/6-12AM.png
deleted file mode 100755
index 77f5a506..00000000
Binary files a/MonoCatalogSample/images/6-12AM.png and /dev/null differ
diff --git a/MonoCatalogSample/images/6-12PM.png b/MonoCatalogSample/images/6-12PM.png
deleted file mode 100755
index a77859e3..00000000
Binary files a/MonoCatalogSample/images/6-12PM.png and /dev/null differ
diff --git a/MonoCatalogSample/images/Icon.png b/MonoCatalogSample/images/Icon.png
deleted file mode 100755
index 2476e1e2..00000000
Binary files a/MonoCatalogSample/images/Icon.png and /dev/null differ
diff --git a/MonoCatalogSample/images/UIButton_custom.png b/MonoCatalogSample/images/UIButton_custom.png
deleted file mode 100644
index dfe44114..00000000
Binary files a/MonoCatalogSample/images/UIButton_custom.png and /dev/null differ
diff --git a/MonoCatalogSample/images/blueButton.png b/MonoCatalogSample/images/blueButton.png
deleted file mode 100644
index 0cfbee11..00000000
Binary files a/MonoCatalogSample/images/blueButton.png and /dev/null differ
diff --git a/MonoCatalogSample/images/orangeslide.png b/MonoCatalogSample/images/orangeslide.png
deleted file mode 100755
index 30cf4cbd..00000000
Binary files a/MonoCatalogSample/images/orangeslide.png and /dev/null differ
diff --git a/MonoCatalogSample/images/scene1.jpg b/MonoCatalogSample/images/scene1.jpg
deleted file mode 100755
index 532f73a2..00000000
Binary files a/MonoCatalogSample/images/scene1.jpg and /dev/null differ
diff --git a/MonoCatalogSample/images/scene2.jpg b/MonoCatalogSample/images/scene2.jpg
deleted file mode 100755
index 50aa81eb..00000000
Binary files a/MonoCatalogSample/images/scene2.jpg and /dev/null differ
diff --git a/MonoCatalogSample/images/scene3.jpg b/MonoCatalogSample/images/scene3.jpg
deleted file mode 100755
index ec308060..00000000
Binary files a/MonoCatalogSample/images/scene3.jpg and /dev/null differ
diff --git a/MonoCatalogSample/images/scene4.jpg b/MonoCatalogSample/images/scene4.jpg
deleted file mode 100755
index 5b8c91c4..00000000
Binary files a/MonoCatalogSample/images/scene4.jpg and /dev/null differ
diff --git a/MonoCatalogSample/images/scene5.jpg b/MonoCatalogSample/images/scene5.jpg
deleted file mode 100755
index d750682b..00000000
Binary files a/MonoCatalogSample/images/scene5.jpg and /dev/null differ
diff --git a/MonoCatalogSample/images/segment_check.png b/MonoCatalogSample/images/segment_check.png
deleted file mode 100644
index 9eb59390..00000000
Binary files a/MonoCatalogSample/images/segment_check.png and /dev/null differ
diff --git a/MonoCatalogSample/images/segment_search.png b/MonoCatalogSample/images/segment_search.png
deleted file mode 100644
index 0067075a..00000000
Binary files a/MonoCatalogSample/images/segment_search.png and /dev/null differ
diff --git a/MonoCatalogSample/images/segment_tools.png b/MonoCatalogSample/images/segment_tools.png
deleted file mode 100644
index 6ed79582..00000000
Binary files a/MonoCatalogSample/images/segment_tools.png and /dev/null differ
diff --git a/MonoCatalogSample/images/slider_ball.png b/MonoCatalogSample/images/slider_ball.png
deleted file mode 100755
index d5429fd5..00000000
Binary files a/MonoCatalogSample/images/slider_ball.png and /dev/null differ
diff --git a/MonoCatalogSample/images/whiteButton.png b/MonoCatalogSample/images/whiteButton.png
deleted file mode 100644
index ce8c9cb4..00000000
Binary files a/MonoCatalogSample/images/whiteButton.png and /dev/null differ
diff --git a/MonoCatalogSample/images/yellowslide.png b/MonoCatalogSample/images/yellowslide.png
deleted file mode 100755
index 379b8696..00000000
Binary files a/MonoCatalogSample/images/yellowslide.png and /dev/null differ
diff --git a/MonoCatalogSample/monocatalog.cs b/MonoCatalogSample/monocatalog.cs
deleted file mode 100644
index 220b16d6..00000000
--- a/MonoCatalogSample/monocatalog.cs
+++ /dev/null
@@ -1,151 +0,0 @@
-//
-// The UICatalog sample ported to C#
-//
-using System;
-using System.Collections.Generic;
-using System.Collections;
-
-//
-// Import the MonoTouch namespaces
-//
-using MonoTouch.CoreGraphics;
-using MonoTouch.Foundation;
-using MonoTouch.UIKit;
-
-//
-// MainViewController: this class is instantiated by MonoTouch
-// when the MainWindow.nib file is loaded. It is the UITableViewController
-// for our main UI
-//
-// Two nested classes are used: one that implemented the information
-// repository (DataSource) and the other one that is used to catch
-// notifications on the UITableView
-//
-public partial class MainViewController : UITableViewController {
- static NSString kCellIdentifier = new NSString ("MyIdentifier");
-
- struct Sample {
- public string Title;
- public UIViewController Controller;
-
- public Sample (string title, UIViewController controller)
- {
- Title = title;
- Controller = controller;
- }
- }
-
- Sample [] samples;
-
- //
- // Constructor invoked from the NIB loader
- //
- public MainViewController (IntPtr p) : base (p) {}
-
- //
- // The data source for our TableView
- //
- class DataSource : UITableViewDataSource {
- MainViewController mvc;
-
- public DataSource (MainViewController mvc)
- {
- this.mvc = mvc;
- }
-
- public override int RowsInSection (UITableView tableView, int section)
- {
- return mvc.samples.Length;
- }
-
- public override UITableViewCell GetCell (UITableView tableView, NSIndexPath indexPath)
- {
- var cell = tableView.DequeueReusableCell (kCellIdentifier);
- if (cell == null){
- cell = new UITableViewCell (UITableViewCellStyle.Default, kCellIdentifier);
- cell.Accessory = UITableViewCellAccessory.DisclosureIndicator;
- }
- cell.TextLabel.Text = mvc.samples [indexPath.Row].Title;
- return cell;
- }
- }
-
- //
- // This class receives notifications that happen on the UITableView
- //
- class TableDelegate : UITableViewDelegate {
- MainViewController mvc;
-
- public TableDelegate (MainViewController mvc)
- {
- this.mvc = mvc;
- }
-
- public override void RowSelected (UITableView tableView, NSIndexPath indexPath)
- {
- Console.WriteLine ("MonoCatalog: Row selected {0}", indexPath.Row);
-
- var cont = mvc.samples [indexPath.Row].Controller;
- mvc.NavigationController.PushViewController (cont, true);
- }
- }
-
- public override void ViewDidLoad ()
- {
- base.ViewDidLoad ();
- Title = "MonoTouch UICatalog";
- samples = new Sample [] {
- new Sample ("Address Book", new AddressBookController ()),
- new Sample ("Buttons", new ButtonsViewController ()),
- new Sample ("Controls", new ControlsViewController ()),
- new Sample ("Searchbar", new SearchBarController ()),
- new Sample ("TextField", new TextFieldController ()),
- new Sample ("TextView", new TextViewController ()),
- new Sample ("Pickers", new PickerViewController ()),
- new Sample ("Images", new ImagesViewController ()),
- new Sample ("Segments", new SegmentViewController ()),
- new Sample ("Alerts", new AlertsViewController ()),
- new Sample ("Transitions", new TransitionViewController ()),
- new Sample ("Toolbar", new ToolbarViewController ()),
- new Sample ("Web", new WebViewController ())
- };
-
- TableView.Delegate = new TableDelegate (this);
- TableView.DataSource = new DataSource (this);
-
- NavigationItem.BackBarButtonItem = new UIBarButtonItem () { Title = "Back" };
- }
-
-}
-
-//
-// The name AppDelegate is referenced in the MainWindow.xib file.
-//
-public partial class AppDelegate : UIApplicationDelegate {
- //
- // This method is invoked when the application is ready to run
- //
- public override bool FinishedLaunching (UIApplication app, NSDictionary options)
- {
- window.AddSubview (navigationController.View);
- window.MakeKeyAndVisible ();
-
- return true;
- }
-
- //
- // This method is required in iPhoneOS 3.0
- //
- public override void OnActivated (UIApplication application)
- {
- }
-}
-
-class Demo {
- static void Main (string [] args)
- {
- // It will load the main UI as specified in the
- // Info.plist file (MainWindow.nib)
- UIApplication.Main (args, null, null);
- }
-}
diff --git a/MonoCatalogSample/picker.cs b/MonoCatalogSample/picker.cs
deleted file mode 100644
index 76c8b1e9..00000000
--- a/MonoCatalogSample/picker.cs
+++ /dev/null
@@ -1,231 +0,0 @@
-//
-// The PickerViewController
-//
-using MonoTouch.Foundation;
-using MonoTouch.UIKit;
-using System.Drawing;
-using System;
-
-public partial class PickerViewController : UIViewController {
- UIPickerView myPickerView, customPickerView;
- UIDatePicker datePickerView;
- UILabel label;
-
- public PickerViewController () : base ("PickerViewController", null)
- {
- }
-
- public override void ViewDidLoad ()
- {
- base.ViewDidLoad ();
- Title = "Picker";
-
- CreatePicker ();
- CreateDatePicker ();
- CreateCustomPicker ();
-
- // Colors
- buttonBarSegmentedControl.TintColor = UIColor.DarkGray;
- pickerStyleSegmentedControl.TintColor = UIColor.DarkGray;
-
- label = new UILabel (new RectangleF (20f, myPickerView.Frame.Y - 30f, View.Bounds.Width - 40f, 30f)){
- Font = UIFont.SystemFontOfSize (14),
- TextAlignment = UITextAlignment.Center,
- TextColor = UIColor.White,
- BackgroundColor = UIColor.Clear
- };
- View.AddSubview (label);
- buttonBarSegmentedControl.SelectedSegment = 0;
- datePickerView.Mode = UIDatePickerMode.Date;
- }
-
- public override void ViewWillAppear (bool animated)
- {
- NavigationController.NavigationBar.BarStyle = UIBarStyle.Black;
- UIApplication.SharedApplication.StatusBarStyle = UIStatusBarStyle.BlackOpaque;
- TogglePickers (buttonBarSegmentedControl);
- }
-
- public override void ViewWillDisappear (bool animated)
- {
- if (currentPicker != null)
- currentPicker.Hidden = true;
- NavigationController.NavigationBar.BarStyle = UIBarStyle.Default;
- UIApplication.SharedApplication.StatusBarStyle = UIStatusBarStyle.Default;
- }
-
- RectangleF PickerFrameWithSize (SizeF size)
- {
- var screenRect = UIScreen.MainScreen.ApplicationFrame;
- return new RectangleF (0f, screenRect.Height - 84f - size.Height, size.Width, size.Height);
- }
-
- UIView currentPicker;
- void ShowPicker (UIView picker)
- {
- if (currentPicker != null){
- currentPicker.Hidden = true;
- label.Text = "";
- }
-
- picker.Hidden = false;
- currentPicker = picker;
- }
-
-#region Hooks from Interface Builder
- [Export ("togglePickers:")]
- public void TogglePickers (UISegmentedControl sender)
- {
- switch (sender.SelectedSegment){
- case 0:
- pickerStyleSegmentedControl.Hidden = true;
- segmentLabel.Hidden = true;
- ShowPicker (myPickerView);
- break;
-
- case 1:
- pickerStyleSegmentedControl.SelectedSegment = 1;
- datePickerView.Mode = UIDatePickerMode.Date;
- pickerStyleSegmentedControl.Hidden = false;
- segmentLabel.Hidden = false;
- ShowPicker (datePickerView);
- break;
-
- case 2:
- pickerStyleSegmentedControl.Hidden = true;
- segmentLabel.Hidden = true;
- ShowPicker (customPickerView);
- break;
- }
- }
-
- [Export ("togglePickerStyle:")]
- public void TogglePickerStyle (UISegmentedControl sender)
- {
- switch (sender.SelectedSegment){
- case 0: // time
- datePickerView.Mode = UIDatePickerMode.Time;
- break;
-
- case 1: // date
- datePickerView.Mode = UIDatePickerMode.Date;
- break;
-
- case 2: // date & time
- datePickerView.Mode = UIDatePickerMode.DateAndTime;
- break;
-
- case 3: // counter
- datePickerView.Mode = UIDatePickerMode.CountDownTimer;
- break;
- }
-
- datePickerView.Date = NSDate.Now; //DateTime.Now;
-
- Console.WriteLine ("Date is: {0} {1} {2}", NSDate.Now.ToString (), ((NSDate) DateTime.Now).ToString (), DateTime.Now);
- }
-#endregion
-
-#region Custom picker
- public void CreateCustomPicker ()
- {
- customPickerView = new UIPickerView (RectangleF.Empty) {
- AutoresizingMask = UIViewAutoresizing.FlexibleWidth,
- Model = new CustomPickerModel (),
- ShowSelectionIndicator = true,
- Hidden = true
- };
- customPickerView.Frame = PickerFrameWithSize (customPickerView.SizeThatFits (SizeF.Empty));
- View.AddSubview (customPickerView);
- }
-
-#endregion
-
-#region Date picker
- public void CreateDatePicker ()
- {
- datePickerView = new UIDatePicker (RectangleF.Empty) {
- AutoresizingMask = UIViewAutoresizing.FlexibleWidth,
- Mode = UIDatePickerMode.Date,
- Hidden = true
- };
- datePickerView.Frame = PickerFrameWithSize (datePickerView.SizeThatFits (SizeF.Empty));
- View.AddSubview (datePickerView);
- }
-#endregion
-
-#region People picker
-
- void CreatePicker ()
- {
- //
- // Empty is used, since UIPickerViews have auto-sizing,
- // all that is required is the origin
- //
- myPickerView = new UIPickerView (RectangleF.Empty){
- AutoresizingMask = UIViewAutoresizing.FlexibleWidth,
- ShowSelectionIndicator = true,
- Model = new PeopleModel (this),
- Hidden = true
- };
- // Now update it:
- myPickerView.Frame = PickerFrameWithSize (myPickerView.SizeThatFits (SizeF.Empty));
- View.AddSubview (myPickerView);
- }
-
- public class PeopleModel : UIPickerViewModel {
- static string [] names = new string [] {
- "Brian Kernighan",
- "Dennis Ritchie",
- "Ken Thompson",
- "Kirk McKusick",
- "Rob Pike",
- "Dave Presotto",
- "Steve Johnson"
- };
-
- PickerViewController pvc;
- public PeopleModel (PickerViewController pvc) {
- this.pvc = pvc;
- }
-
- public override int GetComponentCount (UIPickerView v)
- {
- return 2;
- }
-
- public override int GetRowsInComponent (UIPickerView pickerView, int component)
- {
- return names.Length;
- }
-
- public override string GetTitle (UIPickerView picker, int row, int component)
- {
- if (component == 0)
- return names [row];
- else
- return row.ToString ();
- }
-
- public override void Selected (UIPickerView picker, int row, int component)
- {
- pvc.label.Text = String.Format ("{0} - {1}",
- names [picker.SelectedRowInComponent (0)],
- picker.SelectedRowInComponent (1));
- }
-
- public override float GetComponentWidth (UIPickerView picker, int component)
- {
- if (component == 0)
- return 240f;
- else
- return 40f;
- }
-
- public override float GetRowHeight (UIPickerView picker, int component)
- {
- return 40f;
- }
- }
-#endregion
-}
diff --git a/MonoCatalogSample/pickercustom.cs b/MonoCatalogSample/pickercustom.cs
deleted file mode 100644
index d20c2fb6..00000000
--- a/MonoCatalogSample/pickercustom.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-//
-// The PickerViewController
-//
-using MonoTouch.Foundation;
-using MonoTouch.UIKit;
-using System.Collections.Generic;
-using System.Drawing;
-
-public class CustomView : UIView {
- const float MAIN_FONT_SIZE = 18.0f;
- const float MIN_MAIN_FONT_SIZE = 16.0f;
-
- public CustomView (RectangleF frame) : base (new RectangleF (PointF.Empty, new SizeF (Width, Height))) {
- AutoresizingMask = UIViewAutoresizing.FlexibleWidth | UIViewAutoresizing.FlexibleHeight;
- BackgroundColor = UIColor.Clear;
- }
-
- public override void Draw (RectangleF rect) {
- float yCoord = (Bounds.Size.Height - Image.Size.Height) / 2;
- PointF point = new PointF (10.0f, yCoord);
-
- Image.Draw (point);
-
- yCoord = (Bounds.Size.Height - MAIN_FONT_SIZE) / 2;
- point = new PointF (10.0f + Image.Size.Width + 10.0f, yCoord);
-
- DrawString (Title, point, UIFont.SystemFontOfSize (MAIN_FONT_SIZE) );
- }
-
- public string Title { get; set; }
- public UIImage Image { get; set; }
-
- public const float Width = 200f;
- public const float Height = 44f;
-}
-
-public class CustomPickerModel : UIPickerViewModel {
- List views;
-
- public CustomPickerModel () : base () {
- views = new List ();
- var empty = RectangleF.Empty;
-
- views.Add (new CustomView (empty) { Title = "Early Morning", Image = UIImage.FromFile ("12-6AM.png") });
- views.Add (new CustomView (empty) { Title = "Late Morning", Image = UIImage.FromFile ("6-12AM.png") });
- views.Add (new CustomView (empty) { Title = "Afternoon", Image = UIImage.FromFile ("12-6PM.png") });
- views.Add (new CustomView (empty) { Title = "Evening", Image = UIImage.FromFile ("6-12PM.png") });
- }
-
- public override float GetComponentWidth (UIPickerView pickerView, int component) {
- return CustomView.Width;
- }
-
- public override float GetRowHeight (UIPickerView pickerView, int component) {
- return CustomView.Height;
- }
-
- public override int GetRowsInComponent (UIPickerView pickerView, int component) {
- return views.Count;
- }
-
- public override int GetComponentCount (UIPickerView pickerView) {
- return 1;
- }
-
- public override UIView GetView (UIPickerView pickerView, int row, int component, UIView view) {
- return views[row];
- }
-}
diff --git a/MonoCatalogSample/searchbar.cs b/MonoCatalogSample/searchbar.cs
deleted file mode 100644
index afa44cc5..00000000
--- a/MonoCatalogSample/searchbar.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-//
-// C# port of the searchbar sample
-//
-using MonoTouch.Foundation;
-using MonoTouch.UIKit;
-using System.Drawing;
-
-public partial class SearchBarController : UIViewController {
- UISearchBar bar;
-
- class SearchDelegate : UISearchBarDelegate {
- public override void SearchButtonClicked (UISearchBar bar)
- {
- bar.ResignFirstResponder ();
- }
-
- public override void CancelButtonClicked (UISearchBar bar)
- {
- bar.ResignFirstResponder ();
- }
- }
-
- public override void ViewDidLoad ()
- {
- base.ViewDidLoad ();
-
- Title = "Search Bar";
- View.BackgroundColor = UIColor.GroupTableViewBackgroundColor;
- var f = new RectangleF (0f, 0f, View.Bounds.Width, 44f);
- bar = new UISearchBar (f){
- Delegate = new SearchDelegate (),
- ShowsCancelButton = true,
- };
- View.AddSubview (bar);
- }
-
-}
diff --git a/MonoCatalogSample/segment.cs b/MonoCatalogSample/segment.cs
deleted file mode 100644
index 93a97727..00000000
--- a/MonoCatalogSample/segment.cs
+++ /dev/null
@@ -1,88 +0,0 @@
-//
-// Port of the segment sample
-//
-using MonoTouch.Foundation;
-using MonoTouch.UIKit;
-using System;
-using System.Drawing;
-
-public partial class SegmentViewController : UIViewController {
-
- public SegmentViewController () : base ("SegmentViewController", null) {}
-
- UILabel MakeLabel (string title, RectangleF frame)
- {
- return new UILabel (frame) {
- TextAlignment = UITextAlignment.Left,
- Text = title,
- Font = UIFont.BoldSystemFontOfSize (17f),
- TextColor = new UIColor (76/255f, 86/255f, 108/255f, 1.0f),
- BackgroundColor = UIColor.Clear
- };
- }
-
- const float lHeight = 20f;
-
- void CreateControls ()
- {
- var items = new string [] { "Check", "Search", "Tools" };
-
- float yPlacement = 20f;
-
- View.AddSubview (MakeLabel ("UISegmentedControl", new RectangleF (20f, yPlacement, View.Bounds.Width - 40f, lHeight)));
- yPlacement += 40f;
-
- var segmentedControl = new UISegmentedControl (new object [] {
- UIImage.FromFile ("segment_check.png"),
- UIImage.FromFile ("segment_search.png"),
- UIImage.FromFile ("segment_tools.png")}){
- Frame = new RectangleF (20f, yPlacement, View.Bounds.Width - 40f, 40f),
- ControlStyle = UISegmentedControlStyle.Plain,
- SelectedSegment = 1
- };
- View.AddSubview (segmentedControl);
- yPlacement += 60f;
-
- View.AddSubview (MakeLabel ("UISegmentedControlStyleBordered", new RectangleF (20f, yPlacement, View.Bounds.Width - 40f, lHeight)));
- yPlacement += 40f;
-
- segmentedControl = new UISegmentedControl (items){
- Frame = new RectangleF (20f, yPlacement, View.Bounds.Width - 40f, 40f),
- ControlStyle = UISegmentedControlStyle.Bordered,
- SelectedSegment = 1
- };
- segmentedControl.ValueChanged += delegate {
- Console.WriteLine ("Value changed");
- };
- View.AddSubview (segmentedControl);
- yPlacement += 60f;
-
- View.AddSubview (MakeLabel ("UISegmentedControlStyleBar", new RectangleF (20f, yPlacement, View.Bounds.Width - 40f, lHeight)));
- yPlacement += 40f;
- segmentedControl = new UISegmentedControl (items){
- Frame = new RectangleF (20f, yPlacement, View.Bounds.Width - 40f, 40f),
- ControlStyle = UISegmentedControlStyle.Bar,
- SelectedSegment = 1
- };
- View.AddSubview (segmentedControl);
- yPlacement += 60f;
-
- View.AddSubview (MakeLabel ("UISegmentedControlStyleBar (tinted)", new RectangleF (20f, yPlacement, View.Bounds.Width - 40f, lHeight)));
- yPlacement += 40f;
- segmentedControl = new UISegmentedControl (items){
- Frame = new RectangleF (20f, yPlacement, View.Bounds.Width - 40f, 40f),
- ControlStyle = UISegmentedControlStyle.Bar,
- TintColor = UIColor.FromRGB (0.7f, 0.171f, 0.1f),
- SelectedSegment = 1
- };
- View.AddSubview (segmentedControl);
- yPlacement += 60f;
- }
-
- public override void ViewDidLoad ()
- {
- base.ViewDidLoad ();
- View.BackgroundColor = UIColor.GroupTableViewBackgroundColor;
- CreateControls ();
- }
-}
diff --git a/MonoCatalogSample/textfield.cs b/MonoCatalogSample/textfield.cs
deleted file mode 100644
index b73f9506..00000000
--- a/MonoCatalogSample/textfield.cs
+++ /dev/null
@@ -1,196 +0,0 @@
-//
-// Textfields sample ported to C#
-//
-using System;
-using MonoTouch.UIKit;
-using MonoTouch.Foundation;
-using System.Drawing;
-
-public partial class TextFieldController : UITableViewController {
-
- public TextFieldController () : base ("TextFieldController", null) {
- }
-
- const int kViewTag = 1;
-
- class DataSource : UITableViewDataSource {
- TextFieldController tvc;
- static NSString kDisplayCell_ID = new NSString ("CellTextField_ID");
- static NSString kSourceCell_ID = new NSString ("SourceCell_ID");
-
- public DataSource (TextFieldController tvc)
- {
- this.tvc = tvc;
- }
-
- public override int NumberOfSections (UITableView tableView)
- {
- return tvc.samples.Length;
- }
-
- public override string TitleForHeader (UITableView tableView, int section)
- {
- return tvc.samples [section].Title;
- }
-
- public override int RowsInSection (UITableView tableView, int section)
- {
- return 2;
- }
-
- public override UITableViewCell GetCell (UITableView tableView, NSIndexPath indexPath)
- {
- UITableViewCell cell = null;
- int row = indexPath.Row;
-
- if (row == 0){
- cell = tableView.DequeueReusableCell (kDisplayCell_ID);
- if (cell == null){
- cell = new UITableViewCell (UITableViewCellStyle.Default, kDisplayCell_ID);
- cell.SelectionStyle = UITableViewCellSelectionStyle.None;
- } else {
- // The cell is being recycled, remove the old content
- UIView viewToRemove = cell.ContentView.ViewWithTag (kViewTag);
- if (viewToRemove != null)
- viewToRemove.RemoveFromSuperview ();
- }
- cell.ContentView.AddSubview (tvc.samples [indexPath.Section].View);
- } else {
- cell = tableView.DequeueReusableCell (kSourceCell_ID);
- if (cell == null){
- // Construct the cell with reusability (the second argument is not null)
- cell = new UITableViewCell (UITableViewCellStyle.Default, kSourceCell_ID);
- cell.SelectionStyle = UITableViewCellSelectionStyle.None;
- var label = cell.TextLabel;
-
- label.Opaque = false;
- label.TextAlignment = UITextAlignment.Center;
- label.TextColor = UIColor.Gray;
- label.Lines = 1;
- label.HighlightedTextColor = UIColor.Black;
- label.Font = UIFont.SystemFontOfSize (12f);
- }
- cell.TextLabel.Text = tvc.samples [indexPath.Section].Source;
- }
-
- return cell;
- }
- }
-
- class TableDelegate : UITableViewDelegate {
- // Override to provide the sizing of the rows in our table
- public override float GetHeightForRow (UITableView tableView, NSIndexPath indexPath)
- {
- return indexPath.Row == 0 ? 50f : 22f;
- }
- }
-
- bool DoReturn (UITextField tf)
- {
- tf.ResignFirstResponder ();
- return true;
- }
-
- UITextField TextFieldNormal ()
- {
- return new UITextField (new RectangleF (30f, 8f, 260f, 30f)){
- BorderStyle = UITextBorderStyle.Bezel,
- TextColor = UIColor.Black,
- Font = UIFont.SystemFontOfSize (17f),
- Placeholder = "",
- BackgroundColor = UIColor.White,
- AutocorrectionType = UITextAutocorrectionType.No,
- KeyboardType = UIKeyboardType.Default,
- ReturnKeyType = UIReturnKeyType.Done,
- ClearButtonMode = UITextFieldViewMode.WhileEditing,
- Tag = kViewTag,
- ShouldReturn = DoReturn,
- };
- }
-
- UITextField TextFieldRounded ()
- {
- return new UITextField (new RectangleF (30f, 8f, 260f, 30f)){
- BorderStyle = UITextBorderStyle.RoundedRect,
- TextColor = UIColor.Black,
- Font = UIFont.SystemFontOfSize (17f),
- Placeholder = "",
- BackgroundColor = UIColor.White,
- AutocorrectionType = UITextAutocorrectionType.No,
- KeyboardType = UIKeyboardType.Default,
- ReturnKeyType = UIReturnKeyType.Done,
- ClearButtonMode = UITextFieldViewMode.WhileEditing,
- Tag = kViewTag,
- ShouldReturn = DoReturn
- };
- }
-
- UITextField TextFieldSecure ()
- {
- return new UITextField (new RectangleF (30f, 8f, 260f, 30f)){
- BorderStyle = UITextBorderStyle.Bezel,
- TextColor = UIColor.Black,
- Font = UIFont.SystemFontOfSize (17f),
- Placeholder = "",
- BackgroundColor = UIColor.White,
- AutocorrectionType = UITextAutocorrectionType.No,
- KeyboardType = UIKeyboardType.Default,
- ReturnKeyType = UIReturnKeyType.Done,
- ClearButtonMode = UITextFieldViewMode.WhileEditing,
- SecureTextEntry = true,
- Tag = kViewTag,
- ShouldReturn = DoReturn
- };
- }
-
- UITextField TextFieldLeftView ()
- {
- return new UITextField (new RectangleF (30f, 8f, 260f, 30f)){
- BorderStyle = UITextBorderStyle.Bezel,
- TextColor = UIColor.Black,
- Font = UIFont.SystemFontOfSize (17f),
- Placeholder = "",
- BackgroundColor = UIColor.White,
- AutocorrectionType = UITextAutocorrectionType.No,
- KeyboardType = UIKeyboardType.Default,
- ReturnKeyType = UIReturnKeyType.Done,
- ClearButtonMode = UITextFieldViewMode.WhileEditing,
- Tag = kViewTag,
- ShouldReturn = DoReturn,
-
- LeftView = new UIImageView (UIImage.FromFile ("segment_check.png")),
- LeftViewMode = UITextFieldViewMode.Always
- };
- }
-
- struct TextFieldSample {
- public string Title, Source;
- public UITextField View;
-
- public TextFieldSample (string t, string s, UITextField b)
- {
- Title = t;
- Source = s;
- View = b;
- }
- }
-
- TextFieldSample [] samples;
-
- public override void ViewDidLoad ()
- {
- base.ViewDidLoad ();
- Title = "Text Field";
-
- samples = new TextFieldSample [] {
- new TextFieldSample ("UITextField", "textfield.cs: TextFieldNormal()", TextFieldNormal ()),
- new TextFieldSample ("UITextField Rounded", "textfield.cs: TextFieldRounded ()", TextFieldRounded ()),
- new TextFieldSample ("UITextField Secure", "textfield.cs: TextFieldSecure ()", TextFieldSecure ()),
- new TextFieldSample ("UITextField (with LeftView)", "textfield.cs: TextFieldLeftView ()", TextFieldLeftView ()),
- };
-
- TableView.DataSource = new DataSource (this);
- TableView.Delegate = new TableDelegate ();
- Editing = false;
- }
-}
diff --git a/MonoCatalogSample/textview.cs b/MonoCatalogSample/textview.cs
deleted file mode 100644
index 41eec537..00000000
--- a/MonoCatalogSample/textview.cs
+++ /dev/null
@@ -1,74 +0,0 @@
-//
-// C# port of the textview sample
-//
-using MonoTouch.Foundation;
-using MonoTouch.UIKit;
-using System.Drawing;
-using System;
-
-public partial class TextViewController : UIViewController {
- UITextView textView;
- NSObject obs1, obs2;
-
- public override void ViewDidLoad ()
- {
- base.ViewDidLoad ();
-
- Title = "Text View";
- textView = new UITextView (View.Frame){
- TextColor = UIColor.Black,
- Font = UIFont.FromName ("Arial", 18f),
- BackgroundColor = UIColor.White,
- Text = "This code brought to you by ECMA 334, ECMA 335 and the Mono Team at Novell\n\n\nEmbrace the CIL!",
- ReturnKeyType = UIReturnKeyType.Default,
- KeyboardType = UIKeyboardType.Default,
- ScrollEnabled = true,
- AutoresizingMask = UIViewAutoresizing.FlexibleHeight,
- };
-
- // Provide our own save button to dismiss the keyboard
- textView.Started += delegate {
- var saveItem = new UIBarButtonItem (UIBarButtonSystemItem.Done, delegate {
- textView.ResignFirstResponder ();
- NavigationItem.RightBarButtonItem = null;
- });
- NavigationItem.RightBarButtonItem = saveItem;
- };
-
- View.AddSubview (textView);
- }
-
- public override void ViewWillAppear (bool animated)
- {
- base.ViewWillAppear (animated);
-
- obs1 = NSNotificationCenter.DefaultCenter.AddObserver (UIKeyboard.WillShowNotification, delegate (NSNotification n){
- var kbdRect = UIKeyboard.BoundsFromNotification (n);
- var duration = UIKeyboard.AnimationDurationFromNotification (n);
- var frame = View.Frame;
- frame.Height -= kbdRect.Height;
- UIView.BeginAnimations ("ResizeForKeyboard");
- UIView.SetAnimationDuration (duration);
- View.Frame = frame;
- UIView.CommitAnimations ();
- });
-
- obs2 = NSNotificationCenter.DefaultCenter.AddObserver ("UIKeyboardWillHideNotification", delegate (NSNotification n){
- var kbdRect = UIKeyboard.BoundsFromNotification (n);
- var duration = UIKeyboard.AnimationDurationFromNotification (n);
- var frame = View.Frame;
- frame.Height += kbdRect.Height;
- UIView.BeginAnimations ("ResizeForKeyboard");
- UIView.SetAnimationDuration (duration);
- View.Frame = frame;
- UIView.CommitAnimations ();
- });
- }
-
- public override void ViewDidDisappear (bool animated)
- {
- base.ViewWillDisappear (animated);
- NSNotificationCenter.DefaultCenter.RemoveObserver (obs1);
- NSNotificationCenter.DefaultCenter.RemoveObserver (obs2);
- }
-}
diff --git a/MonoCatalogSample/toolbar.cs b/MonoCatalogSample/toolbar.cs
deleted file mode 100644
index 4516adbf..00000000
--- a/MonoCatalogSample/toolbar.cs
+++ /dev/null
@@ -1,180 +0,0 @@
-//
-// Port of the toolbar sample to C#
-//
-using MonoTouch.Foundation;
-using MonoTouch.UIKit;
-using System;
-using System.Drawing;
-
-public partial class ToolbarViewController : UIViewController {
-
- UIBarButtonSystemItem currentSystemItem;
- UIToolbar toolbar;
- static string [] pickerViewArray = {
- "Done",
- "Cancel",
- "Edit",
- "Save",
- "Add",
- "FlexibleSpace",
- "FixedSpace",
- "Compose",
- "Reply",
- "Action",
- "Organize",
- "Bookmarks",
- "Search",
- "Refresh",
- "Stop",
- "Camera",
- "Trash",
- "Play",
- "Pause",
- "Rewind",
- "FastForward",
- "Undo",
- "Redo"
- };
-
- public ToolbarViewController () : base ("ToolbarViewController", null) {}
-
- //
- // This is the general callback that we give to buttons to show how to hook events up
- // this could have been an anonymous delegate if desired.
- //
- void Action (object sender, EventArgs args)
- {
- Console.WriteLine ("I am the action");
- }
-
- void CreateToolbarItems ()
- {
- // The order is mapped one to one to the UIBarButtonItemStyle
- var style = (UIBarButtonItemStyle) buttonItemStyleSegControl.SelectedSegment;
-
- var systemItem = new UIBarButtonItem (currentSystemItem, Action){
- Style = style
- };
-
- var flexItem = new UIBarButtonItem (UIBarButtonSystemItem.FlexibleSpace);
-
- var infoItem = new UIBarButtonItem (UIImage.FromFile ("segment_tools.png"), style, Action);
-
- var customItem = new UIBarButtonItem ("Item", style, Action);
-
- toolbar.Items = new UIBarButtonItem [] { systemItem, flexItem, customItem, infoItem };
- }
-
- public override void ViewDidLoad ()
- {
- base.ViewDidLoad ();
-
- Title = "Toolbar";
-
- View.BackgroundColor = UIColor.GroupTableViewBackgroundColor;
- toolbar = new UIToolbar() {
- BarStyle = UIBarStyle.Default
- };
- toolbar.SizeToFit ();
- float toolbarHeight = toolbar.Frame.Height;
- var mainViewBounds = View.Bounds;
- toolbar.Frame = new RectangleF (mainViewBounds.X, (float)(mainViewBounds.Y + mainViewBounds.Height - toolbarHeight * 2 + 2),
- mainViewBounds.Width, toolbarHeight);
- View.AddSubview (toolbar);
- currentSystemItem = UIBarButtonSystemItem.Done;
- CreateToolbarItems ();
-
- systemButtonPicker.Model = new ItemPickerModel (this);
- }
-
- partial void toggleStyle (UISegmentedControl sender)
- {
- var style = UIBarButtonItemStyle.Plain;
-
- switch (sender.SelectedSegment){
- case 0:
- style = UIBarButtonItemStyle.Plain;
- break;
- case 1:
- style = UIBarButtonItemStyle.Bordered;
- break;
- case 2:
- style = UIBarButtonItemStyle.Done;
- break;
- }
- foreach (var item in toolbar.Items)
- item.Style = style;
- }
-
- partial void toggleBarStyle (UISegmentedControl sender)
- {
- switch (sender.SelectedSegment){
- case 0:
- toolbar.BarStyle = UIBarStyle.Default;
- break;
-
- case 1:
- toolbar.BarStyle = UIBarStyle.Black;
- break;
-
- case 2:
- toolbar.BarStyle = UIBarStyle.Black;
- toolbar.Translucent = true;
- break;
- }
-
- }
-
- partial void toggleTintColor (UISwitch sender)
- {
- if (sender.On){
- toolbar.TintColor = UIColor.Red;
- barStyleSegControl.Enabled = false;
- barStyleSegControl.Alpha = 0.5f;
- } else {
- toolbar.TintColor = null;
- barStyleSegControl.Enabled = true;
- barStyleSegControl.Alpha = 1.0f;
- }
- }
-
- public class ItemPickerModel : UIPickerViewModel {
- ToolbarViewController tvc;
-
- public ItemPickerModel (ToolbarViewController tvc)
- {
- this.tvc = tvc;
- }
-
- public override void Selected (UIPickerView picker, int row, int component)
- {
- tvc.currentSystemItem = (UIBarButtonSystemItem) picker.SelectedRowInComponent (0);
- tvc.CreateToolbarItems ();
- }
-
- public override string GetTitle (UIPickerView picker, int row, int component)
- {
- return pickerViewArray [row];
- }
-
- public override float GetComponentWidth (UIPickerView picker, int component)
- {
- return 240f;
- }
-
- public override float GetRowHeight (UIPickerView picker, int component)
- {
- return 40f;
- }
-
- public override int GetRowsInComponent (UIPickerView pickerView, int component)
- {
- return pickerViewArray.Length;
- }
-
- public override int GetComponentCount (UIPickerView v)
- {
- return 1;
- }
- }
-}
diff --git a/MonoCatalogSample/transition.cs b/MonoCatalogSample/transition.cs
deleted file mode 100644
index bae62ba2..00000000
--- a/MonoCatalogSample/transition.cs
+++ /dev/null
@@ -1,85 +0,0 @@
-//
-// Port of the transition sample
-//
-using MonoTouch.Foundation;
-using MonoTouch.UIKit;
-using System;
-using System.Drawing;
-
-public partial class TransitionViewController : UIViewController {
-
- public TransitionViewController () : base ("TransitionViewController", null) {}
-
- const float kImageHeight = 200f;
- const float kImageWidth = 250f;
- const float kTransitionDuration = 0.75f;
- const float kTopPlacement = 80f;
-
- UIImageView mainView, flipToView;
- UIView containerView;
-
- public override void ViewDidLoad ()
- {
- Title = "Transition";
-
- containerView = new UIView (new RectangleF ((View.Bounds.Width - kImageWidth)/2.0f, kTopPlacement, kImageWidth, kImageHeight));
- View.AddSubview (containerView);
-
- mainView = new UIImageView (new RectangleF (0, 0, kImageWidth, kImageHeight)){
- Image = UIImage.FromFile ("scene1.jpg")
- };
- containerView.AddSubview (mainView);
-
- flipToView = new UIImageView (new RectangleF (0, 0, kImageWidth, kImageHeight)){
- Image = UIImage.FromFile ("scene2.jpg")
- };
- }
-
- partial void flipAction (UIBarButtonItem sender)
- {
- UIView.BeginAnimations (null, IntPtr.Zero);
- UIView.SetAnimationDuration (kTransitionDuration);
- UIView.SetAnimationTransition (
- mainView.Superview != null ? UIViewAnimationTransition.FlipFromLeft : UIViewAnimationTransition.FlipFromRight,
- containerView, true);
-
- if (flipToView.Superview == null){
- mainView.RemoveFromSuperview ();
- containerView.AddSubview (flipToView);
- } else {
- flipToView.RemoveFromSuperview ();
- containerView.AddSubview (mainView);
- }
- UIView.CommitAnimations ();
- }
-
- partial void curlAction (UIBarButtonItem sender)
- {
- UIView.BeginAnimations (null, IntPtr.Zero);
- UIView.SetAnimationDuration (kTransitionDuration);
- UIView.SetAnimationTransition (
- mainView.Superview != null ? UIViewAnimationTransition.CurlUp : UIViewAnimationTransition.CurlDown,
- containerView, true);
-
- if (flipToView.Superview == null){
- mainView.RemoveFromSuperview ();
- containerView.AddSubview (flipToView);
- } else {
- flipToView.RemoveFromSuperview ();
- containerView.AddSubview (mainView);
- }
- UIView.CommitAnimations ();
- }
-
- public override void ViewWillDisappear (bool animated)
- {
- NavigationController.NavigationBar.BarStyle = UIBarStyle.Default;
- UIApplication.SharedApplication.StatusBarStyle = UIStatusBarStyle.Default;
- }
-
- public override void ViewWillAppear (bool animated)
- {
- NavigationController.NavigationBar.BarStyle = UIBarStyle.Black;
- UIApplication.SharedApplication.StatusBarStyle = UIStatusBarStyle.BlackOpaque;
- }
-}
diff --git a/MonoCatalogSample/web.cs b/MonoCatalogSample/web.cs
deleted file mode 100644
index 9c49685c..00000000
--- a/MonoCatalogSample/web.cs
+++ /dev/null
@@ -1,80 +0,0 @@
-//
-// Web sample in C#v
-//
-
-using System;
-using MonoTouch.UIKit;
-using MonoTouch.Foundation;
-using System.Drawing;
-
-public partial class WebViewController : UIViewController {
- UIWebView web;
-
- // Load our definition from the NIB file
- public WebViewController () : base ("WebViewController", null)
- {
- }
-
- public override void ViewWillDisappear (bool animated)
- {
- web.StopLoading ();
- web.Delegate = null;
- UIApplication.SharedApplication.NetworkActivityIndicatorVisible = false;
- }
-
- public override bool ShouldAutorotateToInterfaceOrientation (UIInterfaceOrientation toInterfaceOrientation)
- {
- return true;
- }
-
- public override void ViewDidLoad ()
- {
- Title = "Web";
- var webFrame = UIScreen.MainScreen.ApplicationFrame;
- webFrame.Y += 25f;
- webFrame.Height -= 40f;
-
- web = new UIWebView (webFrame) {
- BackgroundColor = UIColor.White,
- ScalesPageToFit = true,
- AutoresizingMask = UIViewAutoresizing.FlexibleWidth | UIViewAutoresizing.FlexibleHeight
- };
- web.LoadStarted += delegate {
- UIApplication.SharedApplication.NetworkActivityIndicatorVisible = true;
- };
- web.LoadFinished += delegate {
- UIApplication.SharedApplication.NetworkActivityIndicatorVisible = false;
- };
- web.LoadError += (webview, args) => {
- UIApplication.SharedApplication.NetworkActivityIndicatorVisible = false;
- web.LoadHtmlString (String.Format ("An error occurred:
{0}", args.Error.LocalizedDescription), null);
- };
- View.AddSubview (web);
-
- // Delegate = new
- var urlField = new UITextField (new RectangleF (20f, 10f, View.Bounds.Width - (20f * 2f), 30f)){
- BorderStyle = UITextBorderStyle.Bezel,
- TextColor = UIColor.Black,
- Placeholder = "",
- Text = "http://www.mono-project.com/",
- BackgroundColor = UIColor.White,
- AutoresizingMask = UIViewAutoresizing.FlexibleWidth,
- ReturnKeyType = UIReturnKeyType.Go,
- KeyboardType = UIKeyboardType.Url,
- AutocapitalizationType = UITextAutocapitalizationType.None,
- AutocorrectionType = UITextAutocorrectionType.No,
- ClearButtonMode = UITextFieldViewMode.Always
- };
-
- urlField.ShouldReturn = delegate (UITextField field){
- field.ResignFirstResponder ();
- web.LoadRequest (NSUrlRequest.FromUrl (new NSUrl (field.Text)));
-
- return true;
- };
-
- View.AddSubview (urlField);
-
- web.LoadRequest (NSUrlRequest.FromUrl (new NSUrl ("http://www.mono-project.com")));
- }
-}
diff --git a/MonoCatalogSample/xibs/AddressBookController.xib b/MonoCatalogSample/xibs/AddressBookController.xib
deleted file mode 100644
index dda2a405..00000000
--- a/MonoCatalogSample/xibs/AddressBookController.xib
+++ /dev/null
@@ -1,675 +0,0 @@
-
-
-
- 768
- 9L30
- 677
- 949.54
- 353.00
-
-
-
-
- YES
-
- IBFilesOwner
-
-
- IBFirstResponder
-
-
-
- 274
-
- YES
-
-
- 292
- {{20, 20}, {280, 37}}
-
- NO
- NO
- 0
- 0
-
- Helvetica-Bold
- 1.500000e+01
- 16
-
- 1
- Select Contact
-
- 3
- MQA
-
-
- 1
- MC4xOTYwNzg0MyAwLjMwOTgwMzkzIDAuNTIxNTY4NjYAA
-
-
- 3
- MC41AA
-
-
-
-
- 292
- {{166, 123}, {134, 21}}
-
- NO
- YES
- NO
-
-
- 1
- MCAwIDAAA
-
-
- 1
- 1.000000e+01
-
-
-
- 292
- {{166, 152}, {134, 21}}
-
- NO
- YES
- NO
-
-
-
- 1
- 1.000000e+01
-
-
-
- 292
- {{20, 152}, {138, 21}}
-
- NO
- YES
- NO
- Last Name:
-
- Helvetica-Bold
- 1.700000e+01
- 16
-
-
-
- 1
- 1.000000e+01
- 2
-
-
-
- 292
- {{20, 123}, {138, 21}}
-
- NO
- YES
- NO
- First Name:
-
-
-
- 1
- 1.000000e+01
- 2
-
-
-
- 292
- {{20, 286}, {138, 21}}
-
- NO
- YES
- NO
- Select Property:
-
-
-
- 1
- 1.000000e+01
- 2
-
-
-
- 292
- {{20, 321}, {138, 21}}
-
- NO
- YES
- NO
- Perform Action:
-
-
-
- 1
- 1.000000e+01
- 2
-
-
-
- 292
- {{166, 283}, {94, 27}}
-
- NO
- YES
- YES
- 0
- 0
- YES
-
-
-
- 292
- {{166, 318}, {94, 27}}
-
- NO
- YES
- YES
- 0
- 0
- YES
-
-
-
- 292
- {{20, 181}, {138, 21}}
-
- NO
- YES
- NO
- Property:
-
-
-
- 1
- 1.000000e+01
- 2
-
-
-
- 292
- {{20, 210}, {138, 21}}
-
- NO
- YES
- NO
- Identifier:
-
-
-
- 1
- 1.000000e+01
- 2
-
-
-
- 292
- {{166, 181}, {134, 21}}
-
- NO
- YES
- NO
-
-
-
- 1
- 1.000000e+01
-
-
-
- 292
- {{166, 210}, {134, 21}}
-
- NO
- YES
- NO
-
-
-
- 1
- 1.000000e+01
-
-
-
- 292
- {{20, 94}, {138, 21}}
-
- NO
- YES
- NO
- ToString:
-
-
-
- 1
- 1.000000e+01
- 2
-
-
-
- 292
- {{166, 94}, {134, 21}}
-
- NO
- YES
- NO
-
-
-
- 1
- 1.000000e+01
-
-
-
- 292
- {{20, 65}, {280, 21}}
-
- NO
- YES
- NO
- {{0.05, 0}, {1, 1}}
- Selected Contact
-
- Helvetica-Bold
- 2.400000e+01
- 16
-
-
-
- 1
- 1.000000e+01
-
-
-
- 292
- {{20, 239}, {280, 36}}
-
- NO
- YES
- NO
- Selection Options
-
-
-
- 1
- 1.000000e+01
-
-
- {320, 460}
-
-
- 3
- MC43NQA
-
- 2
-
-
- NO
-
-
-
-
-
- YES
-
-
- view
-
-
-
- 7
-
-
-
- firstName
-
-
-
- 11
-
-
-
- lastName
-
-
-
- 12
-
-
-
- showPicker:
-
-
- 7
-
- 13
-
-
-
- performAction
-
-
-
- 21
-
-
-
- selectProperty
-
-
-
- 22
-
-
-
- property
-
-
-
- 27
-
-
-
- identifier
-
-
-
- 28
-
-
-
- toString
-
-
-
- 35
-
-
-
-
- YES
-
- 0
-
- YES
-
-
-
-
-
- -1
-
-
- RmlsZSdzIE93bmVyA
-
-
- -2
-
-
-
-
- 6
-
-
- YES
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 8
-
-
-
-
- 9
-
-
-
-
- 10
-
-
-
-
- 14
-
-
-
-
- 15
-
-
-
-
- 17
-
-
-
-
- 18
-
-
-
-
- 19
-
-
-
-
- 20
-
-
-
-
- 23
-
-
-
-
- 24
-
-
-
-
- 25
-
-
-
-
- 26
-
-
-
-
- 29
-
-
-
-
- 30
-
-
-
-
- 33
-
-
-
-
- 34
-
-
-
-
-
-
- YES
-
- YES
- -1.CustomClassName
- -2.CustomClassName
- 10.IBPluginDependency
- 14.IBPluginDependency
- 15.IBPluginDependency
- 17.IBPluginDependency
- 18.IBPluginDependency
- 19.IBPluginDependency
- 20.IBPluginDependency
- 23.IBPluginDependency
- 24.IBPluginDependency
- 25.IBPluginDependency
- 26.IBPluginDependency
- 29.IBPluginDependency
- 30.IBPluginDependency
- 33.IBPluginDependency
- 34.IBPluginDependency
- 6.IBEditorWindowLastContentRect
- 6.IBPluginDependency
- 8.IBPluginDependency
- 9.IBPluginDependency
-
-
- YES
- AddressBookController
- UIResponder
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- {{498, 444}, {320, 480}}
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- 35
-
-
-
- YES
-
- AddressBookController
- UIViewController
-
- showPicker:
- id
-
-
- YES
-
- YES
- firstName
- lastName
-
-
- YES
- UILabel
- UILabel
-
-
-
- IBProjectSource
- Classes/AddressBookQuickStartViewController.h
-
-
-
- AddressBookController
-
- YES
-
- YES
- identifier
- performAction
- property
- selectProperty
- toString
-
-
- YES
- id
- id
- id
- id
- id
-
-
-
- IBUserSource
-
-
-
-
-
- 0
- AddressBookQuickStart.xcodeproj
- 3
- 3.0
-
-
diff --git a/MonoCatalogSample/xibs/AddressBookController.xib.designer.cs b/MonoCatalogSample/xibs/AddressBookController.xib.designer.cs
deleted file mode 100644
index e6ab063f..00000000
--- a/MonoCatalogSample/xibs/AddressBookController.xib.designer.cs
+++ /dev/null
@@ -1,130 +0,0 @@
-// ------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Mono Runtime Version: 2.0.50727.1433
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-// ------------------------------------------------------------------------------
-
-// Base type probably should be MonoTouch.UIKit.UIViewController or subclass
-[MonoTouch.Foundation.Register("AddressBookController")]
-public partial class AddressBookController {
-
- private MonoTouch.UIKit.UIView __mt_view;
-
- private MonoTouch.UIKit.UILabel __mt_firstName;
-
- private MonoTouch.UIKit.UILabel __mt_lastName;
-
- private MonoTouch.UIKit.UISwitch __mt_performAction;
-
- private MonoTouch.UIKit.UISwitch __mt_selectProperty;
-
- private MonoTouch.UIKit.UILabel __mt_property;
-
- private MonoTouch.UIKit.UILabel __mt_identifier;
-
- private MonoTouch.UIKit.UILabel __mt_toString;
-
- #pragma warning disable 0169
- [MonoTouch.Foundation.Export("showPicker:")]
- partial void showPicker (MonoTouch.UIKit.UIButton sender);
-
- [MonoTouch.Foundation.Connect("view")]
- private MonoTouch.UIKit.UIView view {
- get {
- this.__mt_view = ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
- return this.__mt_view;
- }
- set {
- this.__mt_view = value;
- this.SetNativeField("view", value);
- }
- }
-
- [MonoTouch.Foundation.Connect("firstName")]
- private MonoTouch.UIKit.UILabel firstName {
- get {
- this.__mt_firstName = ((MonoTouch.UIKit.UILabel)(this.GetNativeField("firstName")));
- return this.__mt_firstName;
- }
- set {
- this.__mt_firstName = value;
- this.SetNativeField("firstName", value);
- }
- }
-
- [MonoTouch.Foundation.Connect("lastName")]
- private MonoTouch.UIKit.UILabel lastName {
- get {
- this.__mt_lastName = ((MonoTouch.UIKit.UILabel)(this.GetNativeField("lastName")));
- return this.__mt_lastName;
- }
- set {
- this.__mt_lastName = value;
- this.SetNativeField("lastName", value);
- }
- }
-
- [MonoTouch.Foundation.Connect("performAction")]
- private MonoTouch.UIKit.UISwitch performAction {
- get {
- this.__mt_performAction = ((MonoTouch.UIKit.UISwitch)(this.GetNativeField("performAction")));
- return this.__mt_performAction;
- }
- set {
- this.__mt_performAction = value;
- this.SetNativeField("performAction", value);
- }
- }
-
- [MonoTouch.Foundation.Connect("selectProperty")]
- private MonoTouch.UIKit.UISwitch selectProperty {
- get {
- this.__mt_selectProperty = ((MonoTouch.UIKit.UISwitch)(this.GetNativeField("selectProperty")));
- return this.__mt_selectProperty;
- }
- set {
- this.__mt_selectProperty = value;
- this.SetNativeField("selectProperty", value);
- }
- }
-
- [MonoTouch.Foundation.Connect("property")]
- private MonoTouch.UIKit.UILabel property {
- get {
- this.__mt_property = ((MonoTouch.UIKit.UILabel)(this.GetNativeField("property")));
- return this.__mt_property;
- }
- set {
- this.__mt_property = value;
- this.SetNativeField("property", value);
- }
- }
-
- [MonoTouch.Foundation.Connect("identifier")]
- private MonoTouch.UIKit.UILabel identifier {
- get {
- this.__mt_identifier = ((MonoTouch.UIKit.UILabel)(this.GetNativeField("identifier")));
- return this.__mt_identifier;
- }
- set {
- this.__mt_identifier = value;
- this.SetNativeField("identifier", value);
- }
- }
-
- [MonoTouch.Foundation.Connect("toString")]
- private MonoTouch.UIKit.UILabel toString {
- get {
- this.__mt_toString = ((MonoTouch.UIKit.UILabel)(this.GetNativeField("toString")));
- return this.__mt_toString;
- }
- set {
- this.__mt_toString = value;
- this.SetNativeField("toString", value);
- }
- }
-}
diff --git a/MonoCatalogSample/xibs/AlertsViewController.xib b/MonoCatalogSample/xibs/AlertsViewController.xib
deleted file mode 100644
index f1f16c27..00000000
--- a/MonoCatalogSample/xibs/AlertsViewController.xib
+++ /dev/null
@@ -1,144 +0,0 @@
-
-
-
- 768
- 9G55
- 677
- 949.43
- 353.00
-
- YES
-
-
- YES
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- YES
-
- IBFilesOwner
-
-
- IBFirstResponder
-
-
-
- 274
- {320, 460}
- NO
- YES
- NO
- 1
- 1
- 0
- YES
- 4.400000e+01
- 1.000000e+01
- 1.000000e+01
-
-
-
-
- YES
-
-
- view
-
-
-
- 8
-
-
-
-
- YES
-
- 0
-
- YES
-
-
-
-
-
- -1
-
-
- RmlsZSdzIE93bmVyA
-
-
- -2
-
-
-
-
- 5
-
-
-
-
-
-
- YES
-
- YES
- -1.CustomClassName
- -2.CustomClassName
- 5.IBPluginDependency
-
-
- YES
- AlertsViewController
- UIResponder
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- 8
-
-
-
- YES
-
- AlertsViewController
- UITableViewController
-
- IBProjectSource
- AlertsViewController.h
-
-
-
-
- 0
- ../UICatalog.xcodeproj
- 3
-
-
diff --git a/MonoCatalogSample/xibs/AlertsViewController.xib.designer.cs b/MonoCatalogSample/xibs/AlertsViewController.xib.designer.cs
deleted file mode 100644
index 71d1f2cc..00000000
--- a/MonoCatalogSample/xibs/AlertsViewController.xib.designer.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-// ------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Mono Runtime Version: 2.0.50727.1433
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-// ------------------------------------------------------------------------------
-
-// Base type probably should be MonoTouch.UIKit.UIViewController or subclass
-[MonoTouch.Foundation.Register("AlertsViewController")]
-public partial class AlertsViewController {
-
- private MonoTouch.UIKit.UITableView __mt_view;
-
- #pragma warning disable 0169
- [MonoTouch.Foundation.Connect("view")]
- private MonoTouch.UIKit.UITableView view {
- get {
- this.__mt_view = ((MonoTouch.UIKit.UITableView)(this.GetNativeField("view")));
- return this.__mt_view;
- }
- set {
- this.__mt_view = value;
- this.SetNativeField("view", value);
- }
- }
-}
diff --git a/MonoCatalogSample/xibs/ButtonsViewController.xib b/MonoCatalogSample/xibs/ButtonsViewController.xib
deleted file mode 100644
index 00e7ab06..00000000
--- a/MonoCatalogSample/xibs/ButtonsViewController.xib
+++ /dev/null
@@ -1,147 +0,0 @@
-
-
-
- 768
- 9G55
- 677
- 949.43
- 353.00
-
- YES
-
-
- YES
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- YES
-
- IBFilesOwner
-
-
- IBFirstResponder
-
-
-
- 274
- {320, 247}
- NO
- YES
- NO
- NO
- 1
- 1
- 0
- YES
- 4.400000e+01
- 2.700000e+01
- 2.700000e+01
-
-
-
-
- YES
-
-
- view
-
-
-
- 3
-
-
-
-
- YES
-
- 0
-
- YES
-
-
-
-
-
- -1
-
-
- RmlsZSdzIE93bmVyA
-
-
- -2
-
-
-
-
- 2
-
-
-
-
-
-
- YES
-
- YES
- -1.CustomClassName
- -2.CustomClassName
- 2.IBEditorWindowLastContentRect
- 2.IBPluginDependency
-
-
- YES
- ButtonsViewController
- UIResponder
- {{0, 748}, {320, 247}}
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- 3
-
-
-
- YES
-
- ButtonsViewController
- UITableViewController
-
- IBProjectSource
- ButtonsViewController.h
-
-
-
-
- 0
- ../UICatalog.xcodeproj
- 3
-
-
diff --git a/MonoCatalogSample/xibs/ButtonsViewController.xib.designer.cs b/MonoCatalogSample/xibs/ButtonsViewController.xib.designer.cs
deleted file mode 100644
index e98fe3a5..00000000
--- a/MonoCatalogSample/xibs/ButtonsViewController.xib.designer.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-// ------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Mono Runtime Version: 2.0.50727.1433
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-// ------------------------------------------------------------------------------
-
-// Base type probably should be MonoTouch.UIKit.UIViewController or subclass
-[MonoTouch.Foundation.Register("ButtonsViewController")]
-public partial class ButtonsViewController {
-
- private MonoTouch.UIKit.UITableView __mt_view;
-
- #pragma warning disable 0169
- [MonoTouch.Foundation.Connect("view")]
- private MonoTouch.UIKit.UITableView view {
- get {
- this.__mt_view = ((MonoTouch.UIKit.UITableView)(this.GetNativeField("view")));
- return this.__mt_view;
- }
- set {
- this.__mt_view = value;
- this.SetNativeField("view", value);
- }
- }
-}
diff --git a/MonoCatalogSample/xibs/ControlsViewController.xib b/MonoCatalogSample/xibs/ControlsViewController.xib
deleted file mode 100755
index 7647b6f7..00000000
--- a/MonoCatalogSample/xibs/ControlsViewController.xib
+++ /dev/null
@@ -1,147 +0,0 @@
-
-
-
- 768
- 9G55
- 677
- 949.43
- 353.00
-
- YES
-
-
- YES
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- YES
-
- IBFilesOwner
-
-
- IBFirstResponder
-
-
-
- 274
- {320, 247}
- NO
- YES
- NO
- NO
- 1
- 1
- 0
- YES
- 4.400000e+01
- 2.700000e+01
- 2.700000e+01
-
-
-
-
- YES
-
-
- view
-
-
-
- 4
-
-
-
-
- YES
-
- 0
-
- YES
-
-
-
-
-
- -1
-
-
- RmlsZSdzIE93bmVyA
-
-
- -2
-
-
-
-
- 2
-
-
-
-
-
-
- YES
-
- YES
- -1.CustomClassName
- -2.CustomClassName
- 2.IBEditorWindowLastContentRect
- 2.IBPluginDependency
-
-
- YES
- ControlsViewController
- UIResponder
- {{0, 748}, {320, 247}}
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- 4
-
-
-
- YES
-
- ControlsViewController
- UITableViewController
-
- IBProjectSource
- ControlsViewController.h
-
-
-
-
- 0
- ../UICatalog.xcodeproj
- 3
-
-
diff --git a/MonoCatalogSample/xibs/ControlsViewController.xib.designer.cs b/MonoCatalogSample/xibs/ControlsViewController.xib.designer.cs
deleted file mode 100644
index e9c3ee64..00000000
--- a/MonoCatalogSample/xibs/ControlsViewController.xib.designer.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-// ------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Mono Runtime Version: 2.0.50727.1433
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-// ------------------------------------------------------------------------------
-
-// Base type probably should be MonoTouch.UIKit.UIViewController or subclass
-[MonoTouch.Foundation.Register("ControlsViewController")]
-public partial class ControlsViewController {
-
- private MonoTouch.UIKit.UITableView __mt_view;
-
- #pragma warning disable 0169
- [MonoTouch.Foundation.Connect("view")]
- private MonoTouch.UIKit.UITableView view {
- get {
- this.__mt_view = ((MonoTouch.UIKit.UITableView)(this.GetNativeField("view")));
- return this.__mt_view;
- }
- set {
- this.__mt_view = value;
- this.SetNativeField("view", value);
- }
- }
-}
diff --git a/MonoCatalogSample/xibs/ImagesViewController.xib b/MonoCatalogSample/xibs/ImagesViewController.xib
deleted file mode 100644
index e18dda63..00000000
--- a/MonoCatalogSample/xibs/ImagesViewController.xib
+++ /dev/null
@@ -1,264 +0,0 @@
-
-
-
- 768
- 9G55
- 677
- 949.43
- 353.00
-
- YES
-
-
-
- YES
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- YES
-
- IBFilesOwner
-
-
- IBFirstResponder
-
-
-
- 292
-
- YES
-
-
- 292
- {{18, 362}, {284, 23}}
-
- NO
- YES
- YES
- 0
- 0
- 5.000000e+00
- 1.000000e+01
-
-
-
- 292
- {{128, 389}, {65, 21}}
-
- NO
- YES
- NO
- Duration
-
- Helvetica
- 1.400000e+01
- 16
-
-
- 1
- MSAxIDEAA
-
- 1
-
-
-
- 1
- 1.000000e+01
- 1
-
-
-
- 292
- {{20, 39}, {280, 207}}
-
- NO
- NO
- 1
- NO
-
-
- {320, 460}
-
-
- 1
- MCAwIDAAA
-
- NO
-
-
-
-
- YES
-
-
- view
-
-
-
- 7
-
-
-
- imageView
-
-
-
- 13
-
-
-
- sliderAction:
-
-
- 13
-
- 14
-
-
-
- slider
-
-
-
- 15
-
-
-
-
- YES
-
- 0
-
- YES
-
-
-
-
-
- -1
-
-
- RmlsZSdzIE93bmVyA
-
-
- -2
-
-
-
-
- 6
-
-
- YES
-
-
-
-
-
-
-
- 8
-
-
-
-
- 9
-
-
-
-
- 11
-
-
-
-
-
-
- YES
-
- YES
- -1.CustomClassName
- -2.CustomClassName
- 11.IBPluginDependency
- 6.IBEditorWindowLastContentRect
- 6.IBPluginDependency
- 8.IBPluginDependency
- 9.IBPluginDependency
-
-
- YES
- ImagesViewController
- UIResponder
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- {{0, 535}, {320, 460}}
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- 15
-
-
-
- YES
-
- ImagesViewController
- UIViewController
-
- sliderAction:
- id
-
-
- YES
-
- YES
- imageView
- slider
-
-
- YES
- UIImageView
- UISlider
-
-
-
- IBProjectSource
- ImagesViewController.h
-
-
-
-
- 0
- ../UICatalog.xcodeproj
- 3
-
-
diff --git a/MonoCatalogSample/xibs/ImagesViewController.xib.designer.cs b/MonoCatalogSample/xibs/ImagesViewController.xib.designer.cs
deleted file mode 100644
index 3e86cdd2..00000000
--- a/MonoCatalogSample/xibs/ImagesViewController.xib.designer.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-// ------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Mono Runtime Version: 2.0.50727.1433
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-// ------------------------------------------------------------------------------
-
-// Base type probably should be MonoTouch.UIKit.UIViewController or subclass
-[MonoTouch.Foundation.Register("ImagesViewController")]
-public partial class ImagesViewController {
-
- private MonoTouch.UIKit.UIView __mt_view;
-
- private MonoTouch.UIKit.UIImageView __mt_imageView;
-
- private MonoTouch.UIKit.UISlider __mt_slider;
-
- #pragma warning disable 0169
- [MonoTouch.Foundation.Export("sliderAction:")]
- partial void sliderAction (MonoTouch.UIKit.UISlider sender);
-
- [MonoTouch.Foundation.Connect("view")]
- private MonoTouch.UIKit.UIView view {
- get {
- this.__mt_view = ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
- return this.__mt_view;
- }
- set {
- this.__mt_view = value;
- this.SetNativeField("view", value);
- }
- }
-
- [MonoTouch.Foundation.Connect("imageView")]
- private MonoTouch.UIKit.UIImageView imageView {
- get {
- this.__mt_imageView = ((MonoTouch.UIKit.UIImageView)(this.GetNativeField("imageView")));
- return this.__mt_imageView;
- }
- set {
- this.__mt_imageView = value;
- this.SetNativeField("imageView", value);
- }
- }
-
- [MonoTouch.Foundation.Connect("slider")]
- private MonoTouch.UIKit.UISlider slider {
- get {
- this.__mt_slider = ((MonoTouch.UIKit.UISlider)(this.GetNativeField("slider")));
- return this.__mt_slider;
- }
- set {
- this.__mt_slider = value;
- this.SetNativeField("slider", value);
- }
- }
-}
diff --git a/MonoCatalogSample/xibs/MainWindow.xib b/MonoCatalogSample/xibs/MainWindow.xib
deleted file mode 100644
index 85418e13..00000000
--- a/MonoCatalogSample/xibs/MainWindow.xib
+++ /dev/null
@@ -1,291 +0,0 @@
-
-
-
- 768
- 9J61
- 677
- 949.46
- 353.00
-
- YES
-
-
- YES
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- YES
-
- IBFilesOwner
-
-
- IBFirstResponder
-
-
-
- 1292
-
- {320, 480}
-
- 1
- MSAxIDEAA
-
- NO
- NO
-
-
-
-
-
-
- 256
- {0, 0}
- NO
- YES
- YES
-
-
- YES
-
-
-
- 274
- {320, 416}
-
- NO
- YES
- NO
- 1
- 0
- YES
- 4.400000e+01
- 2.700000e+01
- 2.700000e+01
-
-
- UICatalog
-
-
-
-
-
-
-
-
- YES
-
-
- delegate
-
-
-
- 4
-
-
-
- window
-
-
-
- 5
-
-
-
- navigationController
-
-
-
- 10
-
-
-
-
- YES
-
- 0
-
- YES
-
-
-
-
-
- 2
-
-
-
-
- -1
-
-
- RmlsZSdzIE93bmVyA
-
-
- 3
-
-
- AppDelegate
-
-
- -2
-
-
-
-
- 6
-
-
- YES
-
-
-
-
-
-
- 7
-
-
- YES
-
-
-
-
-
-
- 8
-
-
-
-
- 9
-
-
- YES
-
-
-
-
- 13
-
-
-
-
-
-
- YES
-
- YES
- -1.CustomClassName
- -2.CustomClassName
- 13.IBPluginDependency
- 2.IBAttributePlaceholdersKey
- 2.IBEditorWindowLastContentRect
- 2.IBPluginDependency
- 2.UIWindow.visibleAtLaunch
- 3.CustomClassName
- 3.IBPluginDependency
- 6.IBEditorWindowLastContentRect
- 6.IBPluginDependency
- 7.CustomClassName
- 7.IBPluginDependency
- 8.IBPluginDependency
- 9.IBPluginDependency
-
-
- YES
- UIApplication
- UIResponder
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
- YES
-
- YES
-
-
- YES
-
-
- {{56, 499}, {320, 480}}
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
- AppDelegate
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- {{420, 59}, {320, 480}}
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- MainViewController
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- 17
-
-
-
- YES
-
- AppDelegate
- NSObject
-
- YES
-
- YES
- navigationController
- window
-
-
- YES
- UINavigationController
- UIWindow
-
-
-
- IBProjectSource
- AppDelegate.h
-
-
-
- MainViewController
- UITableViewController
-
- IBProjectSource
- MainViewController.h
-
-
-
-
- 0
- ../UICatalog.xcodeproj
- 3
- 3.0
-
-
diff --git a/MonoCatalogSample/xibs/MainWindow.xib.designer.cs b/MonoCatalogSample/xibs/MainWindow.xib.designer.cs
deleted file mode 100644
index 35a05947..00000000
--- a/MonoCatalogSample/xibs/MainWindow.xib.designer.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-// ------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Mono Runtime Version: 2.0.50727.1433
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-// ------------------------------------------------------------------------------
-
-// Base type probably should be MonoTouch.Foundation.NSObject or subclass
-[MonoTouch.Foundation.Register("AppDelegate")]
-public partial class AppDelegate {
-
- private MonoTouch.UIKit.UIWindow __mt_window;
-
- private MonoTouch.UIKit.UINavigationController __mt_navigationController;
-
- #pragma warning disable 0169
- [MonoTouch.Foundation.Connect("window")]
- private MonoTouch.UIKit.UIWindow window {
- get {
- this.__mt_window = ((MonoTouch.UIKit.UIWindow)(this.GetNativeField("window")));
- return this.__mt_window;
- }
- set {
- this.__mt_window = value;
- this.SetNativeField("window", value);
- }
- }
-
- [MonoTouch.Foundation.Connect("navigationController")]
- private MonoTouch.UIKit.UINavigationController navigationController {
- get {
- this.__mt_navigationController = ((MonoTouch.UIKit.UINavigationController)(this.GetNativeField("navigationController")));
- return this.__mt_navigationController;
- }
- set {
- this.__mt_navigationController = value;
- this.SetNativeField("navigationController", value);
- }
- }
-}
-
-// Base type probably should be MonoTouch.UIKit.UIViewController or subclass
-[MonoTouch.Foundation.Register("MainViewController")]
-public partial class MainViewController {
-}
diff --git a/MonoCatalogSample/xibs/PickerViewController.xib b/MonoCatalogSample/xibs/PickerViewController.xib
deleted file mode 100644
index a477459c..00000000
--- a/MonoCatalogSample/xibs/PickerViewController.xib
+++ /dev/null
@@ -1,415 +0,0 @@
-
-
-
- 768
- 9G55
- 677
- 949.43
- 353.00
-
- YES
-
-
-
- YES
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- YES
-
- IBFilesOwner
-
-
- IBFirstResponder
-
-
-
- 274
-
- YES
-
-
- 266
-
- YES
-
-
- 292
- {{12, 7}, {299, 30}}
-
- NO
- NO
- 2
- 3
- 0
-
- YES
- UIPicker
- UIDatePicker
- Custom
-
-
- YES
-
-
-
-
-
- YES
-
-
-
-
-
- YES
- {0, 0}
- {0, 0}
- {0, 0}
-
-
- YES
-
-
-
-
-
-
- {{0, 416}, {320, 44}}
-
- NO
- NO
-
- YES
-
-
-
-
-
-
- 3
- MCAwLjAyOTk5OTk5OQA
-
-
-
-
- -2147483347
- {{51, 59}, {207, 30}}
-
- NO
- NO
- 2
- 4
- 1
-
- YES
- 1
- 2
- 3
- 4
-
-
- YES
-
-
-
-
-
-
- YES
-
-
-
-
-
-
- YES
- {0, 0}
- {0, 0}
- {0, 0}
- {0, 0}
-
-
- YES
-
-
-
-
-
-
-
-
- -2147483347
- {{20, 30}, {280, 21}}
-
- NO
- YES
- NO
-
-
- Helvetica
- 1.400000e+01
- 16
-
-
- 1
- MSAxIDEAA
-
- 1
-
-
-
- 1
- 1.000000e+01
- 1
-
-
- {320, 460}
-
-
- 1
- MCAwIDAAA
-
- NO
-
-
-
-
- YES
-
-
- view
-
-
-
- 6
-
-
-
- buttonBarSegmentedControl
-
-
-
- 11
-
-
-
- togglePickerStyle:
-
-
- 13
-
- 13
-
-
-
- togglePickers:
-
-
-
- 14
-
-
-
- togglePickers:
-
-
- 13
-
- 15
-
-
-
- pickerStyleSegmentedControl
-
-
-
- 18
-
-
-
- segmentLabel
-
-
-
- 19
-
-
-
- togglePickerStyle:
-
-
- 13
-
- 20
-
-
-
-
- YES
-
- 0
-
- YES
-
-
-
-
-
- -1
-
-
- RmlsZSdzIE93bmVyA
-
-
- -2
-
-
-
-
- 3
-
-
- YES
-
-
-
-
-
-
-
- 7
-
-
- YES
-
-
-
-
-
- 10
-
-
- YES
-
-
-
-
-
- 9
-
-
-
-
- 16
-
-
-
-
- 17
-
-
-
-
-
-
- YES
-
- YES
- -1.CustomClassName
- -2.CustomClassName
- 16.IBPluginDependency
- 17.IBPluginDependency
- 3.IBEditorWindowLastContentRect
- 3.IBPluginDependency
- 7.IBPluginDependency
- 9.IBPluginDependency
-
-
- YES
- PickerViewController
- UIResponder
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- {{0, 535}, {320, 460}}
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- 20
-
-
-
- YES
-
- PickerViewController
- UIViewController
-
- YES
-
- YES
- togglePickerStyle:
- togglePickers:
-
-
- YES
- id
- id
-
-
-
- YES
-
- YES
- buttonBarSegmentedControl
- pickerStyleSegmentedControl
- segmentLabel
-
-
- YES
- UISegmentedControl
- UISegmentedControl
- UILabel
-
-
-
- IBProjectSource
- PickerViewController.h
-
-
-
-
- 0
- ../UICatalog.xcodeproj
- 3
-
-
diff --git a/MonoCatalogSample/xibs/PickerViewController.xib.designer.cs b/MonoCatalogSample/xibs/PickerViewController.xib.designer.cs
deleted file mode 100644
index cc71293a..00000000
--- a/MonoCatalogSample/xibs/PickerViewController.xib.designer.cs
+++ /dev/null
@@ -1,77 +0,0 @@
-// ------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Mono Runtime Version: 2.0.50727.1433
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-// ------------------------------------------------------------------------------
-
-// Base type probably should be MonoTouch.UIKit.UIViewController or subclass
-[MonoTouch.Foundation.Register("PickerViewController")]
-public partial class PickerViewController {
-
- private MonoTouch.UIKit.UIView __mt_view;
-
- private MonoTouch.UIKit.UISegmentedControl __mt_buttonBarSegmentedControl;
-
- private MonoTouch.UIKit.UISegmentedControl __mt_pickerStyleSegmentedControl;
-
- private MonoTouch.UIKit.UILabel __mt_segmentLabel;
-
- #pragma warning disable 0169
- [MonoTouch.Foundation.Export("togglePickerStyle:")]
- partial void togglePickerStyle (MonoTouch.UIKit.UISegmentedControl sender);
-
- [MonoTouch.Foundation.Export("togglePickers:")]
- partial void togglePickers (MonoTouch.UIKit.UIBarButtonItem sender);
-
- [MonoTouch.Foundation.Connect("view")]
- private MonoTouch.UIKit.UIView view {
- get {
- this.__mt_view = ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
- return this.__mt_view;
- }
- set {
- this.__mt_view = value;
- this.SetNativeField("view", value);
- }
- }
-
- [MonoTouch.Foundation.Connect("buttonBarSegmentedControl")]
- private MonoTouch.UIKit.UISegmentedControl buttonBarSegmentedControl {
- get {
- this.__mt_buttonBarSegmentedControl = ((MonoTouch.UIKit.UISegmentedControl)(this.GetNativeField("buttonBarSegmentedControl")));
- return this.__mt_buttonBarSegmentedControl;
- }
- set {
- this.__mt_buttonBarSegmentedControl = value;
- this.SetNativeField("buttonBarSegmentedControl", value);
- }
- }
-
- [MonoTouch.Foundation.Connect("pickerStyleSegmentedControl")]
- private MonoTouch.UIKit.UISegmentedControl pickerStyleSegmentedControl {
- get {
- this.__mt_pickerStyleSegmentedControl = ((MonoTouch.UIKit.UISegmentedControl)(this.GetNativeField("pickerStyleSegmentedControl")));
- return this.__mt_pickerStyleSegmentedControl;
- }
- set {
- this.__mt_pickerStyleSegmentedControl = value;
- this.SetNativeField("pickerStyleSegmentedControl", value);
- }
- }
-
- [MonoTouch.Foundation.Connect("segmentLabel")]
- private MonoTouch.UIKit.UILabel segmentLabel {
- get {
- this.__mt_segmentLabel = ((MonoTouch.UIKit.UILabel)(this.GetNativeField("segmentLabel")));
- return this.__mt_segmentLabel;
- }
- set {
- this.__mt_segmentLabel = value;
- this.SetNativeField("segmentLabel", value);
- }
- }
-}
diff --git a/MonoCatalogSample/xibs/SearchBarController.xib b/MonoCatalogSample/xibs/SearchBarController.xib
deleted file mode 100755
index af185fe8..00000000
--- a/MonoCatalogSample/xibs/SearchBarController.xib
+++ /dev/null
@@ -1,142 +0,0 @@
-
-
-
- 768
- 9G55
- 677
- 949.43
- 353.00
-
- YES
-
-
- YES
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- YES
-
- IBFilesOwner
-
-
- IBFirstResponder
-
-
-
- 292
- {{116, 125}, {320, 460}}
-
- 3
- MQA
-
- 2
-
-
- NO
-
-
-
-
- YES
-
-
- view
-
-
-
- 7
-
-
-
-
- YES
-
- 0
-
- YES
-
-
-
-
-
- -1
-
-
- RmlsZSdzIE93bmVyA
-
-
- -2
-
-
-
-
- 6
-
-
-
-
-
-
- YES
-
- YES
- -1.CustomClassName
- -2.CustomClassName
- 6.IBPluginDependency
-
-
- YES
- SearchBarController
- UIResponder
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- 7
-
-
-
- YES
-
- SearchBarController
- UIViewController
-
- IBProjectSource
- SearchBarController.h
-
-
-
-
- 0
- ../UICatalog.xcodeproj
- 3
-
-
diff --git a/MonoCatalogSample/xibs/SearchBarController.xib.designer.cs b/MonoCatalogSample/xibs/SearchBarController.xib.designer.cs
deleted file mode 100644
index c52c6264..00000000
--- a/MonoCatalogSample/xibs/SearchBarController.xib.designer.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-// ------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Mono Runtime Version: 2.0.50727.1433
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-// ------------------------------------------------------------------------------
-
-// Base type probably should be MonoTouch.UIKit.UIViewController or subclass
-[MonoTouch.Foundation.Register("SearchBarController")]
-public partial class SearchBarController {
-
- private MonoTouch.UIKit.UIView __mt_view;
-
- #pragma warning disable 0169
- [MonoTouch.Foundation.Connect("view")]
- private MonoTouch.UIKit.UIView view {
- get {
- this.__mt_view = ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
- return this.__mt_view;
- }
- set {
- this.__mt_view = value;
- this.SetNativeField("view", value);
- }
- }
-}
diff --git a/MonoCatalogSample/xibs/SegmentViewController.xib b/MonoCatalogSample/xibs/SegmentViewController.xib
deleted file mode 100644
index b6ae4a87..00000000
--- a/MonoCatalogSample/xibs/SegmentViewController.xib
+++ /dev/null
@@ -1,143 +0,0 @@
-
-
-
- 768
- 9G55
- 677
- 949.43
- 353.00
-
- YES
-
-
-
- YES
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- YES
-
- IBFilesOwner
-
-
- IBFirstResponder
-
-
-
- 292
- {320, 460}
-
-
- 1
- MSAxIDEAA
-
- NO
-
-
-
-
- YES
-
-
- view
-
-
-
- 7
-
-
-
-
- YES
-
- 0
-
- YES
-
-
-
-
-
- -1
-
-
- RmlsZSdzIE93bmVyA
-
-
- -2
-
-
-
-
- 6
-
-
-
-
-
-
- YES
-
- YES
- -1.CustomClassName
- -2.CustomClassName
- 6.IBEditorWindowLastContentRect
- 6.IBPluginDependency
-
-
- YES
- SegmentViewController
- UIResponder
- {{0, 535}, {320, 460}}
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- 7
-
-
-
- YES
-
- SegmentViewController
- UIViewController
-
- IBProjectSource
- SegmentViewController.h
-
-
-
-
- 0
- ../UICatalog.xcodeproj
- 3
-
-
diff --git a/MonoCatalogSample/xibs/SegmentViewController.xib.designer.cs b/MonoCatalogSample/xibs/SegmentViewController.xib.designer.cs
deleted file mode 100644
index b7c583b7..00000000
--- a/MonoCatalogSample/xibs/SegmentViewController.xib.designer.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-// ------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Mono Runtime Version: 2.0.50727.1433
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-// ------------------------------------------------------------------------------
-
-// Base type probably should be MonoTouch.UIKit.UIViewController or subclass
-[MonoTouch.Foundation.Register("SegmentViewController")]
-public partial class SegmentViewController {
-
- private MonoTouch.UIKit.UIView __mt_view;
-
- #pragma warning disable 0169
- [MonoTouch.Foundation.Connect("view")]
- private MonoTouch.UIKit.UIView view {
- get {
- this.__mt_view = ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
- return this.__mt_view;
- }
- set {
- this.__mt_view = value;
- this.SetNativeField("view", value);
- }
- }
-}
diff --git a/MonoCatalogSample/xibs/TextFieldController.xib b/MonoCatalogSample/xibs/TextFieldController.xib
deleted file mode 100755
index 7ca37648..00000000
--- a/MonoCatalogSample/xibs/TextFieldController.xib
+++ /dev/null
@@ -1,167 +0,0 @@
-
-
-
- 768
- 9G55
- 677
- 949.43
- 353.00
-
- YES
-
-
- YES
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- YES
-
- IBFilesOwner
-
-
- IBFirstResponder
-
-
-
- 290
- {320, 416}
- NO
- YES
- NO
- NO
- 1
- 1
- 0
- YES
- 4.400000e+01
- 2.700000e+01
- 2.700000e+01
-
-
-
-
- YES
-
-
- view
-
-
-
- 20
-
-
-
- dataSource
-
-
-
- 21
-
-
-
- delegate
-
-
-
- 22
-
-
-
-
- YES
-
- 0
-
- YES
-
-
-
-
-
- -1
-
-
- RmlsZSdzIE93bmVyA
-
-
- -2
-
-
-
-
- 4
-
-
-
-
-
-
- YES
-
- YES
- -1.CustomClassName
- -2.CustomClassName
- 4.IBEditorWindowLastContentRect
- 4.IBPluginDependency
-
-
- YES
- TextFieldController
- UIResponder
- {{0, 748}, {320, 247}}
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- 22
-
-
-
- YES
-
- TextFieldController
- UITableViewController
-
- toolbar
- UIToolbar
-
-
- IBProjectSource
- TextFieldController.h
-
-
-
-
- 0
- ../UICatalog.xcodeproj
- 3
-
-
diff --git a/MonoCatalogSample/xibs/TextFieldController.xib.designer.cs b/MonoCatalogSample/xibs/TextFieldController.xib.designer.cs
deleted file mode 100644
index a9dab3dd..00000000
--- a/MonoCatalogSample/xibs/TextFieldController.xib.designer.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-// ------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Mono Runtime Version: 2.0.50727.1433
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-// ------------------------------------------------------------------------------
-
-// Base type probably should be MonoTouch.UIKit.UIViewController or subclass
-[MonoTouch.Foundation.Register("TextFieldController")]
-public partial class TextFieldController {
-
- private MonoTouch.UIKit.UITableView __mt_view;
-
- #pragma warning disable 0169
- [MonoTouch.Foundation.Connect("view")]
- private MonoTouch.UIKit.UITableView view {
- get {
- this.__mt_view = ((MonoTouch.UIKit.UITableView)(this.GetNativeField("view")));
- return this.__mt_view;
- }
- set {
- this.__mt_view = value;
- this.SetNativeField("view", value);
- }
- }
-}
diff --git a/MonoCatalogSample/xibs/TextViewController.xib b/MonoCatalogSample/xibs/TextViewController.xib
deleted file mode 100755
index 327490aa..00000000
--- a/MonoCatalogSample/xibs/TextViewController.xib
+++ /dev/null
@@ -1,149 +0,0 @@
-
-
-
- 768
- 9G55
- 677
- 949.43
- 353.00
-
- YES
-
-
-
- YES
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- YES
-
- IBFilesOwner
-
-
- IBFirstResponder
-
-
-
- 292
- {320, 460}
-
-
- 3
- MQA
-
- 2
-
-
- NO
-
-
-
-
- YES
-
-
- view
-
-
-
- 7
-
-
-
-
- YES
-
- 0
-
- YES
-
-
-
-
-
- -1
-
-
- RmlsZSdzIE93bmVyA
-
-
- -2
-
-
-
-
- 6
-
-
- YES
-
-
-
-
-
-
- YES
-
- YES
- -1.CustomClassName
- -2.CustomClassName
- 6.IBEditorWindowLastContentRect
- 6.IBPluginDependency
-
-
- YES
- TextViewController
- UIResponder
- {{0, 535}, {320, 460}}
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- 9
-
-
-
- YES
-
- TextViewController
- UIViewController
-
- IBProjectSource
- TextViewController.h
-
-
-
-
- 0
- ../UICatalog.xcodeproj
- 3
-
-
diff --git a/MonoCatalogSample/xibs/TextViewController.xib.designer.cs b/MonoCatalogSample/xibs/TextViewController.xib.designer.cs
deleted file mode 100644
index a328135b..00000000
--- a/MonoCatalogSample/xibs/TextViewController.xib.designer.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-// ------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Mono Runtime Version: 2.0.50727.1433
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-// ------------------------------------------------------------------------------
-
-// Base type probably should be MonoTouch.UIKit.UIViewController or subclass
-[MonoTouch.Foundation.Register("TextViewController")]
-public partial class TextViewController {
-
- private MonoTouch.UIKit.UIView __mt_view;
-
- #pragma warning disable 0169
- [MonoTouch.Foundation.Connect("view")]
- private MonoTouch.UIKit.UIView view {
- get {
- this.__mt_view = ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
- return this.__mt_view;
- }
- set {
- this.__mt_view = value;
- this.SetNativeField("view", value);
- }
- }
-}
diff --git a/MonoCatalogSample/xibs/ToolbarViewController.xib b/MonoCatalogSample/xibs/ToolbarViewController.xib
deleted file mode 100644
index 19ea414b..00000000
--- a/MonoCatalogSample/xibs/ToolbarViewController.xib
+++ /dev/null
@@ -1,476 +0,0 @@
-
-
-
- 768
- 9J61
- 677
- 949.46
- 353.00
-
- YES
-
-
-
- YES
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- YES
-
- IBFilesOwner
-
-
- IBFirstResponder
-
-
-
- 292
-
- YES
-
-
- 292
- {{20, 106}, {280, 30}}
-
- NO
- NO
- 2
- 3
- 0
-
- YES
- Plain
- Bordered
- Done
-
-
- YES
-
-
-
-
-
- YES
-
-
-
-
-
- YES
- {0, 0}
- {0, 0}
- {0, 0}
-
-
- YES
-
-
-
-
-
-
-
- 292
- {{20, 22}, {280, 30}}
-
- NO
- NO
- 2
- 3
- 0
-
- YES
- Default
- Black
- Translucent
-
-
- YES
-
-
-
-
-
- YES
-
-
-
-
-
- YES
- {0, 0}
- {0, 0}
- {0, 0}
-
-
- YES
-
-
-
-
-
-
-
- 292
- {{206, 62}, {94, 27}}
-
- NO
- YES
- YES
- 0
- 0
-
-
-
- 292
- {{20, 87}, {164, 21}}
-
- NO
- YES
- NO
- UIBarButtonItemStyle:
-
- Helvetica
- 1.200000e+01
- 16
-
-
- 1
- MCAwIDAAA
-
-
- 1
- 1.000000e+01
-
-
-
- 292
- {{20, 3}, {164, 21}}
-
- NO
- YES
- NO
- UIBarStyle:
-
-
-
- 1
- 1.000000e+01
-
-
-
- 292
- {{145, 65}, {56, 21}}
-
- NO
- YES
- NO
- Tinted:
-
-
-
- 1
- 1.000000e+01
- 2
-
-
-
- 292
- {{0, 158}, {320, 216}}
-
- NO
- YES
- YES
- YES
-
-
-
- 292
- {{20, 140}, {164, 21}}
-
- NO
- YES
- NO
- UIBarButtonSystemItem:
-
-
-
- 1
- 1.000000e+01
-
-
- {320, 460}
-
-
- 1
- MSAxIDEAA
-
- NO
-
-
-
-
- YES
-
-
- view
-
-
-
- 7
-
-
-
- barStyleSegControl
-
-
-
- 16
-
-
-
- buttonItemStyleSegControl
-
-
-
- 17
-
-
-
- systemButtonPicker
-
-
-
- 18
-
-
-
- tintSwitch
-
-
-
- 19
-
-
-
- toggleStyle:
-
-
- 13
-
- 22
-
-
-
- toggleBarStyle:
-
-
- 13
-
- 23
-
-
-
- toggleTintColor:
-
-
- 13
-
- 24
-
-
-
-
- YES
-
- 0
-
- YES
-
-
-
-
-
- -1
-
-
- RmlsZSdzIE93bmVyA
-
-
- -2
-
-
-
-
- 6
-
-
- YES
-
-
-
-
-
-
-
-
-
-
-
-
- 8
-
-
-
-
- 9
-
-
-
-
- 10
-
-
-
-
- 11
-
-
-
-
- 12
-
-
-
-
- 13
-
-
-
-
- 14
-
-
-
-
- 15
-
-
-
-
-
-
- YES
-
- YES
- -1.CustomClassName
- -2.CustomClassName
- 10.IBPluginDependency
- 11.IBPluginDependency
- 12.IBPluginDependency
- 13.IBPluginDependency
- 14.IBPluginDependency
- 15.IBPluginDependency
- 6.IBEditorWindowLastContentRect
- 6.IBPluginDependency
- 8.IBPluginDependency
- 9.IBPluginDependency
-
-
- YES
- ToolbarViewController
- UIResponder
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- {{0, 396}, {320, 460}}
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- 24
-
-
-
- YES
-
- ToolbarViewController
- UIViewController
-
- YES
-
- YES
- toggleBarStyle:
- toggleStyle:
- toggleTintColor:
-
-
- YES
- id
- id
- id
-
-
-
- YES
-
- YES
- barStyleSegControl
- buttonItemStyleSegControl
- systemButtonPicker
- tintSwitch
-
-
- YES
- UISegmentedControl
- UISegmentedControl
- UIPickerView
- UISwitch
-
-
-
- IBProjectSource
- ToolbarViewController.h
-
-
-
-
- 0
- ../UICatalog.xcodeproj
- 3
- 3.0
-
-
diff --git a/MonoCatalogSample/xibs/ToolbarViewController.xib.designer.cs b/MonoCatalogSample/xibs/ToolbarViewController.xib.designer.cs
deleted file mode 100644
index c327c5cd..00000000
--- a/MonoCatalogSample/xibs/ToolbarViewController.xib.designer.cs
+++ /dev/null
@@ -1,94 +0,0 @@
-// ------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Mono Runtime Version: 2.0.50727.1433
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-// ------------------------------------------------------------------------------
-
-// Base type probably should be MonoTouch.UIKit.UIViewController or subclass
-[MonoTouch.Foundation.Register("ToolbarViewController")]
-public partial class ToolbarViewController {
-
- private MonoTouch.UIKit.UIView __mt_view;
-
- private MonoTouch.UIKit.UISegmentedControl __mt_barStyleSegControl;
-
- private MonoTouch.UIKit.UISegmentedControl __mt_buttonItemStyleSegControl;
-
- private MonoTouch.UIKit.UIPickerView __mt_systemButtonPicker;
-
- private MonoTouch.UIKit.UISwitch __mt_tintSwitch;
-
- #pragma warning disable 0169
- [MonoTouch.Foundation.Export("toggleStyle:")]
- partial void toggleStyle (MonoTouch.UIKit.UISegmentedControl sender);
-
- [MonoTouch.Foundation.Export("toggleBarStyle:")]
- partial void toggleBarStyle (MonoTouch.UIKit.UISegmentedControl sender);
-
- [MonoTouch.Foundation.Export("toggleTintColor:")]
- partial void toggleTintColor (MonoTouch.UIKit.UISwitch sender);
-
- [MonoTouch.Foundation.Connect("view")]
- private MonoTouch.UIKit.UIView view {
- get {
- this.__mt_view = ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
- return this.__mt_view;
- }
- set {
- this.__mt_view = value;
- this.SetNativeField("view", value);
- }
- }
-
- [MonoTouch.Foundation.Connect("barStyleSegControl")]
- private MonoTouch.UIKit.UISegmentedControl barStyleSegControl {
- get {
- this.__mt_barStyleSegControl = ((MonoTouch.UIKit.UISegmentedControl)(this.GetNativeField("barStyleSegControl")));
- return this.__mt_barStyleSegControl;
- }
- set {
- this.__mt_barStyleSegControl = value;
- this.SetNativeField("barStyleSegControl", value);
- }
- }
-
- [MonoTouch.Foundation.Connect("buttonItemStyleSegControl")]
- private MonoTouch.UIKit.UISegmentedControl buttonItemStyleSegControl {
- get {
- this.__mt_buttonItemStyleSegControl = ((MonoTouch.UIKit.UISegmentedControl)(this.GetNativeField("buttonItemStyleSegControl")));
- return this.__mt_buttonItemStyleSegControl;
- }
- set {
- this.__mt_buttonItemStyleSegControl = value;
- this.SetNativeField("buttonItemStyleSegControl", value);
- }
- }
-
- [MonoTouch.Foundation.Connect("systemButtonPicker")]
- private MonoTouch.UIKit.UIPickerView systemButtonPicker {
- get {
- this.__mt_systemButtonPicker = ((MonoTouch.UIKit.UIPickerView)(this.GetNativeField("systemButtonPicker")));
- return this.__mt_systemButtonPicker;
- }
- set {
- this.__mt_systemButtonPicker = value;
- this.SetNativeField("systemButtonPicker", value);
- }
- }
-
- [MonoTouch.Foundation.Connect("tintSwitch")]
- private MonoTouch.UIKit.UISwitch tintSwitch {
- get {
- this.__mt_tintSwitch = ((MonoTouch.UIKit.UISwitch)(this.GetNativeField("tintSwitch")));
- return this.__mt_tintSwitch;
- }
- set {
- this.__mt_tintSwitch = value;
- this.SetNativeField("tintSwitch", value);
- }
- }
-}
diff --git a/MonoCatalogSample/xibs/TransitionViewController.xib b/MonoCatalogSample/xibs/TransitionViewController.xib
deleted file mode 100644
index 0b12fc3f..00000000
--- a/MonoCatalogSample/xibs/TransitionViewController.xib
+++ /dev/null
@@ -1,255 +0,0 @@
-
-
-
- 768
- 9G55
- 677
- 949.43
- 353.00
-
- YES
-
-
-
- YES
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- YES
-
- IBFilesOwner
-
-
- IBFirstResponder
-
-
-
- 292
-
- YES
-
-
- 266
- {{0, 416}, {320, 44}}
-
- NO
- NO
-
- YES
-
- 1
-
- 5
-
-
- Flip Image
- 1
-
-
-
- Curl Image
- 1
-
-
-
-
- 5
-
-
-
- 1
- MC4wMDUzNjkzMzE3IDAuMDA1MzAzODUxOCAwLjAwNTQzNDgxMTEAA
-
-
-
- {320, 460}
-
-
- 1
- MCAwIDAAA
-
- NO
-
-
-
-
- YES
-
-
- view
-
-
-
- 7
-
-
-
- curlAction:
-
-
-
- 13
-
-
-
- flipAction:
-
-
-
- 14
-
-
-
-
- YES
-
- 0
-
- YES
-
-
-
-
-
- -1
-
-
- RmlsZSdzIE93bmVyA
-
-
- -2
-
-
-
-
- 6
-
-
- YES
-
-
-
-
-
- 8
-
-
- YES
-
-
-
-
-
-
-
-
- 9
-
-
-
-
- 10
-
-
-
-
- 11
-
-
-
-
- 12
-
-
-
-
-
-
- YES
-
- YES
- -1.CustomClassName
- -2.CustomClassName
- 10.IBPluginDependency
- 11.IBPluginDependency
- 12.IBPluginDependency
- 6.IBEditorWindowLastContentRect
- 6.IBPluginDependency
- 8.IBPluginDependency
- 9.IBPluginDependency
-
-
- YES
- TransitionViewController
- UIResponder
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- {{0, 535}, {320, 460}}
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- 14
-
-
-
- YES
-
- TransitionViewController
- UIViewController
-
- YES
-
- YES
- curlAction:
- flipAction:
-
-
- YES
- id
- id
-
-
-
- IBProjectSource
- TransitionViewController.h
-
-
-
-
- 0
- ../UICatalog.xcodeproj
- 3
-
-
diff --git a/MonoCatalogSample/xibs/TransitionViewController.xib.designer.cs b/MonoCatalogSample/xibs/TransitionViewController.xib.designer.cs
deleted file mode 100644
index b849aa24..00000000
--- a/MonoCatalogSample/xibs/TransitionViewController.xib.designer.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-// ------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Mono Runtime Version: 2.0.50727.1433
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-// ------------------------------------------------------------------------------
-
-// Base type probably should be MonoTouch.UIKit.UIViewController or subclass
-[MonoTouch.Foundation.Register("TransitionViewController")]
-public partial class TransitionViewController {
-
- private MonoTouch.UIKit.UIView __mt_view;
-
- #pragma warning disable 0169
- [MonoTouch.Foundation.Export("curlAction:")]
- partial void curlAction (MonoTouch.UIKit.UIBarButtonItem sender);
-
- [MonoTouch.Foundation.Export("flipAction:")]
- partial void flipAction (MonoTouch.UIKit.UIBarButtonItem sender);
-
- [MonoTouch.Foundation.Connect("view")]
- private MonoTouch.UIKit.UIView view {
- get {
- this.__mt_view = ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
- return this.__mt_view;
- }
- set {
- this.__mt_view = value;
- this.SetNativeField("view", value);
- }
- }
-}
diff --git a/MonoCatalogSample/xibs/WebViewController.xib b/MonoCatalogSample/xibs/WebViewController.xib
deleted file mode 100755
index 5fbdddba..00000000
--- a/MonoCatalogSample/xibs/WebViewController.xib
+++ /dev/null
@@ -1,141 +0,0 @@
-
-
-
- 768
- 9G55
- 677
- 949.43
- 353.00
-
- YES
-
-
- YES
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- YES
-
- IBFilesOwner
-
-
- IBFirstResponder
-
-
-
- 292
- {320, 460}
-
- 1
- MSAxIDEAA
-
- NO
-
-
-
-
- YES
-
-
- view
-
-
-
- 7
-
-
-
-
- YES
-
- 0
-
- YES
-
-
-
-
-
- -1
-
-
- RmlsZSdzIE93bmVyA
-
-
- -2
-
-
-
-
- 6
-
-
-
-
-
-
- YES
-
- YES
- -1.CustomClassName
- -2.CustomClassName
- 6.IBEditorWindowLastContentRect
- 6.IBPluginDependency
-
-
- YES
- WebViewController
- UIResponder
- {{0, 535}, {320, 460}}
- com.apple.InterfaceBuilder.IBCocoaTouchPlugin
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
-
- YES
-
- YES
-
-
- YES
-
-
-
- 7
-
-
-
- YES
-
- WebViewController
- UIViewController
-
- IBProjectSource
- WebViewController.h
-
-
-
-
- 0
- ../UICatalog.xcodeproj
- 3
-
-
diff --git a/MonoCatalogSample/xibs/WebViewController.xib.designer.cs b/MonoCatalogSample/xibs/WebViewController.xib.designer.cs
deleted file mode 100644
index c5a0fb7b..00000000
--- a/MonoCatalogSample/xibs/WebViewController.xib.designer.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-// ------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Mono Runtime Version: 2.0.50727.1433
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-// ------------------------------------------------------------------------------
-
-// Base type probably should be MonoTouch.UIKit.UIViewController or subclass
-[MonoTouch.Foundation.Register("WebViewController")]
-public partial class WebViewController {
-
- private MonoTouch.UIKit.UIView __mt_view;
-
- #pragma warning disable 0169
- [MonoTouch.Foundation.Connect("view")]
- private MonoTouch.UIKit.UIView view {
- get {
- this.__mt_view = ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
- return this.__mt_view;
- }
- set {
- this.__mt_view = value;
- this.SetNativeField("view", value);
- }
- }
-}