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 — Rename methods to properties · zhmios/RETableViewManager@2e3dcdf

File tree

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

‎RETableViewManager/RETableViewCell.h‎

Copy file name to clipboardExpand all lines: RETableViewManager/RETableViewCell.h
+22-13Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,42 +39,51 @@ typedef enum _RETableViewCellType {
3939
} RETableViewCellType;
4040

4141
/**
42-
The `RETableViewCell` class defines the attributes and behavior of the cells that appear in UITableView objects.
42+
The `RETableViewCell` class defines the attributes and behavior of the cells that appear in `UITableView` objects.
4343
4444
*/
4545
@interface RETableViewCell : UITableViewCell <REActionBarDelegate>
4646

4747
///-----------------------------
48-
/// @name Managing Background Images
48+
/// @name Accessing Table View and Table View Manager
49+
///-----------------------------
50+
51+
@property (weak, readwrite, nonatomic) UITableView *parentTableView;
52+
@property (weak, readwrite, nonatomic) RETableViewManager *tableViewManager;
53+
54+
///-----------------------------
55+
/// @name Managing Cell Appearance
4956
///-----------------------------
5057

5158
@property (strong, readonly, nonatomic) UIImageView *backgroundImageView;
5259
@property (strong, readonly, nonatomic) UIImageView *selectedBackgroundImageView;
60+
@property (strong, readwrite, nonatomic) REActionBar *actionBar;
61+
62+
+ (CGFloat)heightWithItem:(RETableViewItem *)item tableViewManager:(RETableViewManager *)tableViewManager;
63+
64+
- (void)updateActionBarNavigationControl;
5365

5466
///-----------------------------
55-
/// @name Accessing Table View and Table View Manager
67+
/// @name Accessing Row and Section
5668
///-----------------------------
5769

58-
@property (weak, readwrite, nonatomic) UITableView *parentTableView;
59-
@property (weak, readwrite, nonatomic) RETableViewManager *tableViewManager;
60-
6170
@property (assign, readwrite, nonatomic) NSInteger row;
6271
@property (assign, readwrite, nonatomic) NSInteger sectionIndex;
6372
@property (weak, readwrite, nonatomic) RETableViewSection *section;
6473
@property (strong, readwrite, nonatomic) RETableViewItem *item;
65-
@property (strong, readwrite, nonatomic) REActionBar *actionBar;
6674
@property (assign, readonly, nonatomic) RETableViewCellType cellType;
75+
@property (strong, readonly, nonatomic) UIResponder *responder;
76+
@property (strong, readonly, nonatomic) NSIndexPath *indexPathForPreviousResponder;
77+
@property (strong, readonly, nonatomic) NSIndexPath *indexPathForNextResponder;
6778

6879
+ (BOOL)canFocusWithItem:(RETableViewItem *)item;
69-
+ (CGFloat)heightWithItem:(RETableViewItem *)item tableViewManager:(RETableViewManager *)tableViewManager;
80+
81+
///-----------------------------
82+
/// @name Handling Cell Events
83+
///-----------------------------
7084

7185
- (void)cellDidLoad;
7286
- (void)cellWillAppear;
7387
- (void)cellDidDisappear;
74-
- (void)updateActionBarNavigationControl;
75-
76-
- (UIResponder *)responder;
77-
- (NSIndexPath *)indexPathForPreviousResponder;
78-
- (NSIndexPath *)indexPathForNextResponder;
7988

8089
@end

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.