Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: iOS Table View that automatically adjusts with keyboard show/hide. Parent comment
Actually, on iOS, CGFloat is 32 bits, so you should use '0.0f' and '50.0f'.
On the Mac, in, 64-bit, it's a 64-bit value, so your advice would be correct there.
It is slightly annoying there's no easy way to write a CGFloat literal in a cross-platform way apart from the overly verbose '((CGFloat)50.0)'.
Actually, on iOS, CGFloat is 32 bits, so you should use '0.0f' and '50.0f'.
On the Mac, in, 64-bit, it's a 64-bit value, so your advice would be correct there.
It is slightly annoying there's no easy way to write a CGFloat literal in a cross-platform way apart from the overly verbose '((CGFloat)50.0)'.