The < > syntax is different between Obj-C and C#.

You'll need to implement it as UIViewController in C#.

public partial class printerTestMonoTouchViewController : UIViewController

If you need to implement the NSStreamDelegate, you'll probably want to
subclass NSStreamDelegate separately.



On 16 January 2012 20:19, danmiser <[email protected]> wrote:

> How do you convert the following to MonoTouch? The compiler is not happy
> if I
> do this:
>
> public partial class printerTestMonoTouchViewController :
> UIViewController<NSStreamDelegate>
>
>
> @interface printerView : UIViewController <NSStreamDelegate> {
>        NSMutableArray *_accessoryList;
>        UITextField *printContent;
>        UIButton    *printButton;
>        UIButton        *printBarcodeButton;
>        UIButton        *printImageButton;
>        UILabel     *logLabel;
>        UILabel     *accessoryLabel;
>    IBOutlet UISwitch    *Myswitch;
>        EAAccessory *accessory;
>        EASession   *session;
>        UIAlertView *alertMessage;
>
> }
>
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/UIViewController-NSStreamDelegate-converted-to-MonoTouch-tp4301287p4301287.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to