Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

Next items

NSCoderMBS.allowsKeyedCoding as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.2 Yes No No Yes, macOS only No
Function: Returns a Boolean value that indicates whether the receiver supports keyed coding of objects.
Notes: The default implementation returns false. Concrete subclasses that support keyed coding, such as NSKeyedArchiver, need to override this method to return true.

Feedback, Comments & Corrections

NSCoderMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 13.1 Yes No No Yes, macOS only No
Function: The private constructor.

Feedback, Comments & Corrections

NSCoderMBS.containsValueForKey(key as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.2 Yes No No Yes, macOS only No
Function: Returns a Boolean value that indicates whether an encoded value is available for a string.

Feedback, Comments & Corrections

NSCoderMBS.decodeBool(key as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.2 Yes No No Yes, macOS only No
Function: Decodes and returns a boolean value that was previously encoded with encodeBool and associated with the string key.

Feedback, Comments & Corrections

NSCoderMBS.decodeBytes(key as string) as MemoryBlock
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.2 Yes No No Yes, macOS only No
Function: Decodes a buffer of data whose types are unspecified.

Feedback, Comments & Corrections

NSCoderMBS.decodeCFObjectMBS(key as string) as Variant
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 13.2 Yes No No Yes, macOS only No
Function: Decodes CFObject object.
Notes:
This is a special convenience methods to decode CF* classes which are bridged to Cocoa objects.
Like CFDictionary, CFURL, CFData, CFString, CFNumber, CFArray and a few others.

Feedback, Comments & Corrections

NSCoderMBS.decodeDictionary(key as string) as Dictionary
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: Decodes a dictionary.

Feedback, Comments & Corrections

NSCoderMBS.decodeDouble(key as string) as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.2 Yes No No Yes, macOS only No
Function: Decodes and returns a double value that was previously encoded with either encodeFloat or encodeDouble and associated with the string key.

Feedback, Comments & Corrections

NSCoderMBS.decodeFloat(key as string) as single
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.2 Yes No No Yes, macOS only No
Function: Decodes and returns a float value that was previously encoded with encodeFloat or encodeDouble and associated with the string key.

Feedback, Comments & Corrections

NSCoderMBS.decodeInt32(key as string) as Int32
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.2 Yes No No Yes, macOS only No
Function: Decodes and returns a 32-bit integer value that was previously encoded with encodeInt, encodeInteger, encodeInt32, or encodeInt64 and associated with the string key.
Notes: If the encoded integer does not fit into a 32-bit integer, the method raises an NSRangeException.

Feedback, Comments & Corrections

NSCoderMBS.decodeInt64(key as string) as Int64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.2 Yes No No Yes, macOS only No
Function: Decodes and returns a 64-bit integer value that was previously encoded with encodeInt, encodeInteger, encodeInt32, or encodeInt64 and associated with the string key.

Feedback, Comments & Corrections

NSCoderMBS.decodeNSURLFile(key as string) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 13.2 Yes No No Yes, macOS only No
Function: Decodes an NSURL and returns folderitem.

Feedback, Comments & Corrections

NSCoderMBS.decodeNSURLString(key as string) as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 13.2 Yes No No Yes, macOS only No
Function: Decodes an NSURL and returns string.

Feedback, Comments & Corrections

NSCoderMBS.decodePoint(key as string) as NSPointMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: Decodes a point object.

Feedback, Comments & Corrections

NSCoderMBS.decodeRect(key as string) as NSRectMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: Decodes a rectangle.

Feedback, Comments & Corrections

NSCoderMBS.decodeSize(key as string) as NSSizeMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: Decodes a size object.

Feedback, Comments & Corrections

NSCoderMBS.decodeString(key as string) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: Decodes a string.

Feedback, Comments & Corrections

NSCoderMBS.encodeBool(value as boolean, key as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.2 Yes No No Yes, macOS only No
Function: Encodes value and associates it with the string key.

Feedback, Comments & Corrections

NSCoderMBS.encodeBytes(value as MemoryBlock, key as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.2 Yes No No Yes, macOS only No
Function: Encodes a buffer of data whose types are unspecified.

Feedback, Comments & Corrections

NSCoderMBS.encodeCFObjectMBS(value as Variant, key as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 13.2 Yes No No Yes, macOS only No
Function: Encodes a CFObject.
Notes:
This is a special convenience methods to encode CF* classes which are bridged to Cocoa objects.
Like CFDictionary, CFURL, CFData, CFString, CFNumber, CFArray and a few others.

Feedback, Comments & Corrections

NSCoderMBS.encodeDictionary(value as Dictionary, key as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: Encodes a dictionary.
Notes:
Not all objects can be inside the dictionary.
Cocoa objects, string, booleans and numbers are okay.

Feedback, Comments & Corrections

NSCoderMBS.encodeDouble(value as Double, key as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.2 Yes No No Yes, macOS only No
Function: Encodes value and associates it with the string key.

Feedback, Comments & Corrections

NSCoderMBS.encodeFloat(value as single, key as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.2 Yes No No Yes, macOS only No
Function: Encodes value and associates it with the string key.

Feedback, Comments & Corrections

NSCoderMBS.encodeInt32(value as Int32, key as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.2 Yes No No Yes, macOS only No
Function: Encodes the 32-bit integer value and associates it with the string key.

Feedback, Comments & Corrections

NSCoderMBS.encodeInt64(value as Int64, key as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.2 Yes No No Yes, macOS only No
Function: Encodes the 64-bit integer value and associates it with the string key.

Feedback, Comments & Corrections

NSCoderMBS.encodeNSURLFile(value as folderitem, key as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 13.2 Yes No No Yes, macOS only No
Function: Encodes a folderitem as NSURL.

Feedback, Comments & Corrections

NSCoderMBS.encodeNSURLString(value as String, key as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 13.2 Yes No No Yes, macOS only No
Function: Encodes a string with URL as NSURL object.

Feedback, Comments & Corrections

NSCoderMBS.encodePoint(value as NSPointMBS, key as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: Encodes a point object.

Feedback, Comments & Corrections

NSCoderMBS.encodeRect(value as NSRectMBS, key as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: Encodes a rectangle.

Feedback, Comments & Corrections

Next items

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




Links
MBS Xojo Chart Plugins