[Mono-osx] MonoMac example - now complete but...

gareth.baker at stfc.ac.uk gareth.baker at stfc.ac.uk
Thu Nov 11 05:31:57 EST 2010

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

Scanned by iCritical.

More information about the Mono-osx mailing list