Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSCoderMBS class.

Previous items

NSCoderMBS.encodeSize(value as NSSizeMBS, key as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 11.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Encodes a size object.

NSCoderMBS.encodeString(value as string, key as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Encodes a string.

Some examples using this method:

NSCoderMBS.systemVersion as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes All
During encoding, this method should return the system version currently in effect.

During decoding, this method should return the version that was in effect when the data was encoded.

By default, this method returns the current system version, which is appropriate for encoding but not for decoding. Subclasses that implement decoding must override this method to return the system version of the data being decoded.

Previous items

The items on this page are in the following plugins: MBS MacBase Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...