[MonoTouch] Problem with .h files disappearing in Interface Builder

Chris_M kungfuchris99 at yahoo.com
Sat Mar 3 00:44:19 UTC 2012


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.


More information about the MonoTouch mailing list