Class: Jaspion::Miya::Objectivec::UITableView
- Inherits:
-
Jaspion::Miya::Objectivec
- Object
- Jaspion::Miya::Object
- Jaspion::Miya::Objectivec
- Jaspion::Miya::Objectivec::UITableView
- Defined in:
- lib/jaspion/miya/objectivec/uitableview.rb
Overview
Represents an Android Activity template
Instance Attribute Summary
Attributes inherited from Jaspion::Miya::Objectivec
Attributes inherited from Jaspion::Miya::Object
Instance Method Summary collapse
Methods inherited from Jaspion::Miya::Objectivec
#initialize, #instance_variables, #interface_methods, #ui?
Methods inherited from Jaspion::Miya::Object
available_classes, create, #fetch_child, #initialize, #push_child, #templates
Methods included from Class
#class_methods, #class_variables, #imports, #instance_variables, #ui?
Constructor Details
This class inherits a constructor from Jaspion::Miya::Objectivec
Instance Method Details
#instance_methods ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/jaspion/miya/objectivec/uitableview.rb', line 13 def instance_methods %(#{super} - (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section { return 0.f; } - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { return 0; } - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { return 0; } - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { UITableViewCell *cell = nil; cell = (UITableViewCell *) [tableView dequeueReusableCellWithIdentifier:@""]; if (!cell) { cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@""]; } return cell; } - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { } ) end |
#protocols ⇒ Object
9 10 11 |
# File 'lib/jaspion/miya/objectivec/uitableview.rb', line 9 def protocols super | ['UITableViewDataSource', 'UITableViewDelegate'] end |
#viewDidLoad ⇒ Object
49 50 51 |
# File 'lib/jaspion/miya/objectivec/uitableview.rb', line 49 def viewDidLoad '' end |