[Mono-bugs] [Bug 567193] Crash when casting AppDelegate.window to an object of an inherited UIWindow class

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jan 3 23:13:15 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=567193

http://bugzilla.novell.com/show_bug.cgi?id=567193#c1


Lan Pham <taxi4alex at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |CLOSED
         Resolution|                            |INVALID

--- Comment #1 from Lan Pham <taxi4alex at gmail.com> 2010-01-04 04:13:10 UTC ---
It needs to register the class when using it in interface builder:
[MonoTouch.Foundation.Register("SnoopWindow")]

and add an constructor for class:
public SnoopWindow (IntPtr handle) : base (handle) {}

The instruction for troubleshooting on monotouch.net is missing information:
http://monotouch.net/Documentation/Troubleshoot#Unknown_class_XXXX_in_Interface_Builder_file

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list