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 <title>", 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 <title>", 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", "<Alert Message>", null, "OK", null)) - alert.Show (); - } - - void AlertOkCancelAction () - { - using (var alert = new UIAlertView ("UIAlertView", "<Alert Message>", null, "Cancel", "OK")) - alert.Show (); - } - - void AlertOtherAction () - { - using (var alert = new UIAlertView ("UIAlertView", "<Alert Message>", 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 <CustomView> views; - - public CustomPickerModel () : base () { - views = new List <CustomView> (); - 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 = "<enter text>", - 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 = "<enter text>", - 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 = "<enter text>", - 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 = "<enter text>", - 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 ("<html><center><font size=+5 color='red'>An error occurred:<br>{0}</font></center></html>", 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 = "<enter a URL>", - 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 @@ -<?xml version="1.0" encoding="UTF-8"?> -<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.03"> - <data> - <int key="IBDocument.SystemTarget">768</int> - <string key="IBDocument.SystemVersion">9L30</string> - <string key="IBDocument.InterfaceBuilderVersion">677</string> - <string key="IBDocument.AppKitVersion">949.54</string> - <string key="IBDocument.HIToolboxVersion">353.00</string> - <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> - <bool key="EncodedWithXMLCoder">YES</bool> - <integer value="6"/> - </object> - <object class="NSArray" key="IBDocument.PluginDependencies"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - <object class="NSMutableDictionary" key="IBDocument.Metadata"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBProxyObject" id="372490531"> - <string key="IBProxiedObjectIdentifier">IBFilesOwner</string> - </object> - <object class="IBProxyObject" id="843779117"> - <string key="IBProxiedObjectIdentifier">IBFirstResponder</string> - </object> - <object class="IBUIView" id="774585933"> - <reference key="NSNextResponder"/> - <int key="NSvFlags">274</int> - <object class="NSMutableArray" key="NSSubviews"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBUIButton" id="394477617"> - <reference key="NSNextResponder" ref="774585933"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{20, 20}, {280, 37}}</string> - <reference key="NSSuperview" ref="774585933"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - <int key="IBUIContentHorizontalAlignment">0</int> - <int key="IBUIContentVerticalAlignment">0</int> - <object class="NSFont" key="IBUIFont"> - <string key="NSName">Helvetica-Bold</string> - <double key="NSSize">1.500000e+01</double> - <int key="NSfFlags">16</int> - </object> - <int key="IBUIButtonType">1</int> - <string key="IBUINormalTitle">Select Contact</string> - <object class="NSColor" key="IBUIHighlightedTitleColor"> - <int key="NSColorSpace">3</int> - <bytes key="NSWhite">MQA</bytes> - </object> - <object class="NSColor" key="IBUINormalTitleColor"> - <int key="NSColorSpace">1</int> - <bytes key="NSRGB">MC4xOTYwNzg0MyAwLjMwOTgwMzkzIDAuNTIxNTY4NjYAA</bytes> - </object> - <object class="NSColor" key="IBUINormalTitleShadowColor"> - <int key="NSColorSpace">3</int> - <bytes key="NSWhite">MC41AA</bytes> - </object> - </object> - <object class="IBUILabel" id="154295635"> - <reference key="NSNextResponder" ref="774585933"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{166, 123}, {134, 21}}</string> - <reference key="NSSuperview" ref="774585933"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIUserInteractionEnabled">NO</bool> - <string key="IBUIText"/> - <object class="NSColor" key="IBUITextColor" id="363623196"> - <int key="NSColorSpace">1</int> - <bytes key="NSRGB">MCAwIDAAA</bytes> - </object> - <nil key="IBUIHighlightedColor"/> - <int key="IBUIBaselineAdjustment">1</int> - <float key="IBUIMinimumFontSize">1.000000e+01</float> - </object> - <object class="IBUILabel" id="728216879"> - <reference key="NSNextResponder" ref="774585933"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{166, 152}, {134, 21}}</string> - <reference key="NSSuperview" ref="774585933"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIUserInteractionEnabled">NO</bool> - <string key="IBUIText"/> - <reference key="IBUITextColor" ref="363623196"/> - <nil key="IBUIHighlightedColor"/> - <int key="IBUIBaselineAdjustment">1</int> - <float key="IBUIMinimumFontSize">1.000000e+01</float> - </object> - <object class="IBUILabel" id="1054631594"> - <reference key="NSNextResponder" ref="774585933"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{20, 152}, {138, 21}}</string> - <reference key="NSSuperview" ref="774585933"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIUserInteractionEnabled">NO</bool> - <string key="IBUIText">Last Name:</string> - <object class="NSFont" key="IBUIFont" id="742602113"> - <string key="NSName">Helvetica-Bold</string> - <double key="NSSize">1.700000e+01</double> - <int key="NSfFlags">16</int> - </object> - <reference key="IBUITextColor" ref="363623196"/> - <nil key="IBUIHighlightedColor"/> - <int key="IBUIBaselineAdjustment">1</int> - <float key="IBUIMinimumFontSize">1.000000e+01</float> - <int key="IBUITextAlignment">2</int> - </object> - <object class="IBUILabel" id="584488884"> - <reference key="NSNextResponder" ref="774585933"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{20, 123}, {138, 21}}</string> - <reference key="NSSuperview" ref="774585933"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIUserInteractionEnabled">NO</bool> - <string key="IBUIText">First Name:</string> - <reference key="IBUIFont" ref="742602113"/> - <reference key="IBUITextColor" ref="363623196"/> - <nil key="IBUIHighlightedColor"/> - <int key="IBUIBaselineAdjustment">1</int> - <float key="IBUIMinimumFontSize">1.000000e+01</float> - <int key="IBUITextAlignment">2</int> - </object> - <object class="IBUILabel" id="630800098"> - <reference key="NSNextResponder" ref="774585933"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{20, 286}, {138, 21}}</string> - <reference key="NSSuperview" ref="774585933"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIUserInteractionEnabled">NO</bool> - <string key="IBUIText">Select Property:</string> - <reference key="IBUIFont" ref="742602113"/> - <reference key="IBUITextColor" ref="363623196"/> - <nil key="IBUIHighlightedColor"/> - <int key="IBUIBaselineAdjustment">1</int> - <float key="IBUIMinimumFontSize">1.000000e+01</float> - <int key="IBUITextAlignment">2</int> - </object> - <object class="IBUILabel" id="891868271"> - <reference key="NSNextResponder" ref="774585933"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{20, 321}, {138, 21}}</string> - <reference key="NSSuperview" ref="774585933"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIUserInteractionEnabled">NO</bool> - <string key="IBUIText">Perform Action:</string> - <reference key="IBUIFont" ref="742602113"/> - <reference key="IBUITextColor" ref="363623196"/> - <nil key="IBUIHighlightedColor"/> - <int key="IBUIBaselineAdjustment">1</int> - <float key="IBUIMinimumFontSize">1.000000e+01</float> - <int key="IBUITextAlignment">2</int> - </object> - <object class="IBUISwitch" id="104697003"> - <reference key="NSNextResponder" ref="774585933"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{166, 283}, {94, 27}}</string> - <reference key="NSSuperview" ref="774585933"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIMultipleTouchEnabled">YES</bool> - <int key="IBUIContentHorizontalAlignment">0</int> - <int key="IBUIContentVerticalAlignment">0</int> - <bool key="IBUIOn">YES</bool> - </object> - <object class="IBUISwitch" id="410803006"> - <reference key="NSNextResponder" ref="774585933"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{166, 318}, {94, 27}}</string> - <reference key="NSSuperview" ref="774585933"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIMultipleTouchEnabled">YES</bool> - <int key="IBUIContentHorizontalAlignment">0</int> - <int key="IBUIContentVerticalAlignment">0</int> - <bool key="IBUIOn">YES</bool> - </object> - <object class="IBUILabel" id="419506535"> - <reference key="NSNextResponder" ref="774585933"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{20, 181}, {138, 21}}</string> - <reference key="NSSuperview" ref="774585933"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIUserInteractionEnabled">NO</bool> - <string key="IBUIText">Property:</string> - <reference key="IBUIFont" ref="742602113"/> - <reference key="IBUITextColor" ref="363623196"/> - <nil key="IBUIHighlightedColor"/> - <int key="IBUIBaselineAdjustment">1</int> - <float key="IBUIMinimumFontSize">1.000000e+01</float> - <int key="IBUITextAlignment">2</int> - </object> - <object class="IBUILabel" id="590322631"> - <reference key="NSNextResponder" ref="774585933"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{20, 210}, {138, 21}}</string> - <reference key="NSSuperview" ref="774585933"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIUserInteractionEnabled">NO</bool> - <string key="IBUIText">Identifier:</string> - <reference key="IBUIFont" ref="742602113"/> - <reference key="IBUITextColor" ref="363623196"/> - <nil key="IBUIHighlightedColor"/> - <int key="IBUIBaselineAdjustment">1</int> - <float key="IBUIMinimumFontSize">1.000000e+01</float> - <int key="IBUITextAlignment">2</int> - </object> - <object class="IBUILabel" id="265249593"> - <reference key="NSNextResponder" ref="774585933"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{166, 181}, {134, 21}}</string> - <reference key="NSSuperview" ref="774585933"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIUserInteractionEnabled">NO</bool> - <string key="IBUIText"/> - <reference key="IBUITextColor" ref="363623196"/> - <nil key="IBUIHighlightedColor"/> - <int key="IBUIBaselineAdjustment">1</int> - <float key="IBUIMinimumFontSize">1.000000e+01</float> - </object> - <object class="IBUILabel" id="458095007"> - <reference key="NSNextResponder" ref="774585933"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{166, 210}, {134, 21}}</string> - <reference key="NSSuperview" ref="774585933"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIUserInteractionEnabled">NO</bool> - <string key="IBUIText"/> - <reference key="IBUITextColor" ref="363623196"/> - <nil key="IBUIHighlightedColor"/> - <int key="IBUIBaselineAdjustment">1</int> - <float key="IBUIMinimumFontSize">1.000000e+01</float> - </object> - <object class="IBUILabel" id="64068049"> - <reference key="NSNextResponder" ref="774585933"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{20, 94}, {138, 21}}</string> - <reference key="NSSuperview" ref="774585933"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIUserInteractionEnabled">NO</bool> - <string key="IBUIText">ToString:</string> - <reference key="IBUIFont" ref="742602113"/> - <reference key="IBUITextColor" ref="363623196"/> - <nil key="IBUIHighlightedColor"/> - <int key="IBUIBaselineAdjustment">1</int> - <float key="IBUIMinimumFontSize">1.000000e+01</float> - <int key="IBUITextAlignment">2</int> - </object> - <object class="IBUILabel" id="446380878"> - <reference key="NSNextResponder" ref="774585933"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{166, 94}, {134, 21}}</string> - <reference key="NSSuperview" ref="774585933"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIUserInteractionEnabled">NO</bool> - <string key="IBUIText"/> - <reference key="IBUITextColor" ref="363623196"/> - <nil key="IBUIHighlightedColor"/> - <int key="IBUIBaselineAdjustment">1</int> - <float key="IBUIMinimumFontSize">1.000000e+01</float> - </object> - <object class="IBUILabel" id="718489151"> - <reference key="NSNextResponder" ref="774585933"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{20, 65}, {280, 21}}</string> - <reference key="NSSuperview" ref="774585933"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIUserInteractionEnabled">NO</bool> - <string key="IBUIContentStretch">{{0.05, 0}, {1, 1}}</string> - <string key="IBUIText">Selected Contact</string> - <object class="NSFont" key="IBUIFont" id="588483403"> - <string key="NSName">Helvetica-Bold</string> - <double key="NSSize">2.400000e+01</double> - <int key="NSfFlags">16</int> - </object> - <reference key="IBUITextColor" ref="363623196"/> - <nil key="IBUIHighlightedColor"/> - <int key="IBUIBaselineAdjustment">1</int> - <float key="IBUIMinimumFontSize">1.000000e+01</float> - </object> - <object class="IBUILabel" id="381562470"> - <reference key="NSNextResponder" ref="774585933"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{20, 239}, {280, 36}}</string> - <reference key="NSSuperview" ref="774585933"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIUserInteractionEnabled">NO</bool> - <string key="IBUIText">Selection Options</string> - <reference key="IBUIFont" ref="588483403"/> - <reference key="IBUITextColor" ref="363623196"/> - <nil key="IBUIHighlightedColor"/> - <int key="IBUIBaselineAdjustment">1</int> - <float key="IBUIMinimumFontSize">1.000000e+01</float> - </object> - </object> - <string key="NSFrameSize">{320, 460}</string> - <reference key="NSSuperview"/> - <object class="NSColor" key="IBUIBackgroundColor"> - <int key="NSColorSpace">3</int> - <bytes key="NSWhite">MC43NQA</bytes> - <object class="NSColorSpace" key="NSCustomColorSpace"> - <int key="NSID">2</int> - </object> - </object> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/> - </object> - </object> - <object class="IBObjectContainer" key="IBDocument.Objects"> - <object class="NSMutableArray" key="connectionRecords"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">view</string> - <reference key="source" ref="372490531"/> - <reference key="destination" ref="774585933"/> - </object> - <int key="connectionID">7</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">firstName</string> - <reference key="source" ref="372490531"/> - <reference key="destination" ref="154295635"/> - </object> - <int key="connectionID">11</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">lastName</string> - <reference key="source" ref="372490531"/> - <reference key="destination" ref="728216879"/> - </object> - <int key="connectionID">12</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchEventConnection" key="connection"> - <string key="label">showPicker:</string> - <reference key="source" ref="394477617"/> - <reference key="destination" ref="372490531"/> - <int key="IBEventType">7</int> - </object> - <int key="connectionID">13</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">performAction</string> - <reference key="source" ref="372490531"/> - <reference key="destination" ref="410803006"/> - </object> - <int key="connectionID">21</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">selectProperty</string> - <reference key="source" ref="372490531"/> - <reference key="destination" ref="104697003"/> - </object> - <int key="connectionID">22</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">property</string> - <reference key="source" ref="372490531"/> - <reference key="destination" ref="265249593"/> - </object> - <int key="connectionID">27</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">identifier</string> - <reference key="source" ref="372490531"/> - <reference key="destination" ref="458095007"/> - </object> - <int key="connectionID">28</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">toString</string> - <reference key="source" ref="372490531"/> - <reference key="destination" ref="446380878"/> - </object> - <int key="connectionID">35</int> - </object> - </object> - <object class="IBMutableOrderedSet" key="objectRecords"> - <object class="NSArray" key="orderedObjects"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBObjectRecord"> - <int key="objectID">0</int> - <object class="NSArray" key="object" id="1028241469"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <reference key="children" ref="1000"/> - <nil key="parent"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-1</int> - <reference key="object" ref="372490531"/> - <reference key="parent" ref="1028241469"/> - <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-2</int> - <reference key="object" ref="843779117"/> - <reference key="parent" ref="1028241469"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">6</int> - <reference key="object" ref="774585933"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="394477617"/> - <reference ref="718489151"/> - <reference ref="154295635"/> - <reference ref="728216879"/> - <reference ref="1054631594"/> - <reference ref="584488884"/> - <reference ref="419506535"/> - <reference ref="590322631"/> - <reference ref="265249593"/> - <reference ref="458095007"/> - <reference ref="64068049"/> - <reference ref="446380878"/> - <reference ref="381562470"/> - <reference ref="630800098"/> - <reference ref="891868271"/> - <reference ref="104697003"/> - <reference ref="410803006"/> - </object> - <reference key="parent" ref="1028241469"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">8</int> - <reference key="object" ref="394477617"/> - <reference key="parent" ref="774585933"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">9</int> - <reference key="object" ref="154295635"/> - <reference key="parent" ref="774585933"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">10</int> - <reference key="object" ref="728216879"/> - <reference key="parent" ref="774585933"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">14</int> - <reference key="object" ref="1054631594"/> - <reference key="parent" ref="774585933"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">15</int> - <reference key="object" ref="584488884"/> - <reference key="parent" ref="774585933"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">17</int> - <reference key="object" ref="630800098"/> - <reference key="parent" ref="774585933"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">18</int> - <reference key="object" ref="891868271"/> - <reference key="parent" ref="774585933"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">19</int> - <reference key="object" ref="104697003"/> - <reference key="parent" ref="774585933"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">20</int> - <reference key="object" ref="410803006"/> - <reference key="parent" ref="774585933"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">23</int> - <reference key="object" ref="419506535"/> - <reference key="parent" ref="774585933"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">24</int> - <reference key="object" ref="590322631"/> - <reference key="parent" ref="774585933"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">25</int> - <reference key="object" ref="265249593"/> - <reference key="parent" ref="774585933"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">26</int> - <reference key="object" ref="458095007"/> - <reference key="parent" ref="774585933"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">29</int> - <reference key="object" ref="64068049"/> - <reference key="parent" ref="774585933"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">30</int> - <reference key="object" ref="446380878"/> - <reference key="parent" ref="774585933"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">33</int> - <reference key="object" ref="718489151"/> - <reference key="parent" ref="774585933"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">34</int> - <reference key="object" ref="381562470"/> - <reference key="parent" ref="774585933"/> - </object> - </object> - </object> - <object class="NSMutableDictionary" key="flattenedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>-1.CustomClassName</string> - <string>-2.CustomClassName</string> - <string>10.IBPluginDependency</string> - <string>14.IBPluginDependency</string> - <string>15.IBPluginDependency</string> - <string>17.IBPluginDependency</string> - <string>18.IBPluginDependency</string> - <string>19.IBPluginDependency</string> - <string>20.IBPluginDependency</string> - <string>23.IBPluginDependency</string> - <string>24.IBPluginDependency</string> - <string>25.IBPluginDependency</string> - <string>26.IBPluginDependency</string> - <string>29.IBPluginDependency</string> - <string>30.IBPluginDependency</string> - <string>33.IBPluginDependency</string> - <string>34.IBPluginDependency</string> - <string>6.IBEditorWindowLastContentRect</string> - <string>6.IBPluginDependency</string> - <string>8.IBPluginDependency</string> - <string>9.IBPluginDependency</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>AddressBookController</string> - <string>UIResponder</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>{{498, 444}, {320, 480}}</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - </object> - <object class="NSMutableDictionary" key="unlocalizedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="activeLocalization"/> - <object class="NSMutableDictionary" key="localizations"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="sourceID"/> - <int key="maxID">35</int> - </object> - <object class="IBClassDescriber" key="IBDocument.Classes"> - <object class="NSMutableArray" key="referencedPartialClassDescriptions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBPartialClassDescription"> - <string key="className">AddressBookController</string> - <string key="superclassName">UIViewController</string> - <object class="NSMutableDictionary" key="actions"> - <string key="NS.key.0">showPicker:</string> - <string key="NS.object.0">id</string> - </object> - <object class="NSMutableDictionary" key="outlets"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>firstName</string> - <string>lastName</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>UILabel</string> - <string>UILabel</string> - </object> - </object> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">Classes/AddressBookQuickStartViewController.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">AddressBookController</string> - <object class="NSMutableDictionary" key="outlets"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>identifier</string> - <string>performAction</string> - <string>property</string> - <string>selectProperty</string> - <string>toString</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>id</string> - <string>id</string> - <string>id</string> - <string>id</string> - <string>id</string> - </object> - </object> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBUserSource</string> - <string key="minorKey"/> - </object> - </object> - </object> - </object> - <int key="IBDocument.localizationMode">0</int> - <string key="IBDocument.LastKnownRelativeProjectPath">AddressBookQuickStart.xcodeproj</string> - <int key="IBDocument.defaultPropertyAccessControl">3</int> - <string key="IBCocoaTouchPluginVersion">3.0</string> - </data> -</archive> 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 @@ -// ------------------------------------------------------------------------------ -// <autogenerated> -// 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. -// </autogenerated> -// ------------------------------------------------------------------------------ - -// 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 @@ -<?xml version="1.0" encoding="UTF-8"?> -<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.03"> - <data> - <int key="IBDocument.SystemTarget">768</int> - <string key="IBDocument.SystemVersion">9G55</string> - <string key="IBDocument.InterfaceBuilderVersion">677</string> - <string key="IBDocument.AppKitVersion">949.43</string> - <string key="IBDocument.HIToolboxVersion">353.00</string> - <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSArray" key="IBDocument.PluginDependencies"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - <object class="NSMutableDictionary" key="IBDocument.Metadata"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBProxyObject" id="841351856"> - <string key="IBProxiedObjectIdentifier">IBFilesOwner</string> - </object> - <object class="IBProxyObject" id="371349661"> - <string key="IBProxiedObjectIdentifier">IBFirstResponder</string> - </object> - <object class="IBUITableView" id="278731389"> - <nil key="NSNextResponder"/> - <int key="NSvFlags">274</int> - <string key="NSFrameSize">{320, 460}</string> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - <int key="IBUIStyle">1</int> - <int key="IBUISeparatorStyle">1</int> - <int key="IBUISectionIndexMinimumDisplayRowCount">0</int> - <bool key="IBUIShowsSelectionImmediatelyOnTouchBegin">YES</bool> - <float key="IBUIRowHeight">4.400000e+01</float> - <float key="IBUISectionHeaderHeight">1.000000e+01</float> - <float key="IBUISectionFooterHeight">1.000000e+01</float> - </object> - </object> - <object class="IBObjectContainer" key="IBDocument.Objects"> - <object class="NSMutableArray" key="connectionRecords"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">view</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="278731389"/> - </object> - <int key="connectionID">8</int> - </object> - </object> - <object class="IBMutableOrderedSet" key="objectRecords"> - <object class="NSArray" key="orderedObjects"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBObjectRecord"> - <int key="objectID">0</int> - <object class="NSArray" key="object" id="957960031"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <reference key="children" ref="1000"/> - <nil key="parent"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-1</int> - <reference key="object" ref="841351856"/> - <reference key="parent" ref="957960031"/> - <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-2</int> - <reference key="object" ref="371349661"/> - <reference key="parent" ref="957960031"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">5</int> - <reference key="object" ref="278731389"/> - <reference key="parent" ref="957960031"/> - </object> - </object> - </object> - <object class="NSMutableDictionary" key="flattenedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>-1.CustomClassName</string> - <string>-2.CustomClassName</string> - <string>5.IBPluginDependency</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>AlertsViewController</string> - <string>UIResponder</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - </object> - <object class="NSMutableDictionary" key="unlocalizedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="activeLocalization"/> - <object class="NSMutableDictionary" key="localizations"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="sourceID"/> - <int key="maxID">8</int> - </object> - <object class="IBClassDescriber" key="IBDocument.Classes"> - <object class="NSMutableArray" key="referencedPartialClassDescriptions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBPartialClassDescription"> - <string key="className">AlertsViewController</string> - <string key="superclassName">UITableViewController</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">AlertsViewController.h</string> - </object> - </object> - </object> - </object> - <int key="IBDocument.localizationMode">0</int> - <string key="IBDocument.LastKnownRelativeProjectPath">../UICatalog.xcodeproj</string> - <int key="IBDocument.defaultPropertyAccessControl">3</int> - </data> -</archive> 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 @@ -// ------------------------------------------------------------------------------ -// <autogenerated> -// 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. -// </autogenerated> -// ------------------------------------------------------------------------------ - -// 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 @@ -<?xml version="1.0" encoding="UTF-8"?> -<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.03"> - <data> - <int key="IBDocument.SystemTarget">768</int> - <string key="IBDocument.SystemVersion">9G55</string> - <string key="IBDocument.InterfaceBuilderVersion">677</string> - <string key="IBDocument.AppKitVersion">949.43</string> - <string key="IBDocument.HIToolboxVersion">353.00</string> - <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSArray" key="IBDocument.PluginDependencies"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - <object class="NSMutableDictionary" key="IBDocument.Metadata"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBProxyObject" id="841351856"> - <string key="IBProxiedObjectIdentifier">IBFilesOwner</string> - </object> - <object class="IBProxyObject" id="371349661"> - <string key="IBProxiedObjectIdentifier">IBFirstResponder</string> - </object> - <object class="IBUITableView" id="241673843"> - <nil key="NSNextResponder"/> - <int key="NSvFlags">274</int> - <string key="NSFrameSize">{320, 247}</string> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - <bool key="IBUIBouncesZoom">NO</bool> - <int key="IBUIStyle">1</int> - <int key="IBUISeparatorStyle">1</int> - <int key="IBUISectionIndexMinimumDisplayRowCount">0</int> - <bool key="IBUIShowsSelectionImmediatelyOnTouchBegin">YES</bool> - <float key="IBUIRowHeight">4.400000e+01</float> - <float key="IBUISectionHeaderHeight">2.700000e+01</float> - <float key="IBUISectionFooterHeight">2.700000e+01</float> - </object> - </object> - <object class="IBObjectContainer" key="IBDocument.Objects"> - <object class="NSMutableArray" key="connectionRecords"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">view</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="241673843"/> - </object> - <int key="connectionID">3</int> - </object> - </object> - <object class="IBMutableOrderedSet" key="objectRecords"> - <object class="NSArray" key="orderedObjects"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBObjectRecord"> - <int key="objectID">0</int> - <object class="NSArray" key="object" id="957960031"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <reference key="children" ref="1000"/> - <nil key="parent"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-1</int> - <reference key="object" ref="841351856"/> - <reference key="parent" ref="957960031"/> - <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-2</int> - <reference key="object" ref="371349661"/> - <reference key="parent" ref="957960031"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">2</int> - <reference key="object" ref="241673843"/> - <reference key="parent" ref="957960031"/> - </object> - </object> - </object> - <object class="NSMutableDictionary" key="flattenedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>-1.CustomClassName</string> - <string>-2.CustomClassName</string> - <string>2.IBEditorWindowLastContentRect</string> - <string>2.IBPluginDependency</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>ButtonsViewController</string> - <string>UIResponder</string> - <string>{{0, 748}, {320, 247}}</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - </object> - <object class="NSMutableDictionary" key="unlocalizedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="activeLocalization"/> - <object class="NSMutableDictionary" key="localizations"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="sourceID"/> - <int key="maxID">3</int> - </object> - <object class="IBClassDescriber" key="IBDocument.Classes"> - <object class="NSMutableArray" key="referencedPartialClassDescriptions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBPartialClassDescription"> - <string key="className">ButtonsViewController</string> - <string key="superclassName">UITableViewController</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">ButtonsViewController.h</string> - </object> - </object> - </object> - </object> - <int key="IBDocument.localizationMode">0</int> - <string key="IBDocument.LastKnownRelativeProjectPath">../UICatalog.xcodeproj</string> - <int key="IBDocument.defaultPropertyAccessControl">3</int> - </data> -</archive> 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 @@ -// ------------------------------------------------------------------------------ -// <autogenerated> -// 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. -// </autogenerated> -// ------------------------------------------------------------------------------ - -// 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 @@ -<?xml version="1.0" encoding="UTF-8"?> -<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.03"> - <data> - <int key="IBDocument.SystemTarget">768</int> - <string key="IBDocument.SystemVersion">9G55</string> - <string key="IBDocument.InterfaceBuilderVersion">677</string> - <string key="IBDocument.AppKitVersion">949.43</string> - <string key="IBDocument.HIToolboxVersion">353.00</string> - <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSArray" key="IBDocument.PluginDependencies"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - <object class="NSMutableDictionary" key="IBDocument.Metadata"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBProxyObject" id="841351856"> - <string key="IBProxiedObjectIdentifier">IBFilesOwner</string> - </object> - <object class="IBProxyObject" id="371349661"> - <string key="IBProxiedObjectIdentifier">IBFirstResponder</string> - </object> - <object class="IBUITableView" id="241673843"> - <nil key="NSNextResponder"/> - <int key="NSvFlags">274</int> - <string key="NSFrameSize">{320, 247}</string> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - <bool key="IBUIBouncesZoom">NO</bool> - <int key="IBUIStyle">1</int> - <int key="IBUISeparatorStyle">1</int> - <int key="IBUISectionIndexMinimumDisplayRowCount">0</int> - <bool key="IBUIShowsSelectionImmediatelyOnTouchBegin">YES</bool> - <float key="IBUIRowHeight">4.400000e+01</float> - <float key="IBUISectionHeaderHeight">2.700000e+01</float> - <float key="IBUISectionFooterHeight">2.700000e+01</float> - </object> - </object> - <object class="IBObjectContainer" key="IBDocument.Objects"> - <object class="NSMutableArray" key="connectionRecords"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">view</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="241673843"/> - </object> - <int key="connectionID">4</int> - </object> - </object> - <object class="IBMutableOrderedSet" key="objectRecords"> - <object class="NSArray" key="orderedObjects"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBObjectRecord"> - <int key="objectID">0</int> - <object class="NSArray" key="object" id="957960031"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <reference key="children" ref="1000"/> - <nil key="parent"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-1</int> - <reference key="object" ref="841351856"/> - <reference key="parent" ref="957960031"/> - <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-2</int> - <reference key="object" ref="371349661"/> - <reference key="parent" ref="957960031"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">2</int> - <reference key="object" ref="241673843"/> - <reference key="parent" ref="957960031"/> - </object> - </object> - </object> - <object class="NSMutableDictionary" key="flattenedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>-1.CustomClassName</string> - <string>-2.CustomClassName</string> - <string>2.IBEditorWindowLastContentRect</string> - <string>2.IBPluginDependency</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>ControlsViewController</string> - <string>UIResponder</string> - <string>{{0, 748}, {320, 247}}</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - </object> - <object class="NSMutableDictionary" key="unlocalizedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="activeLocalization"/> - <object class="NSMutableDictionary" key="localizations"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="sourceID"/> - <int key="maxID">4</int> - </object> - <object class="IBClassDescriber" key="IBDocument.Classes"> - <object class="NSMutableArray" key="referencedPartialClassDescriptions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBPartialClassDescription"> - <string key="className">ControlsViewController</string> - <string key="superclassName">UITableViewController</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">ControlsViewController.h</string> - </object> - </object> - </object> - </object> - <int key="IBDocument.localizationMode">0</int> - <string key="IBDocument.LastKnownRelativeProjectPath">../UICatalog.xcodeproj</string> - <int key="IBDocument.defaultPropertyAccessControl">3</int> - </data> -</archive> 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 @@ -// ------------------------------------------------------------------------------ -// <autogenerated> -// 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. -// </autogenerated> -// ------------------------------------------------------------------------------ - -// 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 @@ -<?xml version="1.0" encoding="UTF-8"?> -<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.03"> - <data> - <int key="IBDocument.SystemTarget">768</int> - <string key="IBDocument.SystemVersion">9G55</string> - <string key="IBDocument.InterfaceBuilderVersion">677</string> - <string key="IBDocument.AppKitVersion">949.43</string> - <string key="IBDocument.HIToolboxVersion">353.00</string> - <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> - <bool key="EncodedWithXMLCoder">YES</bool> - <integer value="6"/> - </object> - <object class="NSArray" key="IBDocument.PluginDependencies"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - <object class="NSMutableDictionary" key="IBDocument.Metadata"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBProxyObject" id="841351856"> - <string key="IBProxiedObjectIdentifier">IBFilesOwner</string> - </object> - <object class="IBProxyObject" id="371349661"> - <string key="IBProxiedObjectIdentifier">IBFirstResponder</string> - </object> - <object class="IBUIView" id="531101154"> - <reference key="NSNextResponder"/> - <int key="NSvFlags">292</int> - <object class="NSMutableArray" key="NSSubviews"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBUISlider" id="108057446"> - <reference key="NSNextResponder" ref="531101154"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{18, 362}, {284, 23}}</string> - <reference key="NSSuperview" ref="531101154"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIMultipleTouchEnabled">YES</bool> - <int key="IBUIContentHorizontalAlignment">0</int> - <int key="IBUIContentVerticalAlignment">0</int> - <float key="IBUIValue">5.000000e+00</float> - <float key="IBUIMaxValue">1.000000e+01</float> - </object> - <object class="IBUILabel" id="756825635"> - <reference key="NSNextResponder" ref="531101154"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{128, 389}, {65, 21}}</string> - <reference key="NSSuperview" ref="531101154"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIUserInteractionEnabled">NO</bool> - <string key="IBUIText">Duration</string> - <object class="NSFont" key="IBUIFont"> - <string key="NSName">Helvetica</string> - <double key="NSSize">1.400000e+01</double> - <int key="NSfFlags">16</int> - </object> - <object class="NSColor" key="IBUITextColor"> - <int key="NSColorSpace">1</int> - <bytes key="NSRGB">MSAxIDEAA</bytes> - <object class="NSColorSpace" key="NSCustomColorSpace"> - <int key="NSID">1</int> - </object> - </object> - <nil key="IBUIHighlightedColor"/> - <int key="IBUIBaselineAdjustment">1</int> - <float key="IBUIMinimumFontSize">1.000000e+01</float> - <int key="IBUITextAlignment">1</int> - </object> - <object class="IBUIImageView" id="630577142"> - <reference key="NSNextResponder" ref="531101154"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{20, 39}, {280, 207}}</string> - <reference key="NSSuperview" ref="531101154"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - <int key="IBUIContentMode">1</int> - <bool key="IBUIUserInteractionEnabled">NO</bool> - </object> - </object> - <string key="NSFrameSize">{320, 460}</string> - <reference key="NSSuperview"/> - <object class="NSColor" key="IBUIBackgroundColor"> - <int key="NSColorSpace">1</int> - <bytes key="NSRGB">MCAwIDAAA</bytes> - </object> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - </object> - </object> - <object class="IBObjectContainer" key="IBDocument.Objects"> - <object class="NSMutableArray" key="connectionRecords"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">view</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="531101154"/> - </object> - <int key="connectionID">7</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">imageView</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="630577142"/> - </object> - <int key="connectionID">13</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchEventConnection" key="connection"> - <string key="label">sliderAction:</string> - <reference key="source" ref="108057446"/> - <reference key="destination" ref="841351856"/> - <int key="IBEventType">13</int> - </object> - <int key="connectionID">14</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">slider</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="108057446"/> - </object> - <int key="connectionID">15</int> - </object> - </object> - <object class="IBMutableOrderedSet" key="objectRecords"> - <object class="NSArray" key="orderedObjects"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBObjectRecord"> - <int key="objectID">0</int> - <object class="NSArray" key="object" id="957960031"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <reference key="children" ref="1000"/> - <nil key="parent"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-1</int> - <reference key="object" ref="841351856"/> - <reference key="parent" ref="957960031"/> - <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-2</int> - <reference key="object" ref="371349661"/> - <reference key="parent" ref="957960031"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">6</int> - <reference key="object" ref="531101154"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="108057446"/> - <reference ref="756825635"/> - <reference ref="630577142"/> - </object> - <reference key="parent" ref="957960031"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">8</int> - <reference key="object" ref="108057446"/> - <reference key="parent" ref="531101154"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">9</int> - <reference key="object" ref="756825635"/> - <reference key="parent" ref="531101154"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">11</int> - <reference key="object" ref="630577142"/> - <reference key="parent" ref="531101154"/> - </object> - </object> - </object> - <object class="NSMutableDictionary" key="flattenedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>-1.CustomClassName</string> - <string>-2.CustomClassName</string> - <string>11.IBPluginDependency</string> - <string>6.IBEditorWindowLastContentRect</string> - <string>6.IBPluginDependency</string> - <string>8.IBPluginDependency</string> - <string>9.IBPluginDependency</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>ImagesViewController</string> - <string>UIResponder</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>{{0, 535}, {320, 460}}</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - </object> - <object class="NSMutableDictionary" key="unlocalizedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="activeLocalization"/> - <object class="NSMutableDictionary" key="localizations"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="sourceID"/> - <int key="maxID">15</int> - </object> - <object class="IBClassDescriber" key="IBDocument.Classes"> - <object class="NSMutableArray" key="referencedPartialClassDescriptions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBPartialClassDescription"> - <string key="className">ImagesViewController</string> - <string key="superclassName">UIViewController</string> - <object class="NSMutableDictionary" key="actions"> - <string key="NS.key.0">sliderAction:</string> - <string key="NS.object.0">id</string> - </object> - <object class="NSMutableDictionary" key="outlets"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>imageView</string> - <string>slider</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>UIImageView</string> - <string>UISlider</string> - </object> - </object> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">ImagesViewController.h</string> - </object> - </object> - </object> - </object> - <int key="IBDocument.localizationMode">0</int> - <string key="IBDocument.LastKnownRelativeProjectPath">../UICatalog.xcodeproj</string> - <int key="IBDocument.defaultPropertyAccessControl">3</int> - </data> -</archive> 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 @@ -// ------------------------------------------------------------------------------ -// <autogenerated> -// 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. -// </autogenerated> -// ------------------------------------------------------------------------------ - -// 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 @@ -<?xml version="1.0" encoding="UTF-8"?> -<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.03"> - <data> - <int key="IBDocument.SystemTarget">768</int> - <string key="IBDocument.SystemVersion">9J61</string> - <string key="IBDocument.InterfaceBuilderVersion">677</string> - <string key="IBDocument.AppKitVersion">949.46</string> - <string key="IBDocument.HIToolboxVersion">353.00</string> - <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSArray" key="IBDocument.PluginDependencies"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - <object class="NSMutableDictionary" key="IBDocument.Metadata"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBProxyObject" id="841351856"> - <string key="IBProxiedObjectIdentifier">IBFilesOwner</string> - </object> - <object class="IBProxyObject" id="373042737"> - <string key="IBProxiedObjectIdentifier">IBFirstResponder</string> - </object> - <object class="IBUIWindow" id="380026005"> - <nil key="NSNextResponder"/> - <int key="NSvFlags">1292</int> - <object class="NSPSMatrix" key="NSFrameMatrix"/> - <string key="NSFrameSize">{320, 480}</string> - <object class="NSColor" key="IBUIBackgroundColor" id="106200061"> - <int key="NSColorSpace">1</int> - <bytes key="NSRGB">MSAxIDEAA</bytes> - </object> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - </object> - <object class="IBUICustomObject" id="452452442"/> - <object class="IBUINavigationController" id="827005148"> - <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/> - <object class="IBUINavigationBar" key="IBUINavigationBar" id="131129230"> - <nil key="NSNextResponder"/> - <int key="NSvFlags">256</int> - <string key="NSFrameSize">{0, 0}</string> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIMultipleTouchEnabled">YES</bool> - </object> - <object class="NSMutableArray" key="IBUIViewControllers"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBUIViewController" id="1018912514"> - <object class="IBUITableView" key="IBUIView" id="72559514"> - <nil key="NSNextResponder"/> - <int key="NSvFlags">274</int> - <string key="NSFrameSize">{320, 416}</string> - <reference key="IBUIBackgroundColor" ref="106200061"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - <int key="IBUISeparatorStyle">1</int> - <int key="IBUISectionIndexMinimumDisplayRowCount">0</int> - <bool key="IBUIShowsSelectionImmediatelyOnTouchBegin">YES</bool> - <float key="IBUIRowHeight">4.400000e+01</float> - <float key="IBUISectionHeaderHeight">2.700000e+01</float> - <float key="IBUISectionFooterHeight">2.700000e+01</float> - </object> - <object class="IBUINavigationItem" key="IBUINavigationItem" id="201411648"> - <string key="IBUITitle">UICatalog</string> - </object> - <reference key="IBUIParentViewController" ref="827005148"/> - </object> - </object> - </object> - </object> - <object class="IBObjectContainer" key="IBDocument.Objects"> - <object class="NSMutableArray" key="connectionRecords"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">delegate</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="452452442"/> - </object> - <int key="connectionID">4</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">window</string> - <reference key="source" ref="452452442"/> - <reference key="destination" ref="380026005"/> - </object> - <int key="connectionID">5</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">navigationController</string> - <reference key="source" ref="452452442"/> - <reference key="destination" ref="827005148"/> - </object> - <int key="connectionID">10</int> - </object> - </object> - <object class="IBMutableOrderedSet" key="objectRecords"> - <object class="NSArray" key="orderedObjects"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBObjectRecord"> - <int key="objectID">0</int> - <object class="NSArray" key="object" id="957960031"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <reference key="children" ref="1000"/> - <nil key="parent"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">2</int> - <reference key="object" ref="380026005"/> - <reference key="parent" ref="957960031"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-1</int> - <reference key="object" ref="841351856"/> - <reference key="parent" ref="957960031"/> - <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">3</int> - <reference key="object" ref="452452442"/> - <reference key="parent" ref="957960031"/> - <string key="objectName">AppDelegate</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-2</int> - <reference key="object" ref="373042737"/> - <reference key="parent" ref="957960031"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">6</int> - <reference key="object" ref="827005148"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="1018912514"/> - <reference ref="131129230"/> - </object> - <reference key="parent" ref="957960031"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">7</int> - <reference key="object" ref="1018912514"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="201411648"/> - <reference ref="72559514"/> - </object> - <reference key="parent" ref="827005148"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">8</int> - <reference key="object" ref="131129230"/> - <reference key="parent" ref="827005148"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">9</int> - <reference key="object" ref="201411648"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <reference key="parent" ref="1018912514"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">13</int> - <reference key="object" ref="72559514"/> - <reference key="parent" ref="1018912514"/> - </object> - </object> - </object> - <object class="NSMutableDictionary" key="flattenedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>-1.CustomClassName</string> - <string>-2.CustomClassName</string> - <string>13.IBPluginDependency</string> - <string>2.IBAttributePlaceholdersKey</string> - <string>2.IBEditorWindowLastContentRect</string> - <string>2.IBPluginDependency</string> - <string>2.UIWindow.visibleAtLaunch</string> - <string>3.CustomClassName</string> - <string>3.IBPluginDependency</string> - <string>6.IBEditorWindowLastContentRect</string> - <string>6.IBPluginDependency</string> - <string>7.CustomClassName</string> - <string>7.IBPluginDependency</string> - <string>8.IBPluginDependency</string> - <string>9.IBPluginDependency</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>UIApplication</string> - <string>UIResponder</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <object class="NSMutableDictionary"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <string>{{56, 499}, {320, 480}}</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <integer value="1"/> - <string>AppDelegate</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>{{420, 59}, {320, 480}}</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>MainViewController</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - </object> - <object class="NSMutableDictionary" key="unlocalizedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="activeLocalization"/> - <object class="NSMutableDictionary" key="localizations"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="sourceID"/> - <int key="maxID">17</int> - </object> - <object class="IBClassDescriber" key="IBDocument.Classes"> - <object class="NSMutableArray" key="referencedPartialClassDescriptions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBPartialClassDescription"> - <string key="className">AppDelegate</string> - <string key="superclassName">NSObject</string> - <object class="NSMutableDictionary" key="outlets"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>navigationController</string> - <string>window</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>UINavigationController</string> - <string>UIWindow</string> - </object> - </object> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">AppDelegate.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">MainViewController</string> - <string key="superclassName">UITableViewController</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">MainViewController.h</string> - </object> - </object> - </object> - </object> - <int key="IBDocument.localizationMode">0</int> - <string key="IBDocument.LastKnownRelativeProjectPath">../UICatalog.xcodeproj</string> - <int key="IBDocument.defaultPropertyAccessControl">3</int> - <string key="IBCocoaTouchPluginVersion">3.0</string> - </data> -</archive> 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 @@ -// ------------------------------------------------------------------------------ -// <autogenerated> -// 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. -// </autogenerated> -// ------------------------------------------------------------------------------ - -// 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 @@ -<?xml version="1.0" encoding="UTF-8"?> -<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.03"> - <data> - <int key="IBDocument.SystemTarget">768</int> - <string key="IBDocument.SystemVersion">9G55</string> - <string key="IBDocument.InterfaceBuilderVersion">677</string> - <string key="IBDocument.AppKitVersion">949.43</string> - <string key="IBDocument.HIToolboxVersion">353.00</string> - <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> - <bool key="EncodedWithXMLCoder">YES</bool> - <integer value="3"/> - </object> - <object class="NSArray" key="IBDocument.PluginDependencies"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - <object class="NSMutableDictionary" key="IBDocument.Metadata"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBProxyObject" id="841351856"> - <string key="IBProxiedObjectIdentifier">IBFilesOwner</string> - </object> - <object class="IBProxyObject" id="606714003"> - <string key="IBProxiedObjectIdentifier">IBFirstResponder</string> - </object> - <object class="IBUIView" id="338580997"> - <reference key="NSNextResponder"/> - <int key="NSvFlags">274</int> - <object class="NSMutableArray" key="NSSubviews"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBUIToolbar" id="85997004"> - <reference key="NSNextResponder" ref="338580997"/> - <int key="NSvFlags">266</int> - <object class="NSMutableArray" key="NSSubviews"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBUISegmentedControl" id="641262436"> - <reference key="NSNextResponder" ref="85997004"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{12, 7}, {299, 30}}</string> - <reference key="NSSuperview" ref="85997004"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - <int key="IBSegmentControlStyle">2</int> - <int key="IBNumberOfSegments">3</int> - <int key="IBSelectedSegmentIndex">0</int> - <object class="NSArray" key="IBSegmentTitles"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>UIPicker</string> - <string>UIDatePicker</string> - <string>Custom</string> - </object> - <object class="NSMutableArray" key="IBSegmentWidths"> - <bool key="EncodedWithXMLCoder">YES</bool> - <real value="0.000000e+00"/> - <real value="0.000000e+00"/> - <real value="0.000000e+00"/> - </object> - <object class="NSMutableArray" key="IBSegmentEnabledStates"> - <bool key="EncodedWithXMLCoder">YES</bool> - <boolean value="YES" id="5"/> - <reference ref="5"/> - <reference ref="5"/> - </object> - <object class="NSMutableArray" key="IBSegmentContentOffsets"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>{0, 0}</string> - <string>{0, 0}</string> - <string>{0, 0}</string> - </object> - <object class="NSMutableArray" key="IBSegmentImages"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSNull" id="4"/> - <reference ref="4"/> - <reference ref="4"/> - </object> - </object> - </object> - <string key="NSFrame">{{0, 416}, {320, 44}}</string> - <reference key="NSSuperview" ref="338580997"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - <object class="NSMutableArray" key="IBUIItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBUIBarButtonItem" id="1000934172"> - <reference key="IBUICustomView" ref="641262436"/> - <reference key="IBUIToolbar" ref="85997004"/> - </object> - </object> - <object class="NSColor" key="IBUITintColor"> - <int key="NSColorSpace">3</int> - <bytes key="NSWhite">MCAwLjAyOTk5OTk5OQA</bytes> - </object> - </object> - <object class="IBUISegmentedControl" id="899453983"> - <reference key="NSNextResponder" ref="338580997"/> - <int key="NSvFlags">-2147483347</int> - <string key="NSFrame">{{51, 59}, {207, 30}}</string> - <reference key="NSSuperview" ref="338580997"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - <int key="IBSegmentControlStyle">2</int> - <int key="IBNumberOfSegments">4</int> - <int key="IBSelectedSegmentIndex">1</int> - <object class="NSArray" key="IBSegmentTitles"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>1</string> - <string>2</string> - <string>3</string> - <string>4</string> - </object> - <object class="NSMutableArray" key="IBSegmentWidths"> - <bool key="EncodedWithXMLCoder">YES</bool> - <real value="0.000000e+00"/> - <real value="0.000000e+00"/> - <real value="0.000000e+00"/> - <real value="0.000000e+00"/> - </object> - <object class="NSMutableArray" key="IBSegmentEnabledStates"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="5"/> - <reference ref="5"/> - <reference ref="5"/> - <reference ref="5"/> - </object> - <object class="NSMutableArray" key="IBSegmentContentOffsets"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>{0, 0}</string> - <string>{0, 0}</string> - <string>{0, 0}</string> - <string>{0, 0}</string> - </object> - <object class="NSMutableArray" key="IBSegmentImages"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="4"/> - <reference ref="4"/> - <reference ref="4"/> - <reference ref="4"/> - </object> - </object> - <object class="IBUILabel" id="614700650"> - <reference key="NSNextResponder" ref="338580997"/> - <int key="NSvFlags">-2147483347</int> - <string key="NSFrame">{{20, 30}, {280, 21}}</string> - <reference key="NSSuperview" ref="338580997"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIUserInteractionEnabled">NO</bool> - <string key="IBUIText"/> - <object class="NSFont" key="IBUIFont"> - <string key="NSName">Helvetica</string> - <double key="NSSize">1.400000e+01</double> - <int key="NSfFlags">16</int> - </object> - <object class="NSColor" key="IBUITextColor"> - <int key="NSColorSpace">1</int> - <bytes key="NSRGB">MSAxIDEAA</bytes> - <object class="NSColorSpace" key="NSCustomColorSpace"> - <int key="NSID">1</int> - </object> - </object> - <nil key="IBUIHighlightedColor"/> - <int key="IBUIBaselineAdjustment">1</int> - <float key="IBUIMinimumFontSize">1.000000e+01</float> - <int key="IBUITextAlignment">1</int> - </object> - </object> - <string key="NSFrameSize">{320, 460}</string> - <reference key="NSSuperview"/> - <object class="NSColor" key="IBUIBackgroundColor"> - <int key="NSColorSpace">1</int> - <bytes key="NSRGB">MCAwIDAAA</bytes> - </object> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - </object> - </object> - <object class="IBObjectContainer" key="IBDocument.Objects"> - <object class="NSMutableArray" key="connectionRecords"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">view</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="338580997"/> - </object> - <int key="connectionID">6</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">buttonBarSegmentedControl</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="641262436"/> - </object> - <int key="connectionID">11</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchEventConnection" key="connection"> - <string key="label">togglePickerStyle:</string> - <reference key="source" ref="641262436"/> - <reference key="destination" ref="841351856"/> - <int key="IBEventType">13</int> - </object> - <int key="connectionID">13</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchEventConnection" key="connection"> - <string key="label">togglePickers:</string> - <reference key="source" ref="1000934172"/> - <reference key="destination" ref="841351856"/> - </object> - <int key="connectionID">14</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchEventConnection" key="connection"> - <string key="label">togglePickers:</string> - <reference key="source" ref="641262436"/> - <reference key="destination" ref="841351856"/> - <int key="IBEventType">13</int> - </object> - <int key="connectionID">15</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">pickerStyleSegmentedControl</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="899453983"/> - </object> - <int key="connectionID">18</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">segmentLabel</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="614700650"/> - </object> - <int key="connectionID">19</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchEventConnection" key="connection"> - <string key="label">togglePickerStyle:</string> - <reference key="source" ref="899453983"/> - <reference key="destination" ref="841351856"/> - <int key="IBEventType">13</int> - </object> - <int key="connectionID">20</int> - </object> - </object> - <object class="IBMutableOrderedSet" key="objectRecords"> - <object class="NSArray" key="orderedObjects"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBObjectRecord"> - <int key="objectID">0</int> - <object class="NSArray" key="object" id="957960031"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <reference key="children" ref="1000"/> - <nil key="parent"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-1</int> - <reference key="object" ref="841351856"/> - <reference key="parent" ref="957960031"/> - <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-2</int> - <reference key="object" ref="606714003"/> - <reference key="parent" ref="957960031"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">3</int> - <reference key="object" ref="338580997"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="899453983"/> - <reference ref="614700650"/> - <reference ref="85997004"/> - </object> - <reference key="parent" ref="957960031"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">7</int> - <reference key="object" ref="85997004"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="1000934172"/> - </object> - <reference key="parent" ref="338580997"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">10</int> - <reference key="object" ref="1000934172"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="641262436"/> - </object> - <reference key="parent" ref="85997004"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">9</int> - <reference key="object" ref="641262436"/> - <reference key="parent" ref="1000934172"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">16</int> - <reference key="object" ref="899453983"/> - <reference key="parent" ref="338580997"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">17</int> - <reference key="object" ref="614700650"/> - <reference key="parent" ref="338580997"/> - </object> - </object> - </object> - <object class="NSMutableDictionary" key="flattenedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>-1.CustomClassName</string> - <string>-2.CustomClassName</string> - <string>16.IBPluginDependency</string> - <string>17.IBPluginDependency</string> - <string>3.IBEditorWindowLastContentRect</string> - <string>3.IBPluginDependency</string> - <string>7.IBPluginDependency</string> - <string>9.IBPluginDependency</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>PickerViewController</string> - <string>UIResponder</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>{{0, 535}, {320, 460}}</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - </object> - <object class="NSMutableDictionary" key="unlocalizedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="activeLocalization"/> - <object class="NSMutableDictionary" key="localizations"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="sourceID"/> - <int key="maxID">20</int> - </object> - <object class="IBClassDescriber" key="IBDocument.Classes"> - <object class="NSMutableArray" key="referencedPartialClassDescriptions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBPartialClassDescription"> - <string key="className">PickerViewController</string> - <string key="superclassName">UIViewController</string> - <object class="NSMutableDictionary" key="actions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>togglePickerStyle:</string> - <string>togglePickers:</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>id</string> - <string>id</string> - </object> - </object> - <object class="NSMutableDictionary" key="outlets"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>buttonBarSegmentedControl</string> - <string>pickerStyleSegmentedControl</string> - <string>segmentLabel</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>UISegmentedControl</string> - <string>UISegmentedControl</string> - <string>UILabel</string> - </object> - </object> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">PickerViewController.h</string> - </object> - </object> - </object> - </object> - <int key="IBDocument.localizationMode">0</int> - <string key="IBDocument.LastKnownRelativeProjectPath">../UICatalog.xcodeproj</string> - <int key="IBDocument.defaultPropertyAccessControl">3</int> - </data> -</archive> 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 @@ -// ------------------------------------------------------------------------------ -// <autogenerated> -// 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. -// </autogenerated> -// ------------------------------------------------------------------------------ - -// 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 @@ -<?xml version="1.0" encoding="UTF-8"?> -<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.03"> - <data> - <int key="IBDocument.SystemTarget">768</int> - <string key="IBDocument.SystemVersion">9G55</string> - <string key="IBDocument.InterfaceBuilderVersion">677</string> - <string key="IBDocument.AppKitVersion">949.43</string> - <string key="IBDocument.HIToolboxVersion">353.00</string> - <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSArray" key="IBDocument.PluginDependencies"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - <object class="NSMutableDictionary" key="IBDocument.Metadata"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBProxyObject" id="841351856"> - <string key="IBProxiedObjectIdentifier">IBFilesOwner</string> - </object> - <object class="IBProxyObject" id="371349661"> - <string key="IBProxiedObjectIdentifier">IBFirstResponder</string> - </object> - <object class="IBUIView" id="531101154"> - <nil key="NSNextResponder"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{116, 125}, {320, 460}}</string> - <object class="NSColor" key="IBUIBackgroundColor"> - <int key="NSColorSpace">3</int> - <bytes key="NSWhite">MQA</bytes> - <object class="NSColorSpace" key="NSCustomColorSpace"> - <int key="NSID">2</int> - </object> - </object> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - </object> - </object> - <object class="IBObjectContainer" key="IBDocument.Objects"> - <object class="NSMutableArray" key="connectionRecords"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">view</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="531101154"/> - </object> - <int key="connectionID">7</int> - </object> - </object> - <object class="IBMutableOrderedSet" key="objectRecords"> - <object class="NSArray" key="orderedObjects"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBObjectRecord"> - <int key="objectID">0</int> - <object class="NSArray" key="object" id="957960031"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <reference key="children" ref="1000"/> - <nil key="parent"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-1</int> - <reference key="object" ref="841351856"/> - <reference key="parent" ref="957960031"/> - <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-2</int> - <reference key="object" ref="371349661"/> - <reference key="parent" ref="957960031"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">6</int> - <reference key="object" ref="531101154"/> - <reference key="parent" ref="957960031"/> - </object> - </object> - </object> - <object class="NSMutableDictionary" key="flattenedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>-1.CustomClassName</string> - <string>-2.CustomClassName</string> - <string>6.IBPluginDependency</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>SearchBarController</string> - <string>UIResponder</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - </object> - <object class="NSMutableDictionary" key="unlocalizedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="activeLocalization"/> - <object class="NSMutableDictionary" key="localizations"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="sourceID"/> - <int key="maxID">7</int> - </object> - <object class="IBClassDescriber" key="IBDocument.Classes"> - <object class="NSMutableArray" key="referencedPartialClassDescriptions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBPartialClassDescription"> - <string key="className">SearchBarController</string> - <string key="superclassName">UIViewController</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">SearchBarController.h</string> - </object> - </object> - </object> - </object> - <int key="IBDocument.localizationMode">0</int> - <string key="IBDocument.LastKnownRelativeProjectPath">../UICatalog.xcodeproj</string> - <int key="IBDocument.defaultPropertyAccessControl">3</int> - </data> -</archive> 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 @@ -// ------------------------------------------------------------------------------ -// <autogenerated> -// 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. -// </autogenerated> -// ------------------------------------------------------------------------------ - -// 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 @@ -<?xml version="1.0" encoding="UTF-8"?> -<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.03"> - <data> - <int key="IBDocument.SystemTarget">768</int> - <string key="IBDocument.SystemVersion">9G55</string> - <string key="IBDocument.InterfaceBuilderVersion">677</string> - <string key="IBDocument.AppKitVersion">949.43</string> - <string key="IBDocument.HIToolboxVersion">353.00</string> - <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> - <bool key="EncodedWithXMLCoder">YES</bool> - <integer value="6"/> - </object> - <object class="NSArray" key="IBDocument.PluginDependencies"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - <object class="NSMutableDictionary" key="IBDocument.Metadata"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBProxyObject" id="841351856"> - <string key="IBProxiedObjectIdentifier">IBFilesOwner</string> - </object> - <object class="IBProxyObject" id="371349661"> - <string key="IBProxiedObjectIdentifier">IBFirstResponder</string> - </object> - <object class="IBUIView" id="531101154"> - <reference key="NSNextResponder"/> - <int key="NSvFlags">292</int> - <string key="NSFrameSize">{320, 460}</string> - <reference key="NSSuperview"/> - <object class="NSColor" key="IBUIBackgroundColor"> - <int key="NSColorSpace">1</int> - <bytes key="NSRGB">MSAxIDEAA</bytes> - </object> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - </object> - </object> - <object class="IBObjectContainer" key="IBDocument.Objects"> - <object class="NSMutableArray" key="connectionRecords"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">view</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="531101154"/> - </object> - <int key="connectionID">7</int> - </object> - </object> - <object class="IBMutableOrderedSet" key="objectRecords"> - <object class="NSArray" key="orderedObjects"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBObjectRecord"> - <int key="objectID">0</int> - <object class="NSArray" key="object" id="957960031"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <reference key="children" ref="1000"/> - <nil key="parent"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-1</int> - <reference key="object" ref="841351856"/> - <reference key="parent" ref="957960031"/> - <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-2</int> - <reference key="object" ref="371349661"/> - <reference key="parent" ref="957960031"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">6</int> - <reference key="object" ref="531101154"/> - <reference key="parent" ref="957960031"/> - </object> - </object> - </object> - <object class="NSMutableDictionary" key="flattenedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>-1.CustomClassName</string> - <string>-2.CustomClassName</string> - <string>6.IBEditorWindowLastContentRect</string> - <string>6.IBPluginDependency</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>SegmentViewController</string> - <string>UIResponder</string> - <string>{{0, 535}, {320, 460}}</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - </object> - <object class="NSMutableDictionary" key="unlocalizedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="activeLocalization"/> - <object class="NSMutableDictionary" key="localizations"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="sourceID"/> - <int key="maxID">7</int> - </object> - <object class="IBClassDescriber" key="IBDocument.Classes"> - <object class="NSMutableArray" key="referencedPartialClassDescriptions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBPartialClassDescription"> - <string key="className">SegmentViewController</string> - <string key="superclassName">UIViewController</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">SegmentViewController.h</string> - </object> - </object> - </object> - </object> - <int key="IBDocument.localizationMode">0</int> - <string key="IBDocument.LastKnownRelativeProjectPath">../UICatalog.xcodeproj</string> - <int key="IBDocument.defaultPropertyAccessControl">3</int> - </data> -</archive> 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 @@ -// ------------------------------------------------------------------------------ -// <autogenerated> -// 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. -// </autogenerated> -// ------------------------------------------------------------------------------ - -// 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 @@ -<?xml version="1.0" encoding="UTF-8"?> -<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.03"> - <data> - <int key="IBDocument.SystemTarget">768</int> - <string key="IBDocument.SystemVersion">9G55</string> - <string key="IBDocument.InterfaceBuilderVersion">677</string> - <string key="IBDocument.AppKitVersion">949.43</string> - <string key="IBDocument.HIToolboxVersion">353.00</string> - <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSArray" key="IBDocument.PluginDependencies"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - <object class="NSMutableDictionary" key="IBDocument.Metadata"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBProxyObject" id="841351856"> - <string key="IBProxiedObjectIdentifier">IBFilesOwner</string> - </object> - <object class="IBProxyObject" id="606714003"> - <string key="IBProxiedObjectIdentifier">IBFirstResponder</string> - </object> - <object class="IBUITableView" id="1002628295"> - <nil key="NSNextResponder"/> - <int key="NSvFlags">290</int> - <string key="NSFrameSize">{320, 416}</string> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - <bool key="IBUIBouncesZoom">NO</bool> - <int key="IBUIStyle">1</int> - <int key="IBUISeparatorStyle">1</int> - <int key="IBUISectionIndexMinimumDisplayRowCount">0</int> - <bool key="IBUIShowsSelectionImmediatelyOnTouchBegin">YES</bool> - <float key="IBUIRowHeight">4.400000e+01</float> - <float key="IBUISectionHeaderHeight">2.700000e+01</float> - <float key="IBUISectionFooterHeight">2.700000e+01</float> - </object> - </object> - <object class="IBObjectContainer" key="IBDocument.Objects"> - <object class="NSMutableArray" key="connectionRecords"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">view</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="1002628295"/> - </object> - <int key="connectionID">20</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">dataSource</string> - <reference key="source" ref="1002628295"/> - <reference key="destination" ref="841351856"/> - </object> - <int key="connectionID">21</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">delegate</string> - <reference key="source" ref="1002628295"/> - <reference key="destination" ref="841351856"/> - </object> - <int key="connectionID">22</int> - </object> - </object> - <object class="IBMutableOrderedSet" key="objectRecords"> - <object class="NSArray" key="orderedObjects"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBObjectRecord"> - <int key="objectID">0</int> - <object class="NSArray" key="object" id="957960031"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <reference key="children" ref="1000"/> - <nil key="parent"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-1</int> - <reference key="object" ref="841351856"/> - <reference key="parent" ref="957960031"/> - <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-2</int> - <reference key="object" ref="606714003"/> - <reference key="parent" ref="957960031"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">4</int> - <reference key="object" ref="1002628295"/> - <reference key="parent" ref="957960031"/> - </object> - </object> - </object> - <object class="NSMutableDictionary" key="flattenedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>-1.CustomClassName</string> - <string>-2.CustomClassName</string> - <string>4.IBEditorWindowLastContentRect</string> - <string>4.IBPluginDependency</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>TextFieldController</string> - <string>UIResponder</string> - <string>{{0, 748}, {320, 247}}</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - </object> - <object class="NSMutableDictionary" key="unlocalizedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="activeLocalization"/> - <object class="NSMutableDictionary" key="localizations"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="sourceID"/> - <int key="maxID">22</int> - </object> - <object class="IBClassDescriber" key="IBDocument.Classes"> - <object class="NSMutableArray" key="referencedPartialClassDescriptions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBPartialClassDescription"> - <string key="className">TextFieldController</string> - <string key="superclassName">UITableViewController</string> - <object class="NSMutableDictionary" key="outlets"> - <string key="NS.key.0">toolbar</string> - <string key="NS.object.0">UIToolbar</string> - </object> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">TextFieldController.h</string> - </object> - </object> - </object> - </object> - <int key="IBDocument.localizationMode">0</int> - <string key="IBDocument.LastKnownRelativeProjectPath">../UICatalog.xcodeproj</string> - <int key="IBDocument.defaultPropertyAccessControl">3</int> - </data> -</archive> 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 @@ -// ------------------------------------------------------------------------------ -// <autogenerated> -// 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. -// </autogenerated> -// ------------------------------------------------------------------------------ - -// 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 @@ -<?xml version="1.0" encoding="UTF-8"?> -<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.03"> - <data> - <int key="IBDocument.SystemTarget">768</int> - <string key="IBDocument.SystemVersion">9G55</string> - <string key="IBDocument.InterfaceBuilderVersion">677</string> - <string key="IBDocument.AppKitVersion">949.43</string> - <string key="IBDocument.HIToolboxVersion">353.00</string> - <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> - <bool key="EncodedWithXMLCoder">YES</bool> - <integer value="6"/> - </object> - <object class="NSArray" key="IBDocument.PluginDependencies"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - <object class="NSMutableDictionary" key="IBDocument.Metadata"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBProxyObject" id="841351856"> - <string key="IBProxiedObjectIdentifier">IBFilesOwner</string> - </object> - <object class="IBProxyObject" id="371349661"> - <string key="IBProxiedObjectIdentifier">IBFirstResponder</string> - </object> - <object class="IBUIView" id="675037696"> - <reference key="NSNextResponder"/> - <int key="NSvFlags">292</int> - <string key="NSFrameSize">{320, 460}</string> - <reference key="NSSuperview"/> - <object class="NSColor" key="IBUIBackgroundColor"> - <int key="NSColorSpace">3</int> - <bytes key="NSWhite">MQA</bytes> - <object class="NSColorSpace" key="NSCustomColorSpace"> - <int key="NSID">2</int> - </object> - </object> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - </object> - </object> - <object class="IBObjectContainer" key="IBDocument.Objects"> - <object class="NSMutableArray" key="connectionRecords"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">view</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="675037696"/> - </object> - <int key="connectionID">7</int> - </object> - </object> - <object class="IBMutableOrderedSet" key="objectRecords"> - <object class="NSArray" key="orderedObjects"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBObjectRecord"> - <int key="objectID">0</int> - <object class="NSArray" key="object" id="957960031"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <reference key="children" ref="1000"/> - <nil key="parent"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-1</int> - <reference key="object" ref="841351856"/> - <reference key="parent" ref="957960031"/> - <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-2</int> - <reference key="object" ref="371349661"/> - <reference key="parent" ref="957960031"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">6</int> - <reference key="object" ref="675037696"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <reference key="parent" ref="957960031"/> - </object> - </object> - </object> - <object class="NSMutableDictionary" key="flattenedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>-1.CustomClassName</string> - <string>-2.CustomClassName</string> - <string>6.IBEditorWindowLastContentRect</string> - <string>6.IBPluginDependency</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>TextViewController</string> - <string>UIResponder</string> - <string>{{0, 535}, {320, 460}}</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - </object> - <object class="NSMutableDictionary" key="unlocalizedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="activeLocalization"/> - <object class="NSMutableDictionary" key="localizations"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="sourceID"/> - <int key="maxID">9</int> - </object> - <object class="IBClassDescriber" key="IBDocument.Classes"> - <object class="NSMutableArray" key="referencedPartialClassDescriptions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBPartialClassDescription"> - <string key="className">TextViewController</string> - <string key="superclassName">UIViewController</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">TextViewController.h</string> - </object> - </object> - </object> - </object> - <int key="IBDocument.localizationMode">0</int> - <string key="IBDocument.LastKnownRelativeProjectPath">../UICatalog.xcodeproj</string> - <int key="IBDocument.defaultPropertyAccessControl">3</int> - </data> -</archive> 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 @@ -// ------------------------------------------------------------------------------ -// <autogenerated> -// 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. -// </autogenerated> -// ------------------------------------------------------------------------------ - -// 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 @@ -<?xml version="1.0" encoding="UTF-8"?> -<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.03"> - <data> - <int key="IBDocument.SystemTarget">768</int> - <string key="IBDocument.SystemVersion">9J61</string> - <string key="IBDocument.InterfaceBuilderVersion">677</string> - <string key="IBDocument.AppKitVersion">949.46</string> - <string key="IBDocument.HIToolboxVersion">353.00</string> - <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> - <bool key="EncodedWithXMLCoder">YES</bool> - <integer value="6"/> - </object> - <object class="NSArray" key="IBDocument.PluginDependencies"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - <object class="NSMutableDictionary" key="IBDocument.Metadata"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBProxyObject" id="841351856"> - <string key="IBProxiedObjectIdentifier">IBFilesOwner</string> - </object> - <object class="IBProxyObject" id="371349661"> - <string key="IBProxiedObjectIdentifier">IBFirstResponder</string> - </object> - <object class="IBUIView" id="531101154"> - <reference key="NSNextResponder"/> - <int key="NSvFlags">292</int> - <object class="NSMutableArray" key="NSSubviews"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBUISegmentedControl" id="967445800"> - <reference key="NSNextResponder" ref="531101154"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{20, 106}, {280, 30}}</string> - <reference key="NSSuperview" ref="531101154"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - <int key="IBSegmentControlStyle">2</int> - <int key="IBNumberOfSegments">3</int> - <int key="IBSelectedSegmentIndex">0</int> - <object class="NSArray" key="IBSegmentTitles"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>Plain</string> - <string>Bordered</string> - <string>Done</string> - </object> - <object class="NSMutableArray" key="IBSegmentWidths"> - <bool key="EncodedWithXMLCoder">YES</bool> - <real value="0.000000e+00"/> - <real value="0.000000e+00"/> - <real value="0.000000e+00"/> - </object> - <object class="NSMutableArray" key="IBSegmentEnabledStates"> - <bool key="EncodedWithXMLCoder">YES</bool> - <boolean value="YES" id="5"/> - <reference ref="5"/> - <reference ref="5"/> - </object> - <object class="NSMutableArray" key="IBSegmentContentOffsets"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>{0, 0}</string> - <string>{0, 0}</string> - <string>{0, 0}</string> - </object> - <object class="NSMutableArray" key="IBSegmentImages"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSNull" id="4"/> - <reference ref="4"/> - <reference ref="4"/> - </object> - </object> - <object class="IBUISegmentedControl" id="993373554"> - <reference key="NSNextResponder" ref="531101154"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{20, 22}, {280, 30}}</string> - <reference key="NSSuperview" ref="531101154"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - <int key="IBSegmentControlStyle">2</int> - <int key="IBNumberOfSegments">3</int> - <int key="IBSelectedSegmentIndex">0</int> - <object class="NSArray" key="IBSegmentTitles"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>Default</string> - <string>Black</string> - <string>Translucent</string> - </object> - <object class="NSMutableArray" key="IBSegmentWidths"> - <bool key="EncodedWithXMLCoder">YES</bool> - <real value="0.000000e+00"/> - <real value="0.000000e+00"/> - <real value="0.000000e+00"/> - </object> - <object class="NSMutableArray" key="IBSegmentEnabledStates"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="5"/> - <reference ref="5"/> - <reference ref="5"/> - </object> - <object class="NSMutableArray" key="IBSegmentContentOffsets"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>{0, 0}</string> - <string>{0, 0}</string> - <string>{0, 0}</string> - </object> - <object class="NSMutableArray" key="IBSegmentImages"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="4"/> - <reference ref="4"/> - <reference ref="4"/> - </object> - </object> - <object class="IBUISwitch" id="430576500"> - <reference key="NSNextResponder" ref="531101154"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{206, 62}, {94, 27}}</string> - <reference key="NSSuperview" ref="531101154"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIMultipleTouchEnabled">YES</bool> - <int key="IBUIContentHorizontalAlignment">0</int> - <int key="IBUIContentVerticalAlignment">0</int> - </object> - <object class="IBUILabel" id="935437333"> - <reference key="NSNextResponder" ref="531101154"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{20, 87}, {164, 21}}</string> - <reference key="NSSuperview" ref="531101154"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIUserInteractionEnabled">NO</bool> - <string key="IBUIText">UIBarButtonItemStyle:</string> - <object class="NSFont" key="IBUIFont" id="4092569"> - <string key="NSName">Helvetica</string> - <double key="NSSize">1.200000e+01</double> - <int key="NSfFlags">16</int> - </object> - <object class="NSColor" key="IBUITextColor" id="887317020"> - <int key="NSColorSpace">1</int> - <bytes key="NSRGB">MCAwIDAAA</bytes> - </object> - <nil key="IBUIHighlightedColor"/> - <int key="IBUIBaselineAdjustment">1</int> - <float key="IBUIMinimumFontSize">1.000000e+01</float> - </object> - <object class="IBUILabel" id="680825010"> - <reference key="NSNextResponder" ref="531101154"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{20, 3}, {164, 21}}</string> - <reference key="NSSuperview" ref="531101154"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIUserInteractionEnabled">NO</bool> - <string key="IBUIText">UIBarStyle:</string> - <reference key="IBUIFont" ref="4092569"/> - <reference key="IBUITextColor" ref="887317020"/> - <nil key="IBUIHighlightedColor"/> - <int key="IBUIBaselineAdjustment">1</int> - <float key="IBUIMinimumFontSize">1.000000e+01</float> - </object> - <object class="IBUILabel" id="922897160"> - <reference key="NSNextResponder" ref="531101154"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{145, 65}, {56, 21}}</string> - <reference key="NSSuperview" ref="531101154"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIUserInteractionEnabled">NO</bool> - <string key="IBUIText">Tinted:</string> - <reference key="IBUIFont" ref="4092569"/> - <reference key="IBUITextColor" ref="887317020"/> - <nil key="IBUIHighlightedColor"/> - <int key="IBUIBaselineAdjustment">1</int> - <float key="IBUIMinimumFontSize">1.000000e+01</float> - <int key="IBUITextAlignment">2</int> - </object> - <object class="IBUIPickerView" id="582820865"> - <reference key="NSNextResponder" ref="531101154"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{0, 158}, {320, 216}}</string> - <reference key="NSSuperview" ref="531101154"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIMultipleTouchEnabled">YES</bool> - <bool key="IBUIShowsSelectionIndicator">YES</bool> - </object> - <object class="IBUILabel" id="629399114"> - <reference key="NSNextResponder" ref="531101154"/> - <int key="NSvFlags">292</int> - <string key="NSFrame">{{20, 140}, {164, 21}}</string> - <reference key="NSSuperview" ref="531101154"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClipsSubviews">YES</bool> - <bool key="IBUIUserInteractionEnabled">NO</bool> - <string key="IBUIText">UIBarButtonSystemItem:</string> - <reference key="IBUIFont" ref="4092569"/> - <reference key="IBUITextColor" ref="887317020"/> - <nil key="IBUIHighlightedColor"/> - <int key="IBUIBaselineAdjustment">1</int> - <float key="IBUIMinimumFontSize">1.000000e+01</float> - </object> - </object> - <string key="NSFrameSize">{320, 460}</string> - <reference key="NSSuperview"/> - <object class="NSColor" key="IBUIBackgroundColor"> - <int key="NSColorSpace">1</int> - <bytes key="NSRGB">MSAxIDEAA</bytes> - </object> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - </object> - </object> - <object class="IBObjectContainer" key="IBDocument.Objects"> - <object class="NSMutableArray" key="connectionRecords"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">view</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="531101154"/> - </object> - <int key="connectionID">7</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">barStyleSegControl</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="993373554"/> - </object> - <int key="connectionID">16</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">buttonItemStyleSegControl</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="967445800"/> - </object> - <int key="connectionID">17</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">systemButtonPicker</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="582820865"/> - </object> - <int key="connectionID">18</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">tintSwitch</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="430576500"/> - </object> - <int key="connectionID">19</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchEventConnection" key="connection"> - <string key="label">toggleStyle:</string> - <reference key="source" ref="967445800"/> - <reference key="destination" ref="841351856"/> - <int key="IBEventType">13</int> - </object> - <int key="connectionID">22</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchEventConnection" key="connection"> - <string key="label">toggleBarStyle:</string> - <reference key="source" ref="993373554"/> - <reference key="destination" ref="841351856"/> - <int key="IBEventType">13</int> - </object> - <int key="connectionID">23</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchEventConnection" key="connection"> - <string key="label">toggleTintColor:</string> - <reference key="source" ref="430576500"/> - <reference key="destination" ref="841351856"/> - <int key="IBEventType">13</int> - </object> - <int key="connectionID">24</int> - </object> - </object> - <object class="IBMutableOrderedSet" key="objectRecords"> - <object class="NSArray" key="orderedObjects"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBObjectRecord"> - <int key="objectID">0</int> - <object class="NSArray" key="object" id="957960031"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <reference key="children" ref="1000"/> - <nil key="parent"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-1</int> - <reference key="object" ref="841351856"/> - <reference key="parent" ref="957960031"/> - <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-2</int> - <reference key="object" ref="371349661"/> - <reference key="parent" ref="957960031"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">6</int> - <reference key="object" ref="531101154"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="967445800"/> - <reference ref="993373554"/> - <reference ref="935437333"/> - <reference ref="680825010"/> - <reference ref="582820865"/> - <reference ref="629399114"/> - <reference ref="430576500"/> - <reference ref="922897160"/> - </object> - <reference key="parent" ref="957960031"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">8</int> - <reference key="object" ref="967445800"/> - <reference key="parent" ref="531101154"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">9</int> - <reference key="object" ref="993373554"/> - <reference key="parent" ref="531101154"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">10</int> - <reference key="object" ref="430576500"/> - <reference key="parent" ref="531101154"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">11</int> - <reference key="object" ref="935437333"/> - <reference key="parent" ref="531101154"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">12</int> - <reference key="object" ref="680825010"/> - <reference key="parent" ref="531101154"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">13</int> - <reference key="object" ref="922897160"/> - <reference key="parent" ref="531101154"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">14</int> - <reference key="object" ref="582820865"/> - <reference key="parent" ref="531101154"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">15</int> - <reference key="object" ref="629399114"/> - <reference key="parent" ref="531101154"/> - </object> - </object> - </object> - <object class="NSMutableDictionary" key="flattenedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>-1.CustomClassName</string> - <string>-2.CustomClassName</string> - <string>10.IBPluginDependency</string> - <string>11.IBPluginDependency</string> - <string>12.IBPluginDependency</string> - <string>13.IBPluginDependency</string> - <string>14.IBPluginDependency</string> - <string>15.IBPluginDependency</string> - <string>6.IBEditorWindowLastContentRect</string> - <string>6.IBPluginDependency</string> - <string>8.IBPluginDependency</string> - <string>9.IBPluginDependency</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>ToolbarViewController</string> - <string>UIResponder</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>{{0, 396}, {320, 460}}</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - </object> - <object class="NSMutableDictionary" key="unlocalizedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="activeLocalization"/> - <object class="NSMutableDictionary" key="localizations"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="sourceID"/> - <int key="maxID">24</int> - </object> - <object class="IBClassDescriber" key="IBDocument.Classes"> - <object class="NSMutableArray" key="referencedPartialClassDescriptions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBPartialClassDescription"> - <string key="className">ToolbarViewController</string> - <string key="superclassName">UIViewController</string> - <object class="NSMutableDictionary" key="actions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>toggleBarStyle:</string> - <string>toggleStyle:</string> - <string>toggleTintColor:</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>id</string> - <string>id</string> - <string>id</string> - </object> - </object> - <object class="NSMutableDictionary" key="outlets"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>barStyleSegControl</string> - <string>buttonItemStyleSegControl</string> - <string>systemButtonPicker</string> - <string>tintSwitch</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>UISegmentedControl</string> - <string>UISegmentedControl</string> - <string>UIPickerView</string> - <string>UISwitch</string> - </object> - </object> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">ToolbarViewController.h</string> - </object> - </object> - </object> - </object> - <int key="IBDocument.localizationMode">0</int> - <string key="IBDocument.LastKnownRelativeProjectPath">../UICatalog.xcodeproj</string> - <int key="IBDocument.defaultPropertyAccessControl">3</int> - <string key="IBCocoaTouchPluginVersion">3.0</string> - </data> -</archive> 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 @@ -// ------------------------------------------------------------------------------ -// <autogenerated> -// 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. -// </autogenerated> -// ------------------------------------------------------------------------------ - -// 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 @@ -<?xml version="1.0" encoding="UTF-8"?> -<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.03"> - <data> - <int key="IBDocument.SystemTarget">768</int> - <string key="IBDocument.SystemVersion">9G55</string> - <string key="IBDocument.InterfaceBuilderVersion">677</string> - <string key="IBDocument.AppKitVersion">949.43</string> - <string key="IBDocument.HIToolboxVersion">353.00</string> - <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> - <bool key="EncodedWithXMLCoder">YES</bool> - <integer value="8"/> - </object> - <object class="NSArray" key="IBDocument.PluginDependencies"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - <object class="NSMutableDictionary" key="IBDocument.Metadata"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBProxyObject" id="841351856"> - <string key="IBProxiedObjectIdentifier">IBFilesOwner</string> - </object> - <object class="IBProxyObject" id="371349661"> - <string key="IBProxiedObjectIdentifier">IBFirstResponder</string> - </object> - <object class="IBUIView" id="531101154"> - <reference key="NSNextResponder"/> - <int key="NSvFlags">292</int> - <object class="NSMutableArray" key="NSSubviews"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBUIToolbar" id="844501849"> - <reference key="NSNextResponder" ref="531101154"/> - <int key="NSvFlags">266</int> - <string key="NSFrame">{{0, 416}, {320, 44}}</string> - <reference key="NSSuperview" ref="531101154"/> - <bool key="IBUIOpaque">NO</bool> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - <object class="NSMutableArray" key="IBUIItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBUIBarButtonItem" id="893156490"> - <int key="IBUIStyle">1</int> - <reference key="IBUIToolbar" ref="844501849"/> - <int key="IBUISystemItemIdentifier">5</int> - </object> - <object class="IBUIBarButtonItem" id="10773593"> - <string key="IBUITitle">Flip Image</string> - <int key="IBUIStyle">1</int> - <reference key="IBUIToolbar" ref="844501849"/> - </object> - <object class="IBUIBarButtonItem" id="471438469"> - <string key="IBUITitle">Curl Image</string> - <int key="IBUIStyle">1</int> - <reference key="IBUIToolbar" ref="844501849"/> - </object> - <object class="IBUIBarButtonItem" id="1020058393"> - <reference key="IBUIToolbar" ref="844501849"/> - <int key="IBUISystemItemIdentifier">5</int> - </object> - </object> - <object class="NSColor" key="IBUITintColor"> - <int key="NSColorSpace">1</int> - <bytes key="NSRGB">MC4wMDUzNjkzMzE3IDAuMDA1MzAzODUxOCAwLjAwNTQzNDgxMTEAA</bytes> - </object> - </object> - </object> - <string key="NSFrameSize">{320, 460}</string> - <reference key="NSSuperview"/> - <object class="NSColor" key="IBUIBackgroundColor"> - <int key="NSColorSpace">1</int> - <bytes key="NSRGB">MCAwIDAAA</bytes> - </object> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - </object> - </object> - <object class="IBObjectContainer" key="IBDocument.Objects"> - <object class="NSMutableArray" key="connectionRecords"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">view</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="531101154"/> - </object> - <int key="connectionID">7</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchEventConnection" key="connection"> - <string key="label">curlAction:</string> - <reference key="source" ref="471438469"/> - <reference key="destination" ref="841351856"/> - </object> - <int key="connectionID">13</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchEventConnection" key="connection"> - <string key="label">flipAction:</string> - <reference key="source" ref="10773593"/> - <reference key="destination" ref="841351856"/> - </object> - <int key="connectionID">14</int> - </object> - </object> - <object class="IBMutableOrderedSet" key="objectRecords"> - <object class="NSArray" key="orderedObjects"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBObjectRecord"> - <int key="objectID">0</int> - <object class="NSArray" key="object" id="957960031"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <reference key="children" ref="1000"/> - <nil key="parent"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-1</int> - <reference key="object" ref="841351856"/> - <reference key="parent" ref="957960031"/> - <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-2</int> - <reference key="object" ref="371349661"/> - <reference key="parent" ref="957960031"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">6</int> - <reference key="object" ref="531101154"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="844501849"/> - </object> - <reference key="parent" ref="957960031"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">8</int> - <reference key="object" ref="844501849"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="893156490"/> - <reference ref="10773593"/> - <reference ref="471438469"/> - <reference ref="1020058393"/> - </object> - <reference key="parent" ref="531101154"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">9</int> - <reference key="object" ref="893156490"/> - <reference key="parent" ref="844501849"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">10</int> - <reference key="object" ref="10773593"/> - <reference key="parent" ref="844501849"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">11</int> - <reference key="object" ref="471438469"/> - <reference key="parent" ref="844501849"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">12</int> - <reference key="object" ref="1020058393"/> - <reference key="parent" ref="844501849"/> - </object> - </object> - </object> - <object class="NSMutableDictionary" key="flattenedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>-1.CustomClassName</string> - <string>-2.CustomClassName</string> - <string>10.IBPluginDependency</string> - <string>11.IBPluginDependency</string> - <string>12.IBPluginDependency</string> - <string>6.IBEditorWindowLastContentRect</string> - <string>6.IBPluginDependency</string> - <string>8.IBPluginDependency</string> - <string>9.IBPluginDependency</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>TransitionViewController</string> - <string>UIResponder</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>{{0, 535}, {320, 460}}</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - </object> - <object class="NSMutableDictionary" key="unlocalizedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="activeLocalization"/> - <object class="NSMutableDictionary" key="localizations"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="sourceID"/> - <int key="maxID">14</int> - </object> - <object class="IBClassDescriber" key="IBDocument.Classes"> - <object class="NSMutableArray" key="referencedPartialClassDescriptions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBPartialClassDescription"> - <string key="className">TransitionViewController</string> - <string key="superclassName">UIViewController</string> - <object class="NSMutableDictionary" key="actions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>curlAction:</string> - <string>flipAction:</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>id</string> - <string>id</string> - </object> - </object> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">TransitionViewController.h</string> - </object> - </object> - </object> - </object> - <int key="IBDocument.localizationMode">0</int> - <string key="IBDocument.LastKnownRelativeProjectPath">../UICatalog.xcodeproj</string> - <int key="IBDocument.defaultPropertyAccessControl">3</int> - </data> -</archive> 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 @@ -// ------------------------------------------------------------------------------ -// <autogenerated> -// 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. -// </autogenerated> -// ------------------------------------------------------------------------------ - -// 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 @@ -<?xml version="1.0" encoding="UTF-8"?> -<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.03"> - <data> - <int key="IBDocument.SystemTarget">768</int> - <string key="IBDocument.SystemVersion">9G55</string> - <string key="IBDocument.InterfaceBuilderVersion">677</string> - <string key="IBDocument.AppKitVersion">949.43</string> - <string key="IBDocument.HIToolboxVersion">353.00</string> - <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSArray" key="IBDocument.PluginDependencies"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - <object class="NSMutableDictionary" key="IBDocument.Metadata"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBProxyObject" id="841351856"> - <string key="IBProxiedObjectIdentifier">IBFilesOwner</string> - </object> - <object class="IBProxyObject" id="371349661"> - <string key="IBProxiedObjectIdentifier">IBFirstResponder</string> - </object> - <object class="IBUIView" id="531101154"> - <nil key="NSNextResponder"/> - <int key="NSvFlags">292</int> - <string key="NSFrameSize">{320, 460}</string> - <object class="NSColor" key="IBUIBackgroundColor"> - <int key="NSColorSpace">1</int> - <bytes key="NSRGB">MSAxIDEAA</bytes> - </object> - <bool key="IBUIClearsContextBeforeDrawing">NO</bool> - </object> - </object> - <object class="IBObjectContainer" key="IBDocument.Objects"> - <object class="NSMutableArray" key="connectionRecords"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBConnectionRecord"> - <object class="IBCocoaTouchOutletConnection" key="connection"> - <string key="label">view</string> - <reference key="source" ref="841351856"/> - <reference key="destination" ref="531101154"/> - </object> - <int key="connectionID">7</int> - </object> - </object> - <object class="IBMutableOrderedSet" key="objectRecords"> - <object class="NSArray" key="orderedObjects"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBObjectRecord"> - <int key="objectID">0</int> - <object class="NSArray" key="object" id="957960031"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <reference key="children" ref="1000"/> - <nil key="parent"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-1</int> - <reference key="object" ref="841351856"/> - <reference key="parent" ref="957960031"/> - <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-2</int> - <reference key="object" ref="371349661"/> - <reference key="parent" ref="957960031"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">6</int> - <reference key="object" ref="531101154"/> - <reference key="parent" ref="957960031"/> - </object> - </object> - </object> - <object class="NSMutableDictionary" key="flattenedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMutableArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>-1.CustomClassName</string> - <string>-2.CustomClassName</string> - <string>6.IBEditorWindowLastContentRect</string> - <string>6.IBPluginDependency</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>WebViewController</string> - <string>UIResponder</string> - <string>{{0, 535}, {320, 460}}</string> - <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> - </object> - </object> - <object class="NSMutableDictionary" key="unlocalizedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="activeLocalization"/> - <object class="NSMutableDictionary" key="localizations"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="sourceID"/> - <int key="maxID">7</int> - </object> - <object class="IBClassDescriber" key="IBDocument.Classes"> - <object class="NSMutableArray" key="referencedPartialClassDescriptions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBPartialClassDescription"> - <string key="className">WebViewController</string> - <string key="superclassName">UIViewController</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">WebViewController.h</string> - </object> - </object> - </object> - </object> - <int key="IBDocument.localizationMode">0</int> - <string key="IBDocument.LastKnownRelativeProjectPath">../UICatalog.xcodeproj</string> - <int key="IBDocument.defaultPropertyAccessControl">3</int> - </data> -</archive> 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 @@ -// ------------------------------------------------------------------------------ -// <autogenerated> -// 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. -// </autogenerated> -// ------------------------------------------------------------------------------ - -// 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); - } - } -}