зеркало из https://github.com/xamarin/ios-samples.git
Merge branch 'master' of github.com:migueldeicaza/monotouch-samples
This commit is contained in:
Коммит
59c2603d2a
|
@ -10,6 +10,9 @@ namespace MonoCatalog
|
|||
{
|
||||
public partial class AddressBookController : UIViewController
|
||||
{
|
||||
|
||||
ABPeoplePickerNavigationController p;
|
||||
|
||||
public AddressBookController () : base ("AddressBookController", null)
|
||||
{
|
||||
}
|
||||
|
@ -29,7 +32,7 @@ namespace MonoCatalog
|
|||
partial void showPicker (MonoTouch.UIKit.UIButton sender)
|
||||
{
|
||||
Console.Error.WriteLine ("# Select Contacts pushed!");
|
||||
using (var p = new ABPeoplePickerNavigationController ()) {
|
||||
using (p = new ABPeoplePickerNavigationController ()) {
|
||||
p.SelectPerson += (o, e) => {
|
||||
Console.Error.WriteLine ("# select Person: {0}", e.Person);
|
||||
toString.Text = e.Person.ToString ();
|
||||
|
|
|
@ -10,10 +10,27 @@
|
|||
|
||||
namespace MonoCatalog {
|
||||
|
||||
|
||||
// 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);
|
||||
|
@ -21,9 +38,11 @@ namespace MonoCatalog {
|
|||
[MonoTouch.Foundation.Connect("view")]
|
||||
private MonoTouch.UIKit.UIView view {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
|
||||
this.__mt_view = ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
|
||||
return this.__mt_view;
|
||||
}
|
||||
set {
|
||||
this.__mt_view = value;
|
||||
this.SetNativeField("view", value);
|
||||
}
|
||||
}
|
||||
|
@ -31,9 +50,11 @@ namespace MonoCatalog {
|
|||
[MonoTouch.Foundation.Connect("firstName")]
|
||||
private MonoTouch.UIKit.UILabel firstName {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UILabel)(this.GetNativeField("firstName")));
|
||||
this.__mt_firstName = ((MonoTouch.UIKit.UILabel)(this.GetNativeField("firstName")));
|
||||
return this.__mt_firstName;
|
||||
}
|
||||
set {
|
||||
this.__mt_firstName = value;
|
||||
this.SetNativeField("firstName", value);
|
||||
}
|
||||
}
|
||||
|
@ -41,9 +62,11 @@ namespace MonoCatalog {
|
|||
[MonoTouch.Foundation.Connect("lastName")]
|
||||
private MonoTouch.UIKit.UILabel lastName {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UILabel)(this.GetNativeField("lastName")));
|
||||
this.__mt_lastName = ((MonoTouch.UIKit.UILabel)(this.GetNativeField("lastName")));
|
||||
return this.__mt_lastName;
|
||||
}
|
||||
set {
|
||||
this.__mt_lastName = value;
|
||||
this.SetNativeField("lastName", value);
|
||||
}
|
||||
}
|
||||
|
@ -51,9 +74,11 @@ namespace MonoCatalog {
|
|||
[MonoTouch.Foundation.Connect("performAction")]
|
||||
private MonoTouch.UIKit.UISwitch performAction {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UISwitch)(this.GetNativeField("performAction")));
|
||||
this.__mt_performAction = ((MonoTouch.UIKit.UISwitch)(this.GetNativeField("performAction")));
|
||||
return this.__mt_performAction;
|
||||
}
|
||||
set {
|
||||
this.__mt_performAction = value;
|
||||
this.SetNativeField("performAction", value);
|
||||
}
|
||||
}
|
||||
|
@ -61,9 +86,11 @@ namespace MonoCatalog {
|
|||
[MonoTouch.Foundation.Connect("selectProperty")]
|
||||
private MonoTouch.UIKit.UISwitch selectProperty {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UISwitch)(this.GetNativeField("selectProperty")));
|
||||
this.__mt_selectProperty = ((MonoTouch.UIKit.UISwitch)(this.GetNativeField("selectProperty")));
|
||||
return this.__mt_selectProperty;
|
||||
}
|
||||
set {
|
||||
this.__mt_selectProperty = value;
|
||||
this.SetNativeField("selectProperty", value);
|
||||
}
|
||||
}
|
||||
|
@ -71,9 +98,11 @@ namespace MonoCatalog {
|
|||
[MonoTouch.Foundation.Connect("property")]
|
||||
private MonoTouch.UIKit.UILabel property {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UILabel)(this.GetNativeField("property")));
|
||||
this.__mt_property = ((MonoTouch.UIKit.UILabel)(this.GetNativeField("property")));
|
||||
return this.__mt_property;
|
||||
}
|
||||
set {
|
||||
this.__mt_property = value;
|
||||
this.SetNativeField("property", value);
|
||||
}
|
||||
}
|
||||
|
@ -81,9 +110,11 @@ namespace MonoCatalog {
|
|||
[MonoTouch.Foundation.Connect("identifier")]
|
||||
private MonoTouch.UIKit.UILabel identifier {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UILabel)(this.GetNativeField("identifier")));
|
||||
this.__mt_identifier = ((MonoTouch.UIKit.UILabel)(this.GetNativeField("identifier")));
|
||||
return this.__mt_identifier;
|
||||
}
|
||||
set {
|
||||
this.__mt_identifier = value;
|
||||
this.SetNativeField("identifier", value);
|
||||
}
|
||||
}
|
||||
|
@ -91,9 +122,11 @@ namespace MonoCatalog {
|
|||
[MonoTouch.Foundation.Connect("toString")]
|
||||
private MonoTouch.UIKit.UILabel toString {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UILabel)(this.GetNativeField("toString")));
|
||||
this.__mt_toString = ((MonoTouch.UIKit.UILabel)(this.GetNativeField("toString")));
|
||||
return this.__mt_toString;
|
||||
}
|
||||
set {
|
||||
this.__mt_toString = value;
|
||||
this.SetNativeField("toString", value);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,12 +15,17 @@ namespace MonoCatalog {
|
|||
[MonoTouch.Foundation.Register("AlertsViewController")]
|
||||
public partial class AlertsViewController {
|
||||
|
||||
private MonoTouch.UIKit.UITableView __mt_view;
|
||||
|
||||
#pragma warning disable 0169
|
||||
[MonoTouch.Foundation.Connect("view")]
|
||||
protected MonoTouch.UIKit.UITableView view {
|
||||
private MonoTouch.UIKit.UITableView view {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UITableView)(this.GetNativeField("view")));
|
||||
this.__mt_view = ((MonoTouch.UIKit.UITableView)(this.GetNativeField("view")));
|
||||
return this.__mt_view;
|
||||
}
|
||||
set {
|
||||
this.__mt_view = value;
|
||||
this.SetNativeField("view", value);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,12 +15,17 @@ namespace MonoCatalog {
|
|||
[MonoTouch.Foundation.Register("ButtonsViewController")]
|
||||
public partial class ButtonsViewController {
|
||||
|
||||
private MonoTouch.UIKit.UITableView __mt_view;
|
||||
|
||||
#pragma warning disable 0169
|
||||
[MonoTouch.Foundation.Connect("view")]
|
||||
protected MonoTouch.UIKit.UITableView view {
|
||||
private MonoTouch.UIKit.UITableView view {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UITableView)(this.GetNativeField("view")));
|
||||
this.__mt_view = ((MonoTouch.UIKit.UITableView)(this.GetNativeField("view")));
|
||||
return this.__mt_view;
|
||||
}
|
||||
set {
|
||||
this.__mt_view = value;
|
||||
this.SetNativeField("view", value);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,12 +15,17 @@ namespace MonoCatalog {
|
|||
[MonoTouch.Foundation.Register("ControlsViewController")]
|
||||
public partial class ControlsViewController {
|
||||
|
||||
private MonoTouch.UIKit.UITableView __mt_view;
|
||||
|
||||
#pragma warning disable 0169
|
||||
[MonoTouch.Foundation.Connect("view")]
|
||||
protected MonoTouch.UIKit.UITableView view {
|
||||
private MonoTouch.UIKit.UITableView view {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UITableView)(this.GetNativeField("view")));
|
||||
this.__mt_view = ((MonoTouch.UIKit.UITableView)(this.GetNativeField("view")));
|
||||
return this.__mt_view;
|
||||
}
|
||||
set {
|
||||
this.__mt_view = value;
|
||||
this.SetNativeField("view", value);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,34 +15,48 @@ namespace MonoCatalog {
|
|||
[MonoTouch.Foundation.Register("ImagesViewController")]
|
||||
public partial class ImagesViewController {
|
||||
|
||||
[MonoTouch.Foundation.Export("sliderAction:")]partial void sliderAction (MonoTouch.UIKit.UISlider sender);
|
||||
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")]
|
||||
protected MonoTouch.UIKit.UIView view {
|
||||
private MonoTouch.UIKit.UIView view {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
|
||||
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")]
|
||||
protected MonoTouch.UIKit.UIImageView imageView {
|
||||
private MonoTouch.UIKit.UIImageView imageView {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UIImageView)(this.GetNativeField("imageView")));
|
||||
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")]
|
||||
protected MonoTouch.UIKit.UISlider slider {
|
||||
private MonoTouch.UIKit.UISlider slider {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UISlider)(this.GetNativeField("slider")));
|
||||
this.__mt_slider = ((MonoTouch.UIKit.UISlider)(this.GetNativeField("slider")));
|
||||
return this.__mt_slider;
|
||||
}
|
||||
set {
|
||||
this.__mt_slider = value;
|
||||
this.SetNativeField("slider", value);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict />
|
||||
</plist>
|
|
@ -15,22 +15,31 @@ namespace MonoCatalog {
|
|||
[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")]
|
||||
protected MonoTouch.UIKit.UIWindow window {
|
||||
private MonoTouch.UIKit.UIWindow window {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UIWindow)(this.GetNativeField("window")));
|
||||
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")]
|
||||
protected MonoTouch.UIKit.UINavigationController navigationController {
|
||||
private MonoTouch.UIKit.UINavigationController navigationController {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UINavigationController)(this.GetNativeField("navigationController")));
|
||||
this.__mt_navigationController = ((MonoTouch.UIKit.UINavigationController)(this.GetNativeField("navigationController")));
|
||||
return this.__mt_navigationController;
|
||||
}
|
||||
set {
|
||||
this.__mt_navigationController = value;
|
||||
this.SetNativeField("navigationController", value);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,17 +10,22 @@
|
|||
|
||||
namespace MonoCatalog {
|
||||
|
||||
|
||||
// Base type probably should be MonoTouch.UIKit.UIViewController or subclass
|
||||
[MonoTouch.Foundation.Register("MonoDataSqliteController")]
|
||||
public partial class MonoDataSqliteController {
|
||||
|
||||
private MonoTouch.UIKit.UITableView __mt_view;
|
||||
|
||||
#pragma warning disable 0169
|
||||
[MonoTouch.Foundation.Connect("view")]
|
||||
private MonoTouch.UIKit.UITableView view {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UITableView)(this.GetNativeField("view")));
|
||||
this.__mt_view = ((MonoTouch.UIKit.UITableView)(this.GetNativeField("view")));
|
||||
return this.__mt_view;
|
||||
}
|
||||
set {
|
||||
this.__mt_view = value;
|
||||
this.SetNativeField("view", value);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,46 +15,65 @@ namespace MonoCatalog {
|
|||
[MonoTouch.Foundation.Register("PickerViewController")]
|
||||
public partial class PickerViewController {
|
||||
|
||||
[MonoTouch.Foundation.Export("togglePickerStyle:")]partial void togglePickerStyle (MonoTouch.UIKit.UISegmentedControl sender);
|
||||
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.Export("togglePickers:")]
|
||||
partial void togglePickers (MonoTouch.UIKit.UIBarButtonItem sender);
|
||||
|
||||
[MonoTouch.Foundation.Connect("view")]
|
||||
protected MonoTouch.UIKit.UIView view {
|
||||
private MonoTouch.UIKit.UIView view {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
|
||||
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")]
|
||||
protected MonoTouch.UIKit.UISegmentedControl buttonBarSegmentedControl {
|
||||
private MonoTouch.UIKit.UISegmentedControl buttonBarSegmentedControl {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UISegmentedControl)(this.GetNativeField("buttonBarSegmentedControl")));
|
||||
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")]
|
||||
protected MonoTouch.UIKit.UISegmentedControl pickerStyleSegmentedControl {
|
||||
private MonoTouch.UIKit.UISegmentedControl pickerStyleSegmentedControl {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UISegmentedControl)(this.GetNativeField("pickerStyleSegmentedControl")));
|
||||
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")]
|
||||
protected MonoTouch.UIKit.UILabel segmentLabel {
|
||||
private MonoTouch.UIKit.UILabel segmentLabel {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UILabel)(this.GetNativeField("segmentLabel")));
|
||||
this.__mt_segmentLabel = ((MonoTouch.UIKit.UILabel)(this.GetNativeField("segmentLabel")));
|
||||
return this.__mt_segmentLabel;
|
||||
}
|
||||
set {
|
||||
this.__mt_segmentLabel = value;
|
||||
this.SetNativeField("segmentLabel", value);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,12 +15,17 @@ namespace MonoCatalog {
|
|||
[MonoTouch.Foundation.Register("SearchBarController")]
|
||||
public partial class SearchBarController {
|
||||
|
||||
private MonoTouch.UIKit.UIView __mt_view;
|
||||
|
||||
#pragma warning disable 0169
|
||||
[MonoTouch.Foundation.Connect("view")]
|
||||
protected MonoTouch.UIKit.UIView view {
|
||||
private MonoTouch.UIKit.UIView view {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
|
||||
this.__mt_view = ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
|
||||
return this.__mt_view;
|
||||
}
|
||||
set {
|
||||
this.__mt_view = value;
|
||||
this.SetNativeField("view", value);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,12 +15,17 @@ namespace MonoCatalog {
|
|||
[MonoTouch.Foundation.Register("SegmentViewController")]
|
||||
public partial class SegmentViewController {
|
||||
|
||||
private MonoTouch.UIKit.UIView __mt_view;
|
||||
|
||||
#pragma warning disable 0169
|
||||
[MonoTouch.Foundation.Connect("view")]
|
||||
protected MonoTouch.UIKit.UIView view {
|
||||
private MonoTouch.UIKit.UIView view {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
|
||||
this.__mt_view = ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
|
||||
return this.__mt_view;
|
||||
}
|
||||
set {
|
||||
this.__mt_view = value;
|
||||
this.SetNativeField("view", value);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,12 +15,17 @@ namespace MonoCatalog {
|
|||
[MonoTouch.Foundation.Register("TextFieldController")]
|
||||
public partial class TextFieldController {
|
||||
|
||||
private MonoTouch.UIKit.UITableView __mt_view;
|
||||
|
||||
#pragma warning disable 0169
|
||||
[MonoTouch.Foundation.Connect("view")]
|
||||
protected MonoTouch.UIKit.UITableView view {
|
||||
private MonoTouch.UIKit.UITableView view {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UITableView)(this.GetNativeField("view")));
|
||||
this.__mt_view = ((MonoTouch.UIKit.UITableView)(this.GetNativeField("view")));
|
||||
return this.__mt_view;
|
||||
}
|
||||
set {
|
||||
this.__mt_view = value;
|
||||
this.SetNativeField("view", value);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,12 +15,17 @@ namespace MonoCatalog {
|
|||
[MonoTouch.Foundation.Register("TextViewController")]
|
||||
public partial class TextViewController {
|
||||
|
||||
private MonoTouch.UIKit.UIView __mt_view;
|
||||
|
||||
#pragma warning disable 0169
|
||||
[MonoTouch.Foundation.Connect("view")]
|
||||
protected MonoTouch.UIKit.UIView view {
|
||||
private MonoTouch.UIKit.UIView view {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
|
||||
this.__mt_view = ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
|
||||
return this.__mt_view;
|
||||
}
|
||||
set {
|
||||
this.__mt_view = value;
|
||||
this.SetNativeField("view", value);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,58 +15,82 @@ namespace MonoCatalog {
|
|||
[MonoTouch.Foundation.Register("ToolbarViewController")]
|
||||
public partial class ToolbarViewController {
|
||||
|
||||
[MonoTouch.Foundation.Export("toggleStyle:")]partial void toggleStyle (MonoTouch.UIKit.UISegmentedControl sender);
|
||||
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("toggleBarStyle:")]
|
||||
partial void toggleBarStyle (MonoTouch.UIKit.UISegmentedControl sender);
|
||||
|
||||
[MonoTouch.Foundation.Export("toggleTintColor:")]partial void toggleTintColor (MonoTouch.UIKit.UISwitch sender);
|
||||
[MonoTouch.Foundation.Export("toggleTintColor:")]
|
||||
partial void toggleTintColor (MonoTouch.UIKit.UISwitch sender);
|
||||
|
||||
[MonoTouch.Foundation.Connect("view")]
|
||||
protected MonoTouch.UIKit.UIView view {
|
||||
private MonoTouch.UIKit.UIView view {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
|
||||
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")]
|
||||
protected MonoTouch.UIKit.UISegmentedControl barStyleSegControl {
|
||||
private MonoTouch.UIKit.UISegmentedControl barStyleSegControl {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UISegmentedControl)(this.GetNativeField("barStyleSegControl")));
|
||||
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")]
|
||||
protected MonoTouch.UIKit.UISegmentedControl buttonItemStyleSegControl {
|
||||
private MonoTouch.UIKit.UISegmentedControl buttonItemStyleSegControl {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UISegmentedControl)(this.GetNativeField("buttonItemStyleSegControl")));
|
||||
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")]
|
||||
protected MonoTouch.UIKit.UIPickerView systemButtonPicker {
|
||||
private MonoTouch.UIKit.UIPickerView systemButtonPicker {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UIPickerView)(this.GetNativeField("systemButtonPicker")));
|
||||
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")]
|
||||
protected MonoTouch.UIKit.UISwitch tintSwitch {
|
||||
private MonoTouch.UIKit.UISwitch tintSwitch {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UISwitch)(this.GetNativeField("tintSwitch")));
|
||||
this.__mt_tintSwitch = ((MonoTouch.UIKit.UISwitch)(this.GetNativeField("tintSwitch")));
|
||||
return this.__mt_tintSwitch;
|
||||
}
|
||||
set {
|
||||
this.__mt_tintSwitch = value;
|
||||
this.SetNativeField("tintSwitch", value);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,16 +15,23 @@ namespace MonoCatalog {
|
|||
[MonoTouch.Foundation.Register("TransitionViewController")]
|
||||
public partial class TransitionViewController {
|
||||
|
||||
[MonoTouch.Foundation.Export("curlAction:")]partial void curlAction (MonoTouch.UIKit.UIBarButtonItem sender);
|
||||
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.Export("flipAction:")]
|
||||
partial void flipAction (MonoTouch.UIKit.UIBarButtonItem sender);
|
||||
|
||||
[MonoTouch.Foundation.Connect("view")]
|
||||
protected MonoTouch.UIKit.UIView view {
|
||||
private MonoTouch.UIKit.UIView view {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
|
||||
this.__mt_view = ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
|
||||
return this.__mt_view;
|
||||
}
|
||||
set {
|
||||
this.__mt_view = value;
|
||||
this.SetNativeField("view", value);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,12 +15,17 @@ namespace MonoCatalog {
|
|||
[MonoTouch.Foundation.Register("WebViewController")]
|
||||
public partial class WebViewController {
|
||||
|
||||
private MonoTouch.UIKit.UIView __mt_view;
|
||||
|
||||
#pragma warning disable 0169
|
||||
[MonoTouch.Foundation.Connect("view")]
|
||||
protected MonoTouch.UIKit.UIView view {
|
||||
private MonoTouch.UIKit.UIView view {
|
||||
get {
|
||||
return ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
|
||||
this.__mt_view = ((MonoTouch.UIKit.UIView)(this.GetNativeField("view")));
|
||||
return this.__mt_view;
|
||||
}
|
||||
set {
|
||||
this.__mt_view = value;
|
||||
this.SetNativeField("view", value);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,8 @@
|
|||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<BundleIcon>images\Icon.png</BundleIcon>
|
||||
<RootNamespace>MonoCatalog</RootNamespace>
|
||||
<MtouchSdkVersion>3.0</MtouchSdkVersion>
|
||||
<MtouchSdkVersion>4.0</MtouchSdkVersion>
|
||||
<MtouchMinimumOS>3.0</MtouchMinimumOS>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
@ -25,6 +26,7 @@
|
|||
<WarningLevel>4</WarningLevel>
|
||||
<MtouchLink>None</MtouchLink>
|
||||
<MtouchDebug>True</MtouchDebug>
|
||||
<MtouchI18n />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
|
||||
<DebugType>none</DebugType>
|
||||
|
@ -33,6 +35,7 @@
|
|||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<MtouchDebug>False</MtouchDebug>
|
||||
<MtouchI18n />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
@ -43,6 +46,8 @@
|
|||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<MtouchDebug>True</MtouchDebug>
|
||||
<CodesignKey>iPhone Developer</CodesignKey>
|
||||
<MtouchI18n />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
|
||||
<DebugType>none</DebugType>
|
||||
|
@ -51,6 +56,7 @@
|
|||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<MtouchDebug>False</MtouchDebug>
|
||||
<MtouchI18n />
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
|
@ -204,4 +210,7 @@
|
|||
<Content Include="images\whiteButton.png" />
|
||||
<Content Include="images\yellowslide.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Info.plist" />
|
||||
</ItemGroup>
|
||||
</Project>
|
Загрузка…
Ссылка в новой задаче