Skip to content

0.2 170228 (Feb 28, 2017)

Pre-release
Pre-release
Compare
Choose a tag to compare
@ashvarma ashvarma released this 03 Mar 22:55
· 687 commits to master since this release
  • In this release, we have switched CoreGraphics’ rendering backend from Cairo to Direct2D. While this should not have a widespread impact on your application, you may want to check over your code for any of the following conditions:
    • Use of bitmap contexts in ARGB (kCGBitmapByteOrder32Big | kCGImageAlphaFirst) or ABGR (kCGBitmapByteOrder32Little | kCGImageAlphaLast) is unsupported with Direct2D. Prefer the use of RGBA or BGRA bitmaps
    • Use of bitmap contexts in 8bpp gray (kCGImageAlphaNone plus a CGColorSpace in DeviceGray) may experience rendering aberrations (#1934)
    • Blend modes other than Source Over are currently unsupported (#1389)
    • CGPattern colors may draw with an unexpected offset (#2108)
    • CGContextClearRect will only clear rectangular regions. If you are using CGContextClearRect to clear the entire context, you will notice no regression. Other regions are untransformed and may clear unexpected pixels (#1744)
    • Radial gradients with different start and end points will not render as conical regions (#1615)
  • Added support to create custom gesture recognizers
  • UILabel
    • Added support for borders (via CALayer and the CoreAnimation/UIKit composition layer)
    • Added support for adjustFontSizeToFitWidth, sizeThatFits, and minimumScaleFactor
  • UIButton
    • Added support for borders (via CALayer and the CoreAnimation/UIKit composition layer)
    • Added support for buttonWithType:, system button now shows different visual when being pressed and all button type have different visual for disabled state
    • Added support for adjustsImageWhenHighligted and adjustsImageWhenDisabled
    • For more info about these changes and differences with the reference platform, see #1920
  • We addressed some performance and fit-and-finish issues with CoreText (#1850)
  • Improved performance of CF collections storing objc objects (#1898)
  • Fixed 62 bugs since our last release published on 2/1