[Mono-osx] MonoMac basic Foundation types
duane at wandless.net
Tue Jul 13 14:34:49 EDT 2010
I think I can answer some of your questions. Yes NSString can be accessed
from MonoMac. But most of the time you will just pass a string through the
bindings. So a generic NSString with the string text is created and passed
through the binding.
A strongly-typed array. In ObjcC you will see something like this:
Possible bindings are:
And the correct binding is:
A strongly-typed array.
On Tue, Jul 13, 2010 at 2:09 PM, Andrew Brehm <ajbrehm at gmail.com> wrote:
> Expose the basic Foundation as C# native types:
> NSString becomes string
> NSArray becomes strongly-typed array
> Will this affect all NSString that are parameters for Cocoa methods? Is
> there a way to access NSString for its methods from .NET?
> And what's a "strongly-typed array"? Unless I am confused now I thought
> arrays in .NET are of one type (like Int32) whereas an NSArray is an
> of objects of any type (or should that of "objects of type id")?
> View this message in context:
> Sent from the Mono - OSX mailing list archive at Nabble.com.
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-osx