This is telling you that orientation is a instance of NSNumber
. Technically, NSCFNumber
is a private subclass of NSNumber
, but that is an implementation detail which you don't have to worry about. To get the integer value you would call
[orientation integerValue]