diff --git a/CHANGELOG.md b/CHANGELOG.md index 3134df3..1701f21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## 2.0.3 + + - New property added `usesDrawViewHierarchyInRect` to handle cases like `UIVisualEffect` (#70), `UIAppearance` (#91) and Size Classes (#92) (#100) + ## 2.0.2 - Fix for retina comparisons (#96) diff --git a/FBSnapshotTestCase.podspec b/FBSnapshotTestCase.podspec index 2fbe7a3..adaf6ba 100644 --- a/FBSnapshotTestCase.podspec +++ b/FBSnapshotTestCase.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "FBSnapshotTestCase" - s.version = "2.0.2" + s.version = "2.0.3" s.summary = "Snapshot view unit tests for iOS" s.description = <<-DESC A "snapshot test case" takes a configured UIView or CALayer diff --git a/FBSnapshotTestCase/FBSnapshotTestCase.h b/FBSnapshotTestCase/FBSnapshotTestCase.h index fea5729..5a59bf0 100644 --- a/FBSnapshotTestCase/FBSnapshotTestCase.h +++ b/FBSnapshotTestCase/FBSnapshotTestCase.h @@ -98,7 +98,7 @@ FBSnapshotVerifyLayerWithOptions(layer__, identifier__, FBSnapshotTestCaseDefaul When YES, renders a snapshot of the complete view hierarchy as visible onscreen. There are several things that do not work if renderInContext: is used. - UIVisualEffect #70 - - UIApperance #91 + - UIAppearance #91 - Size Classes #92 @attention If the view does't belong to a UIWindow, it will create one and add the view as a subview. diff --git a/FBSnapshotTestCaseDemo/Podfile.lock b/FBSnapshotTestCaseDemo/Podfile.lock index 6bf6184..6dcea87 100644 --- a/FBSnapshotTestCaseDemo/Podfile.lock +++ b/FBSnapshotTestCaseDemo/Podfile.lock @@ -1,8 +1,8 @@ PODS: - - FBSnapshotTestCase (2.0.2): - - FBSnapshotTestCase/SwiftSupport (= 2.0.2) - - FBSnapshotTestCase/Core (2.0.2) - - FBSnapshotTestCase/SwiftSupport (2.0.2): + - FBSnapshotTestCase (2.0.3): + - FBSnapshotTestCase/SwiftSupport (= 2.0.3) + - FBSnapshotTestCase/Core (2.0.3) + - FBSnapshotTestCase/SwiftSupport (2.0.3): - FBSnapshotTestCase/Core DEPENDENCIES: @@ -13,6 +13,6 @@ EXTERNAL SOURCES: :path: .. SPEC CHECKSUMS: - FBSnapshotTestCase: 66f28741d8b0cb52befa989e7aaa087c5f08f101 + FBSnapshotTestCase: bfa674b5a5a0a79559c1544e3d2846927d6b6d2a COCOAPODS: 0.38.0 diff --git a/README.md b/README.md index d9f638a..c53ac2f 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,7 @@ Features - Supply an optional "identifier" if you want to perform multiple snapshots in a single test method. - Support for `CALayer` via `FBSnapshotVerifyLayer`. +- `usesDrawViewHierarchyInRect` to handle cases like `UIVisualEffect`, `UIAppearance` and Size Classes. Notes -----