MBNumericPrimitiveAccessors Protocol Reference
| Declared in | TypeCoercionSupport.h |
|---|
Overview
This is the base protocol that will be adopted by our NSString and NSNull
extensions to ensure proper KVC type coercion on 64-bit processors.
– charValue
required method
Returns the char value equivalent of the receiver.
- (char)charValueReturn Value
The value of the receiver as a char.
Declared In
TypeCoercionSupport.h
– unsignedCharValue
required method
Returns the unsigned char value equivalent of the receiver.
- (unsigned char)unsignedCharValueReturn Value
The value of the receiver as an unsigned char.
Declared In
TypeCoercionSupport.h
– shortValue
required method
Returns the short value equivalent of the receiver.
- (short)shortValueReturn Value
The value of the receiver as a short.
Declared In
TypeCoercionSupport.h
– unsignedShortValue
required method
Returns the unsigned short value equivalent of the receiver.
- (unsigned short)unsignedShortValueReturn Value
The value of the receiver as an unsigned short.
Declared In
TypeCoercionSupport.h
– intValue
required method
Returns the int value equivalent of the receiver.
- (int)intValueReturn Value
The value of the receiver as a int.
Declared In
TypeCoercionSupport.h
– unsignedIntValue
required method
Returns the unsigned int value equivalent of the receiver.
- (unsigned int)unsignedIntValueReturn Value
The value of the receiver as an unsigned int.
Declared In
TypeCoercionSupport.h
– longValue
required method
Returns the long value equivalent of the receiver.
- (long)longValueReturn Value
The value of the receiver as a long.
Declared In
TypeCoercionSupport.h
– unsignedLongValue
required method
Returns the unsigned long value equivalent of the receiver.
- (unsigned long)unsignedLongValueReturn Value
The value of the receiver as an unsigned long.
Declared In
TypeCoercionSupport.h
– longLongValue
required method
Returns the long long value equivalent of the receiver.
- (long long)longLongValueReturn Value
The value of the receiver as a long long.
Declared In
TypeCoercionSupport.h
– unsignedLongLongValue
required method
Returns the unsigned long long value equivalent of the receiver.
- (unsigned long long)unsignedLongLongValueReturn Value
The value of the receiver as an unsigned long long.
Declared In
TypeCoercionSupport.h
– floatValue
required method
Returns the float value equivalent of the receiver.
- (float)floatValueReturn Value
The value of the receiver as a float.
Declared In
TypeCoercionSupport.h
– doubleValue
required method
Returns the double value equivalent of the receiver.
- (double)doubleValueReturn Value
The value of the receiver as a double.
Declared In
TypeCoercionSupport.h
– boolValue
required method
Returns the BOOL value equivalent of the receiver.
- (BOOL)boolValueReturn Value
The value of the receiver as a BOOL.
Declared In
TypeCoercionSupport.h
– integerValue
required method
Returns the NSInteger value equivalent of the receiver.
- (NSInteger)integerValueReturn Value
The value of the receiver as an NSInteger.
Declared In
TypeCoercionSupport.h
– unsignedIntegerValue
required method
Returns the NSUInteger value equivalent of the receiver.
- (NSUInteger)unsignedIntegerValueReturn Value
The value of the receiver as an NSUInteger.
Declared In
TypeCoercionSupport.h
– stringValue
required method
Returns the NSString value equivalent of the receiver.
- (nonnull NSString *)stringValueReturn Value
The value of the receiver as an NSString.
Declared In
TypeCoercionSupport.h