[Mono-osx] MonoMac parser.cs

Miguel de Icaza miguel at novell.com
Tue Apr 20 13:46:21 EDT 2010


Hello,

In the particular case of NSArray and NSMutableArray our runtime has been
>> extended to natively convert NSArrays to C# arrays and back so the only code
>> that we bound is the required interop code for NSArray.
>>
>
> That is an interesting strategy and is limiting (I think).  How I use
> NSMutableArrays is to populate them in C# then send then to the native obj-c
> UI NSArrayControllers, etc.  I then can manipulate the array in C# and the
> UI updates as expected.  If the only bindings exposed are to convert from a
> List to NSArray then this use would not be possible.


Please post a sample;  I looked at NSArrayController and it does not seem to
take ownership and management of the array.

Miguel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20100420/b2df40ca/attachment.html 


More information about the Mono-osx mailing list