Adds a monster edit view.
This commit is contained in:
21
iOS/MonsterCards/Views/EditMonsterViewController.h
Normal file
21
iOS/MonsterCards/Views/EditMonsterViewController.h
Normal file
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// EditMonsterViewController.h
|
||||
// MonsterCards
|
||||
//
|
||||
// Created by Tom Hicks on 9/8/20.
|
||||
// Copyright © 2020 Tom Hicks. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "Monster.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface EditMonsterViewController : UIViewController <UITableViewDelegate, UITableViewDataSource>
|
||||
|
||||
@property Monster* originalMonster;
|
||||
@property (weak, nonatomic) IBOutlet UITableView *monsterTableView;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
25
iOS/MonsterCards/Views/EditMonsterViewController.m
Normal file
25
iOS/MonsterCards/Views/EditMonsterViewController.m
Normal file
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// EditMonsterViewController.m
|
||||
// MonsterCards
|
||||
//
|
||||
// Created by Tom Hicks on 9/8/20.
|
||||
// Copyright © 2020 Tom Hicks. All rights reserved.
|
||||
//
|
||||
|
||||
#import "EditMonsterViewController.h"
|
||||
|
||||
@interface EditMonsterViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation EditMonsterViewController
|
||||
|
||||
- (nonnull UITableViewCell *)tableView:(nonnull UITableView *)tableView cellForRowAtIndexPath:(nonnull NSIndexPath *)indexPath {
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSInteger)tableView:(nonnull UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user