18#import <UIKit/UIKit.h>
22NS_ASSUME_NONNULL_BEGIN
31@protocol SettingsTwFrameSelectViewDelegate <NSObject>
37- (void)frameSelected:(nullable NSString *)identifier;
42- (void)frameChange:(nullable NSString *)identifier;
66- (instancetype)initWithFrame:(CGRect)frame
67 delegate:(nullable
id<SettingsTwFrameSelectViewDelegate>)delegate
68 dataSource:(nullable NSMutableArray *)dataSource;
76- (NSInteger)numberOfSectionsInTableView:(nonnull UITableView *)tableView;
85- (NSInteger)tableView:(nonnull UITableView *)tableView numberOfRowsInSection:(NSInteger)section;
94- (nonnull UITableViewCell *)tableView:(nonnull UITableView *)tableView
95 cellForRowAtIndexPath:(nonnull NSIndexPath *)indexPath;
104- (void)tableView:(nonnull UITableView *)tableView
105 willDisplayCell:(nonnull UITableViewCell *)cell
106 forRowAtIndexPath:(nonnull NSIndexPath *)indexPath;
115- (void)tableView:(nonnull UITableView *)tableView
116 didSelectRowAtIndexPath:(nonnull NSIndexPath *)indexPath;
124- (void)alertSelect:(nonnull NSDictionary *)info;
150- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
A shared alert presenter that hides the UIAlertController/UIAlertView split behind one API.
A modal frame-select table backed by a caller-supplied array of item rows.
Definition SettingsTwFrameSelectView.h:55
void unlockItem()
Performs the unlock of the pending item.
Definition SettingsTwFrameSelectView.m:154
void unlockFailed()
Records a failed unlock: clears the pending item.
Definition SettingsTwFrameSelectView.m:171
void unlockSuccess()
Records a successful unlock: zeroes the item's cost, tells the owner, and refreshes.
Definition SettingsTwFrameSelectView.m:159
UIInterfaceOrientationMask supportedInterfaceOrientations()
The supported interface orientations (portrait mask).
Definition SettingsTwFrameSelectView.m:184
BOOL shouldAutorotate()
Whether the view should autorotate.
Definition SettingsTwFrameSelectView.m:189
The optional delegate of AlertViewManager.
Definition AlertViewManager.h:18
void refreshAccessory()
Sent when a locked row's purchase alert is cancelled, so the owner can refresh its state.