GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Move can focus from item to cell · zhmios/RETableViewManager@a07c0c2

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • RETableViewManager
    • Cells
      • RETableViewCreditCardCell.m
      • RETableViewDateTimeCell.m
      • RETableViewFloatCell.m
      • RETableViewNumberCell.m
      • RETableViewTextCell.m
    • Items
      • RECreditCardItem.m
      • REDateTimeItem.m
      • RENumberItem.m
      • RETextItem.m
    • RETableViewCell.h
    • RETableViewCell.m
    • RETableViewItem.h
    • RETableViewManager.h
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎RETableViewManager/Cells/RETableViewCreditCardCell.m‎

Copy file name to clipboardExpand all lines: RETableViewManager/Cells/RETableViewCreditCardCell.m
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ @implementation RETableViewCreditCardCell
4646
return nil;
4747
}
4848

49+
+ (BOOL)canFocus
50+
{
51+
return YES;
52+
}
53+
4954
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
5055
{
5156
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
Collapse file

‎RETableViewManager/Cells/RETableViewDateTimeCell.m‎

Copy file name to clipboardExpand all lines: RETableViewManager/Cells/RETableViewDateTimeCell.m
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111

1212
@implementation RETableViewDateTimeCell
1313

14+
+ (BOOL)canFocus
15+
{
16+
return YES;
17+
}
18+
1419
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
1520
{
1621
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
Collapse file

‎RETableViewManager/Cells/RETableViewFloatCell.m‎

Copy file name to clipboardExpand all lines: RETableViewManager/Cells/RETableViewFloatCell.m
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ - (void)cellWillAppear
3636
}
3737

3838
#pragma mark -
39-
#pragma mark UISwitch events
39+
#pragma mark Handle events
4040

4141
- (void)sliderValueDidChange:(UISlider *)slider
4242
{
Collapse file

‎RETableViewManager/Cells/RETableViewNumberCell.m‎

Copy file name to clipboardExpand all lines: RETableViewManager/Cells/RETableViewNumberCell.m
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@
1111

1212
@implementation RETableViewNumberCell
1313

14+
+ (BOOL)canFocus
15+
{
16+
return YES;
17+
}
18+
19+
#pragma mark -
20+
#pragma mark Lifecycle
21+
1422
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
1523
{
1624
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
@@ -47,6 +55,9 @@ - (void)cellWillAppear
4755
self.textField.keyboardType = UIKeyboardTypeNumberPad;
4856
}
4957

58+
#pragma mark -
59+
#pragma mark Handle events
60+
5061
- (void)textFieldDidChange:(REFormattedNumberField *)textField
5162
{
5263
self.item.value = textField.unformattedText;
Collapse file

‎RETableViewManager/Cells/RETableViewTextCell.m‎

Copy file name to clipboardExpand all lines: RETableViewManager/Cells/RETableViewTextCell.m
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828

2929
@implementation RETableViewTextCell
3030

31+
+ (BOOL)canFocus
32+
{
33+
return YES;
34+
}
35+
3136
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
3237
{
3338
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
Collapse file

‎RETableViewManager/Items/RECreditCardItem.m‎

Copy file name to clipboardExpand all lines: RETableViewManager/Items/RECreditCardItem.m
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,4 @@ - (id)initWithNumber:(NSString *)number expirationDate:(NSString *)expirationDat
4545
return self;
4646
}
4747

48-
- (BOOL)canFocus
49-
{
50-
return YES;
51-
}
52-
5348
@end
Collapse file

‎RETableViewManager/Items/REDateTimeItem.m‎

Copy file name to clipboardExpand all lines: RETableViewManager/Items/REDateTimeItem.m
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,4 @@ - (id)initWithTitle:(NSString *)title value:(NSDate *)value format:(NSString *)f
4040
return self;
4141
}
4242

43-
- (BOOL)canFocus
44-
{
45-
return YES;
46-
}
47-
4843
@end
Collapse file

‎RETableViewManager/Items/RENumberItem.m‎

Copy file name to clipboardExpand all lines: RETableViewManager/Items/RENumberItem.m
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,4 @@ - (id)initWithTitle:(NSString *)title value:(NSString *)value placeholder:(NSStr
4646
return self;
4747
}
4848

49-
- (BOOL)canFocus
50-
{
51-
return YES;
52-
}
53-
5449
@end
Collapse file

‎RETableViewManager/Items/RETextItem.m‎

Copy file name to clipboardExpand all lines: RETableViewManager/Items/RETextItem.m
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,4 @@ - (id)initWithTitle:(NSString *)title value:(NSString *)value placeholder:(NSStr
5555
return self;
5656
}
5757

58-
- (BOOL)canFocus
59-
{
60-
return YES;
61-
}
62-
6358
@end
Collapse file

‎RETableViewManager/RETableViewCell.h‎

Copy file name to clipboardExpand all lines: RETableViewManager/RETableViewCell.h
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
@property (strong, readwrite, nonatomic) RETableViewItem *item;
4343
@property (strong, readwrite, nonatomic) REActionBar *actionBar;
4444

45+
+ (BOOL)canFocus;
4546
+ (CGFloat)heightWithItem:(NSObject *)item tableViewManager:(RETableViewManager *)tableViewManager;
4647

4748
- (void)cellDidLoad;

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.