diff --git a/Introspect/Introspect.swift b/Introspect/Introspect.swift index e72c32b2..3a768c54 100644 --- a/Introspect/Introspect.swift +++ b/Introspect/Introspect.swift @@ -51,7 +51,7 @@ public enum Introspect { return nil } - /// Finds a previous sibling that contains a view of the specified type. + /// Finds a previous sibling that is or contains a view of the specified type. /// This method inspects siblings recursively. /// Returns nil if no sibling contains the specified type. public static func previousSibling( @@ -67,6 +67,10 @@ public enum Introspect { } for subview in superview.subviews[0..( @@ -139,6 +143,10 @@ public enum Introspect { } for subview in superview.subviews[entryIndex..