Class: UICollectionViewCell
- Inherits:
-
UIBase
- Object
- UIBase
- UICollectionViewCell
show all
- Defined in:
- lib/calios-uikit-extension/ui_collection_view_cell.rb
Class Method Summary
collapse
Methods inherited from UIBase
accessibility_identifier, accessibility_label, class_name, double_tap, enabled?, flash, help, parse_query, property, query, touch
Class Method Details
.count ⇒ Object
5
6
7
|
# File 'lib/calios-uikit-extension/ui_collection_view_cell.rb', line 5
def count
Calabash::Cucumber::Core.query("#{self.class_name}").count
end
|
.selected?(aIdOrIndex = nil) ⇒ Boolean
9
10
11
12
|
# File 'lib/calios-uikit-extension/ui_collection_view_cell.rb', line 9
def selected?(aIdOrIndex=nil)
q = self.parse_query(aIdOrIndex)
Calabash::Cucumber::Core.query(q, :isSelected).first.to_boolean
end
|