[Mono-osx] [Monomac] [PATCH] New Villain tracker sample
olegzzzz at gmail.com
Thu Dec 30 15:21:25 EST 2010
I was following the book as close as possible and made just some improvements in the last minute (replaced NSMutableDictionary with Dictionary, NSMutableArray with List and such).
Of course I will update the sample promptly and will repost the patch.
It's also obvious that with recently added support of Cocoa bindings the sample could be simplified dramatically, however we should state the purpose of the sample is to demonstrate "low-level" programming.
Thank you for comments and ideas.
Отправлено с iPad
30.12.2010, в 23:04, Miguel de Icaza <miguel at novell.com> написал(а):
> Hello Oleg,
> Thanks for contributing this sample.
> One question: is there a reason to use a Dictionary<string,NSObject> as the data storage instead of a strongly typed Villain data structure?
> It just seems like there is a lot of typecasting going on in the code, and I would like to showcase the benefits of using C#. Could you redo the sample to use a Villain data type that is used instead of a Dictionary?
> On Tue, Dec 28, 2010 at 3:16 PM, Oleg Zaimkin <olegzzzz at gmail.com> wrote:
> Yet another sample demonstrating plain Cocoa API (no data binding), NSTableView, implementing delegates etc.
> Based on chapter 4 and 5 from "Learn Cocoa on the Mac".
> Thanks, Oleg.
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-osx