We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b992223 commit e9dd041Copy full SHA for e9dd041
SpecTools/Classes/Find/Find+UIView.swift
@@ -221,7 +221,7 @@ extension Find where T: UIView {
221
/// - Parameter exactMatch: False if you only looking for a part of the string (default: true)
222
/// - Parameter visualize: Visualization types (display route to the element as a view structure)
223
/// - Returns: [Element]? (nil if not found, generic method)
224
- public func all<T>(elementsOfType type: T.Type, visualize: VisualizationType) -> [T]? {
+ public func all<T>(elementsOfType type: T.Type, visualize: VisualizationType = .none) -> [T]? {
225
if visualize != .none {
226
print("- \(Visualize.description(element, nil, visualize))")
227
}
0 commit comments