[MonoTouch] View is blank after using the new XCode4 integration

Jeff Stedfast jeff at xamarin.com
Tue Oct 25 09:55:20 EDT 2011


Thanks competent_tech! This is a great explanation of the issue.

>From the looks of things (I have yet to confirm), it looks like Alan
McGovern committed a fix for this issue just yesterday so *hopefully* this
issue will be auto-corrected in MonoDevelop 2.8.2 when it is released.

Jeff

On Mon, Oct 24, 2011 at 9:17 PM, competent_tech <xamarinforums at competent.com
> wrote:

> I had this exact same issue and through a process of elimination, finally
> figured out the cause.
>
> My views that were created prior to 2.8 had an outlet for the View called
> view. When I opened the header file, I discovered that XCode was
> complaining
> that declaration for the view was a duplicate name.
>
> Since this seemed like it could be the source of the problem, I took the
> following steps:
>
> 1) Deleted the view outlet in the file owner's list of outlets
>
> 2) Manually removed the two references to view in the header file
>
> 3) Linked the View outlet in the file owner's list of outlets directly to
> the view (I did not drag the connection to the header file, I dragged it to
> the view that is on left-hand side of the designer area). If you forget to
> do this step, you will receive a runtime error about the nib being loaded
> but the view outlet not being sent.
>
> Hopefully this will help resolve someone else's problems as well.
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/View-is-blank-after-using-the-new-XCode4-integration-tp3859876p3935231.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20111025/ab536b7c/attachment.html 


More information about the MonoTouch mailing list