File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change
1
+ # UINavigationBar
2
+
3
+ ## Methods
4
+ ` public func tapTopItem(withTitle title: String) `
5
+
6
+ Searches the ` topItem ` of a navigation bar for an item with a
7
+ title equal to the parameter ` title ` . If found, it fires the action
8
+ associated with that item.
9
+
10
+ Raises a ` FleetError ` if a navigation bar item with the given title
11
+ cannot be found, if there in the are no items in the navigation bar,
12
+ or if the item's action is not properly set up.
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ Fleet extends UIKit classes in order to make it easier to test your code's inter
25
25
- [ UIBarButtonItem] ( ./Documentation/UIBarButtonItem.md ) - Provides convenience methods similar to those provided for UIButton.
26
26
- [ UIAlertController] ( ./Documentation/UIAlertController.md ) - Allows specs to simply tap on alert actions in order to test their behavior.
27
27
- [ UITabBarController] ( ./Documentation/UITabBarController.md ) - Provides convenience methods for selecting tabs.
28
+ - [ UINavigationBar] ( ./Documentation/UINavigationBar.md ) - Tap on items in a navigation bar.
28
29
- [ UITextField] ( ./Documentation/UITextField.md ) - Provides convenience methods for entering text. (iOS-only)
29
30
- [ UISwitch] ( ./Documentation/UISwitch.md ) - Provides convenience methods for interacting with switches in test. (iOS-only)
30
31
- [ UITextView] ( ./Documentation/UITextView.md ) - Provides convenience methods for entering text into a text view. (iOS-only)
You can’t perform that action at this time.
0 commit comments