[MonoTouch] Problem with .h files disappearing in Interface Builder
Rene Ruppert
rene.ruppert at googlemail.com
Sat Mar 3 12:15:40 UTC 2012
I had the same effect when switching to Xcode 4.3. The final solution was to manually delete the "obj" folder of my project (which contains the Xcode sync stuff).
Then, next time, opening the XIB my .h file was back and visible in the Assistant.
Maybe worth trying.
René
Am 03.03.2012 um 02:53 schrieb Jeff Stedfast:
> Hi Chris,
>
> Yes, that is correct. I committed a fix to the 2.8.8 branch (should be in 2.8.8.2 beta) that will hopefully solve this, but I have no idea because I still can't repro :(
>
> Jeff
>
> On Fri, Mar 2, 2012 at 7:44 PM, Chris_M <kungfuchris99 at yahoo.com> wrote:
> Hi Jeff,
>
> The xib file that I'm having the disappearing .h file problem with is the
> ViewController.xib for the ViewController.cs file (in a single-view app)
> which includes the partial ViewController class (which of course has the
> matching partial class in the ViewController.designer.cs file). So that
> means that I do have a C# class for my xib file, right?
>
>
> --Chris M.
>
>
> Jeff Stedfast wrote
> >
> > Hey Chris and Chris,
> >
> > I got your logs, thanks!
> >
> > Do you have C# classes for your .xib files?
> >
> > In MonoDevelop, you can create standalone .xib files (Xcode allows
> > this too) where no classes are auto-generated for you.
> >
> > I mention this because MonoDevelop only generates .h files from C#
> > classes, not from .xib files, when it exports projects to Xcode.
> >
> > This might be a source of confusion.
> >
> > Is this the case for your projects? Unfortunately, the Xcode4Sync.log
> > doesn't contain enough information for me to make this conclusion, but
> > it does sort of suggest that it might be the case since it does not
> > mention finding any classes associated with your .xib files. However,
> > this could simply be a bug in MonoDevelop's logic to collect the user
> > defined types in the project.
> >
> >
> > Jeff
> >
>
>
> --
> View this message in context: http://monotouch.2284126.n4.nabble.com/Problem-with-h-files-disappearing-in-Interface-Builder-tp4415963p4440342.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
>
> _______________________________________________
> 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/20120303/6283f342/attachment.html>
More information about the MonoTouch
mailing list