Thanks Eric, that will help.

Karl

From:  "Eric J. M. Smith" <[email protected]>
Reply-To:  <[email protected]>
Date:  Mon, 19 Dec 2011 14:32:49 -0500
To:  "[email protected]" <[email protected]>
Subject:  Re: [MonoTouch] IB + MonoDevelop with public outlets

On 19 December 2011 10:15, Karl Heinz Brehme Arredondo
<[email protected]> wrote:
>  Is there a possibility or a way to declare an outlet public on Xcode and
>  then MonoDevelop understand it making the outlet in C# to be public? Like
>  Visual Studio when you set a control public or private.

I had the same problem, and couldn't find a way of doing this using
the MonoDevelop/XCode combination.

However, if you look in the *.Designer.cs files which are created, you
can see that that the code it generates is really pretty trivial.
I've found it easiest just to remove the Designer.cs files from my
project and code the outlets and actions by hand, making them public
or private as appropriate.  This approach is also nice because you can
open your .xib files directly in Interface Builder instead of fussing
with XCode.

Eric Smith
Tarkvara Design Inc.
_______________________________________________
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