Add -screenHeightDifferenceFrom4InchDisplay helper

If there's a technical reason we can ignore the `f`, happy to do so.  If
RPR and you agree, go ahead and update the code guidelines.


On Wed, Aug 13, 2014 at 6:19 PM, mtdmcnerney <notifications@github.com>
wrote:

> In Core/LWEUniversalAppHelpers.m:
>
> > @@ -28,6 +28,10 @@
> >  #include <sys/types.h>
> >  #include <sys/sysctl.h>
> >
> > +
> > +static const CGFloat FourInchDisplayHeight = 568.0;
>
> 64 bit CGFloat is double anyhow, so I think it's easier just to leave out
> the f from now on. In any case, I'm sure the compiler will handle simple
> literals like this well. I think the f just adds typing labor, and adds
> noise for the reader.
>
> But, I'm closing this PR because it turns out that the screen bounds and
> key window bounds are incorrectly always set to 1024x768 in the resizable
> iPhone simulator that I'm using for the large screen size work, so I can't
> test this method properly yet. I'll open the PR again later once Apple
> fixes this.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/moneytree/Long-Weekend-Dev-Tools/pull/53/files#r16165155>
> .
>



-- 
マネーツリー株式会社 〜 Moneytree KK
〒150-0001 東京都渋谷区神宮前3-27-15 FLAG 2L
www.moneytree.jp  |  +81-90 4459 9825  |  @moneytreejp