title: Get Ivar value from object in Objective-C
body: <p>Can someone post an example of how I get an instance variable value that is a double?
  I tried using the object_getIvar() function but that didn't go very well because it seems like this function is only good for variables that return objects and not scalar data type.</p>