[Mono-osx] [MonoMac] Failed to run Hello.app sample
Lee V. Andrus
landrus2 at by-rite.net
Mon Sep 6 18:26:18 EDT 2010
The ability of a window and text box to display their default appearance
is not dependent on any application code-behind.
Actually, the sample program includes a NIB file and an App Delegate
class.
But the nib is not compatible with OS X 10.5. I tried it under OS X
10.5.8
and got the same results as Alex until I cut out the nib. The
attachment
is a nib-less version of the program that will launch and display a
window
under OS X 10.5.8. One must also modify Info.plist to change the
LSMinimumSystemVersion and remove the reference to the nib.
However, the window initially appears blank white and the app
will not quit unless I use Force Quit. But the Close, Minimize, and
Zoom buttons do work, and after some manipulation the window refreshed
and displayed a more normal appearance.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hello.cs.zip
Type: application/zip
Size: 1732 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-osx/attachments/20100906/b10bfd01/attachment.zip
-------------- next part --------------
Perhaps it would be better to include the XIB file in the sample.
Please
save it in a XIB format version compatible with Interface Builder 3.1.4.
On Sep 2, 2010, at 12:19 PM, Geoff Norton wrote:
> > Only sample app window doesn't repaint correctly and doesn't seem to
> > respond to user input. This might be another problem.
>
> Thats all the sample does, since it doesn't use a NIB or a
> AppDelegate; a lot of plumbing isn't hooked up right. It was just a
> tech demo that organically grew as we got the binding working.
>
> -g
More information about the Mono-osx
mailing list