Skip to content
Commits on Jan 15, 2014
  1. @jeremy-w

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

    applies correct scale for image path including @2x
    jeremy-w committed Jan 15, 2014
  2. @jeremy-w

    applies correct scale for image path including @2x

    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.
    jeremy-w committed Jan 15, 2014
Commits on Jan 8, 2014
  1. @jeremy-w

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

    fixes CoreFoundation collection usage
    jeremy-w committed Jan 8, 2014
  2. @jeremy-w
  3. @jeremy-w

    fixes memory management in UIImageJPEGRepresentation

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

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

    …class
    
    replaces deprecated isa with object_getClass()
    jeremy-w committed Dec 19, 2013
  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

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

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

    Alex Silverman committed Oct 30, 2012
Commits on Jul 9, 2012
  1. retina assets

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

    Alex Silverman committed Jul 3, 2012
  2. @BigZaphod

    Disabling scrolling should now immediately hide the scrollers instead…

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

    Alex Silverman committed Jun 12, 2012
  2. merged upstream changes

    Alex Silverman committed Jun 12, 2012
  3. @BigZaphod
  4. @BigZaphod
  5. @BigZaphod

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

    … down the display tree triggering redraws and whatnot as it goes.
    BigZaphod committed Jun 12, 2012
  6. @BigZaphod

    Much like UIImage, UIColor needed multiple internal representations i…

    …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.
    BigZaphod committed Jun 12, 2012
  7. @BigZaphod
  8. @BigZaphod

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

    …w works using the multiple representations that internally make up the new UIImages.
    BigZaphod committed Jun 12, 2012
  9. @BigZaphod

    Completely redid UIImage to support multi-resolution images.

    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.
    BigZaphod committed Jun 12, 2012
  10. @BigZaphod

    Xcode's upgrade check. woo.

    BigZaphod committed Jun 12, 2012
  11. @BigZaphod

    Added retina assets.

    BigZaphod committed Jun 12, 2012
  12. @BigZaphod

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

    …sture recognizers instead of with its own property that was disconnected from everything else.
    BigZaphod committed Jun 12, 2012
  13. @BigZaphod

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

    … acting crazy in some cases.
    BigZaphod committed Jun 12, 2012
  14. @BigZaphod

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

    …entScaleFactor, slightly changed how backgroundColor works on views without a drawRect:
    BigZaphod committed Jun 12, 2012
  15. @BigZaphod

    Removed old files.

    BigZaphod committed Jun 12, 2012
  16. @BigZaphod

    I have no need for this and decided not to bother keeping it around. …

    …If you use it, fine. :)
    BigZaphod committed Jun 12, 2012
  17. @BigZaphod
  18. @BigZaphod

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

    … isn't needed anymore.
    
    For 10.6 compatibility, use respondsToSelector: to verify it exists
    before using it in your code.
    BigZaphod committed Jun 12, 2012
  19. @BigZaphod

    Added internal method for determining context scale factor, fixed ima…

    …ge context scaling bugs.
    BigZaphod committed Jun 12, 2012
Something went wrong with that request. Please try again.