Releases: nalexn/ViewInspector
0.9.5
0.9.4
Released on 2023-01-14.
What's new:
- 
Added support for
NavigationStackandNavigationSplitView(#207) - 
Fixes and PRs:
- Crash when unwrapping 
EnvironmentalModifier - Crash in 
TimelineView(#217) TabViewwith explicitBindingparameter is correctly hiding inactive tab views from inspection (#164)NavigationLinkswith explicitBindingparameter is correctly hiding destination view from inspection for an inactive link (#165)findworking incorrectly for views defined in the context of a test function andOptionalviews (#219)findnow detects recursion in the view hierarchy and prevents an infinite traverse (#165)
 - Crash when unwrapping 
 
0.9.3
Released on 2022-12-25.
What's new:
0.9.2
Released on 2022-09-17.
Requires Xcode 14.0
What's new:
- 
Adds support for SwiftUI 4.0
 - 
New APIs:
find(viewWithAccessibilityLabel: )andfind(viewWithAccessibilityIdentifier: )(PR #168)axes: Axis.SetandshowsIndicators: Boolinspectable attributes onScrollViewcallOnSubmitinspection of theonSubmitmodifier (PR #184)primaryActioninspection support onMenu(#183)- Inspectable attributes on 
Rotation3D(PR #191) Label(_:systemImage:)inspection (#176)
 - 
Fixes and PRs:
 
0.9.1
Released on 2021-12-30.
Requires Xcode 13.2
What's new:
- 
Added inspection support for:
 - 
New APIs:
 
Fixes and PRs:
- Fixed 'Cannot find 'XCTFail' in scope' when integrating with CocoaPods (#145)
 - Fixed 
actualView()not injecting EnvironmentObjects (issue #149, PR #150) - Fixed 
find().actualView()gets type mismatch error on a nested view type within a custom generic container (#138) 
Happy coming New Year!
0.9.0
Released on 2021-09-19.
Requires Xcode 13.0
What's new:
- Added watchOS support (#125)
 - Existing inspection code updated for iOS 15 (#128)
 - Added support for 
Toolbar - Added support for 
safeAreaInsetoverlay - Added support for 
confirmationDialog Inspector.print(:)is made public for easier view debugging
Breaking changes:
Fixes and PRs:
navigationBarItemsno longer block the inspection starting from iOS 15 (#29)- Fixed 
Inspector.print(:)cyclic recursion (#105) - Fixed "callOnChange is not found on _ConditionalContent" (#126)
 - Fixed 
Shapeviews being reported as blockers for search (#133) - Merged PR #132: Adds support for FullScreenCover
 - Merged PR #124: Include ToolBarItem in readiness.md
 
0.8.1
0.8.0
Released on 2021-06-15.
- 
Inspection of a custom
ViewModifieris now fully aligned with a customViewinspection and is devoid of some shortcomings. Your existing tests won't break, but if you choose to migrate to the new one - please refer to the guide for updated snippets for theclass Inspection. Kudos to @gili-labs for playing an essential role in the research and development of this feature. - 
A
Viewthat has applied customViewModifiernow inherits view and environment modifiers applied inside that customViewModifier. See the example below: 
struct MyModifier: ViewModifier {
    func body(content: Self.Content) -> some View {
        content
           .padding(.top, 15)
    }
}
let view = Text("Hi").modifier(MyModifier())Before: Text would report it has no padding modifier applied.
Now: Text reports the padding applied from inside the MyModifier.
0.7.7
0.7.6
Released on 2021-05-23.
- 
Added support for inspecting
Alert,ActionSheetandSheet. Instructions are provided in the guide. - 
New
func isResponsive() -> Boolfor checking if the control is responsive to the user's touch input. - 
All controls that are
disabled,hiddenor withallowsHitTesting(false)now throw an exception on attempt to programmatically trigger a user interaction. - 
Many of the view modifiers that impose their effect on the enclosed hierarchy, such as
hidden, are now associated with the inner views as well. - 
Merged PR #107: Disabled
Buttonthrows an exception ontapattempt. - 
Merged PR #109: Added API for selecting a date with
DatePicker - 
Fixed #104