[Mono-osx] MonoMac example - now complete but...
kjpou
kjpou at pt.lu
Mon Nov 15 13:28:06 EST 2010
Hello Gareth
While looking through NSMutableDictionary I found the following in the
code so the NSString should probably be defined as string and not
NSString. Of course that is from following what was already defined in
other interfaces, so the experts will have the final word for NSString
or String.
[Export ("writeToFile:atomically:")]
bool WriteToFile (string path, bool useAuxiliaryFile);
Kenneth
On 11/11/10 11:31 AM, gareth.baker at stfc.ac.uk wrote:
> I've sorted all the problems with reading and writing to a plist, but it
> required adding two additional items to the declaration of NSArray in
> foundation.cs in maccore:
>
> // G Baker 10 Nov 2010
> // at the bottom of NSArray
> [Export ("writeToFile:atomically:")]
> bool WriteToFile (NSString path, bool useAuxiliaryFile);
>
> [Export ("arrayWithContentsOfFile:")][Static]
> NSArray FromFile (NSString path);
> // should these be string rather than NSString?
>
> Are these suitable for addition?
>
> Gareth Baker
>
More information about the Mono-osx
mailing list