Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Commits on Jan 15, 2014
  1. @jeremy-w

    Merge pull request #3 from bignerdranch/handles-retina-images

    jeremy-w authored
    applies correct scale for image path including @2x
  2. @jeremy-w

    applies correct scale for image path including @2x

    jeremy-w authored
    Previously, it would try foo@2x.png as 1x and foo@2x@2x.png as 2x.
    This led Retina images to draw at double their intended size.
Commits on Jan 8, 2014
  1. @jeremy-w

    Merge pull request #2 from bignerdranch/fixes-cf-collection-usage

    jeremy-w authored
    fixes CoreFoundation collection usage
  2. @jeremy-w
  3. @jeremy-w

    fixes memory management in UIImageJPEGRepresentation

    jeremy-w authored
    Previously, converting certain PNG images to JPEG could crash deep in the
    bowels of CoreGraphics/ImageIO/libJPEG.
Commits on Dec 19, 2013
  1. @jeremy-w

    Merge pull request #1 from bignerdranch/replaces-isa-with-object-get-…

    jeremy-w authored
    replaces deprecated isa with object_getClass()
  2. @jeremy-w
Commits on Mar 13, 2013
  1. @jeremy-w
Commits on Feb 27, 2013
  1. @jeremy-w

    avoids flipping UITextLayer geometry pre-10.8

    jeremy-w authored
    Previously, text layout was flipped for 10.7.x as a result of fixing 10.8's
    text layout.
Commits on Feb 21, 2013
  1. Merge pull request #1 from jeremy-w/uitextlayer-mountain-lion

    Alex Silverman authored
    fixes UITextLayer drawing under 10.8
Commits on Feb 20, 2013
  1. @jeremy-w
Commits on Oct 30, 2012
  1. fixed UIImage to load localized versions

    Alex Silverman authored
Commits on Jul 9, 2012
  1. retina assets

    Alex Silverman authored
Commits on Jul 3, 2012
  1. Merge remote-tracking branch 'upstream/master'

    Alex Silverman authored
  2. @BigZaphod

    Disabling scrolling should now immediately hide the scrollers instead…

    BigZaphod authored
    … of waiting for a content offset change.
Commits on Jun 12, 2012
  1. added @2x~ipad support

    Alex Silverman authored
  2. merged upstream changes

    Alex Silverman authored
  3. @BigZaphod
  4. @BigZaphod
  5. @BigZaphod

    Checks the NSWindow for it's scale factor and relays that information…

    BigZaphod authored
    … down the display tree triggering redraws and whatnot as it goes.
  6. @BigZaphod

    Much like UIImage, UIColor needed multiple internal representations i…

    BigZaphod authored
    …n order to work correctly when switching between retina and non-retina displays.
    Obviously normally color would not need this, but the pattern images
    proved difficult to get right and this seemed to be the best way. If a
    color is created using just a normal solid color, only one
    representation is used so there's not a significant increase in
    complexity or memory use in the normal case.
  7. @BigZaphod
  8. @BigZaphod

    Completely reimplemented and no longer uses any AppKit stuff. Also no…

    BigZaphod authored
    …w works using the multiple representations that internally make up the new UIImages.
  9. @BigZaphod

    Completely redid UIImage to support multi-resolution images.

    BigZaphod authored
    Unlike the real iOS (as of iOS 5 to my knowledge), my UIImage
    internally stores multiple representations of images if they are found
    so that retina support can work. On iOS, you either have a retina
    device or not so it can make that choice up front, but on OSX you can
    draw a window to another screen, change your screens prefs, etc. and
    the retina status of a window or image can change on the fly. This
    infrastructure allows it to choose the correct image for the situation
    it's in at the time all automatically. You don't have to do anything.
    It also uses CGImageSource to sort of lazy-load image information so if
    your app has retina assets but never runs on a retina display, it won't
    load any more of the retina image files than it needs to determine
    their sizes and existence. Also moved the NSImage support out of the
    main UIImage code and into a category as well as ensured it supports at
    least 1x and 2x images when transferring between UIImage and NSImage.
  10. @BigZaphod

    Xcode's upgrade check. woo.

    BigZaphod authored
  11. @BigZaphod

    Added retina assets.

    BigZaphod authored
  12. @BigZaphod

    scrollEnabled is now implemented with the actual panning/scrolling ge…

    BigZaphod authored
    …sture recognizers instead of with its own property that was disconnected from everything else.
  13. @BigZaphod

    Now returns the correct mouse cursor to prevent OSX from flashing and…

    BigZaphod authored
    … acting crazy in some cases.
  14. @BigZaphod

    Fixed a bug with the contentsStretch property, added support for cont…

    BigZaphod authored
    …entScaleFactor, slightly changed how backgroundColor works on views without a drawRect:
  15. @BigZaphod

    Removed old files.

    BigZaphod authored
  16. @BigZaphod
  17. @BigZaphod
  18. @BigZaphod

    This category conflicts with the real stuff when it's present and and…

    BigZaphod authored
    … isn't needed anymore.
    For 10.6 compatibility, use respondsToSelector: to verify it exists
    before using it in your code.
  19. @BigZaphod
Something went wrong with that request. Please try again.