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 — Bugfixes for action bar · zhmios/RETableViewManager@43b84f5

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • RETableViewManager
    • Cells
      • RETableViewNumberCell.m
      • RETableViewTextCell.m
    • RETableViewCell.h
    • RETableViewCell.m
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎RETableViewManager/Cells/RETableViewNumberCell.m‎

Copy file name to clipboardExpand all lines: RETableViewManager/Cells/RETableViewNumberCell.m
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ - (void)textFieldDidChange:(UITextField *)textField
8585

8686
- (BOOL)textFieldShouldBeginEditing:(UITextField *)textField
8787
{
88+
[self refreshActionBar];
8889
[self.parentTableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:self.row inSection:self.sectionIndex] atScrollPosition:UITableViewScrollPositionTop animated:YES];
8990
return YES;
9091
}
Collapse file

‎RETableViewManager/Cells/RETableViewTextCell.m‎

Copy file name to clipboardExpand all lines: RETableViewManager/Cells/RETableViewTextCell.m
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ - (BOOL)textFieldShouldBeginEditing:(UITextField *)textField
114114
} else {
115115
textField.returnKeyType = UIReturnKeyDefault;
116116
}
117-
117+
[self refreshActionBar];
118118
[self.parentTableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:self.row inSection:self.sectionIndex] atScrollPosition:UITableViewScrollPositionTop animated:YES];
119119
return YES;
120120
}
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
@@ -44,6 +44,7 @@
4444

4545
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier tableViewManager:(RETableViewManager *)tableViewManager;
4646
- (void)prepare;
47+
- (void)refreshActionBar;
4748

4849
- (UIResponder *)responder;
4950
- (NSIndexPath *)indexPathForPreviousResponder;
Collapse file

‎RETableViewManager/RETableViewCell.m‎

Copy file name to clipboardExpand all lines: RETableViewManager/RETableViewCell.m
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ + (CGFloat)heightWithItem:(NSObject *)item tableViewManager:(RETableViewManager
5555
}
5656

5757
- (void)prepare
58+
{
59+
[self refreshActionBar];
60+
}
61+
62+
- (void)refreshActionBar
5863
{
5964
[self.actionBar.navigationControl setEnabled:[self indexPathForPreviousResponder] != nil forSegmentAtIndex:0];
6065
[self.actionBar.navigationControl setEnabled:[self indexPathForNextResponder] != nil forSegmentAtIndex:1];

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.