[Mono-osx] [Monomac] [PATCH] New Villain tracker sample

Oleg Zee olegzzzz at gmail.com
Thu Dec 30 16:56:22 EST 2010


Miguel,

here's the patch to previous one. Sorry, cant provide combined patch (it might take another couple days to read another book on git :)).
I simply replaced Dictionary with Villain POCO which saved not too much code while readability is much better now.



Thanks,
Oleg.

> 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?
> 
> Miguel
> 
> 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
> http://lists.ximian.com/mailman/listinfo/mono-osx
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20101231/4f685715/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Introduced-Villain-data-structure-instead-of-Diction.patch
Type: application/octet-stream
Size: 12161 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-osx/attachments/20101231/4f685715/attachment.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20101231/4f685715/attachment-0001.html 


More information about the Mono-osx mailing list