Package org.robovm.apple.foundation
Class NSKeyValueCoder
java.lang.Object
org.robovm.objc.ObjCExtensions
org.robovm.apple.foundation.NSExtensions
org.robovm.apple.foundation.NSKeyValueCoder
public class NSKeyValueCoder extends NSExtensions
-
Constructor Summary
Constructors Constructor Description NSKeyValueCoder(NSObject object) -
Method Summary
Modifier and Type Method Description NSMutableArray<?>getMutableArrayValue(String keyPath)NSMutableOrderedSet<?>getMutableOrderedSetValue(String keyPath)NSMutableSet<?>getMutableSetValue(String keyPath)NSObjectgetValue(String keyPath)NSObjectgetValueForUndefinedKey(String key)Map<String,NSObject>getValues(String... keys)Map<String,NSObject>getValues(List<String> keys)voidsetNullValue(String key)voidsetValue(String keyPath, NSObject value)voidsetValueForUndefinedKey(String key, NSObject value)voidsetValues(Map<String,NSObject> values)booleanvalidateValue(String keyPath, NSObject value)Methods inherited from class org.robovm.apple.foundation.NSExtensions
allocMethods inherited from class org.robovm.objc.ObjCExtensions
initObject, updateStrongRef
-
Constructor Details
-
NSKeyValueCoder
-
-
Method Details
-
getValue
-
setValue
-
validateValue
- Parameters:
keyPath-value-- Returns:
- Throws:
NSErrorException
-
getMutableArrayValue
-
getMutableSetValue
-
getMutableOrderedSetValue
-
getValueForUndefinedKey
-
setValueForUndefinedKey
-
setNullValue
-
getValues
-
getValues
-
setValues
-