Skip to content

Commit e9dd041

Browse files
authored
Update Find+UIView.swift
1 parent b992223 commit e9dd041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SpecTools/Classes/Find/Find+UIView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ extension Find where T: UIView {
221221
/// - Parameter exactMatch: False if you only looking for a part of the string (default: true)
222222
/// - Parameter visualize: Visualization types (display route to the element as a view structure)
223223
/// - Returns: [Element]? (nil if not found, generic method)
224-
public func all<T>(elementsOfType type: T.Type, visualize: VisualizationType) -> [T]? {
224+
public func all<T>(elementsOfType type: T.Type, visualize: VisualizationType = .none) -> [T]? {
225225
if visualize != .none {
226226
print("- \(Visualize.description(element, nil, visualize))")
227227
}

0 commit comments

Comments
 (0)