Adds a monster edit view.

This commit is contained in:
2020-09-12 00:07:33 -07:00
parent b1fbc169dc
commit 5c18e815dd
4 changed files with 127 additions and 2 deletions

View 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

View 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