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

Karl Heinz Brehme Arredondo karl at e-magesolutions.com
Mon Oct 24 21:56:51 EDT 2011


Really valuable, thanks. Well.. I solved that with brute force: dropped the
view from project and recreated :/.

Karl

From:  competent_tech <xamarinforums at competent.com>
Date:  Mon, 24 Oct 2011 18:17:01 -0700 (PDT)
To:  "monotouch at lists.ximian.com" <monotouch at lists.ximian.com>
Subject:  Re: [MonoTouch] View is blank after using the new XCode4
integration

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-XCo
de4-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/20111024/0db07833/attachment.html 


More information about the MonoTouch mailing list