title: CGFloat has weird default value
body: <p>I just got confronted with very weird bug, which happened probably due to lack of my knowledge on Objective C data types.
  If I do this:</p>
  
  <pre><code>CGFloat newY;
  NSLog(@"newY is %f", newY);
  </code></pre>
  
  <p>Log returns <strong>0.0</strong>, although I would expect nil, but that's not the real problem. If I now export this app to iOS .ipa and install the app from there the newY gets automatically initialized to <strong>185.000</strong>.
  Where does this value come from and why it is different when the app is installed from .ipa and not directly from XCode?</p>
  
  <p>I would really appreciate any insight on what's happening, it doesn't make any sense to me.</p>