Slide 70
Slide 70 text
May 15, 2017 | MARIN USALJ
/*!
-integerForKey: is equivalent to -objectForKey:,
except that it converts the returned value to an
NSInteger. If the value is an NSNumber, the result of -
integerValue will be returned. If the value is an
NSString, it will be converted to NSInteger if possible.
If the value is a boolean, it will be converted to
either 1 for YES or 0 for NO. If the value is absent or
can't be converted to an integer, 0 will be returned.
*/
Gotchas