Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 43 lines (30 sloc) 1.358 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
//
// GameObjectSelectionViewController.h
// RPG Kit
//
// Created by Philip Regan on 4/18/12.
// Copyright (c) 2012 Jones & Bartlett Learning. All rights reserved.
//

/*
The GameObjectSelectorViewController is a generic class used to help select objects
that tend to come in long lists---locations and accomplishments---where a static
interface is too unwieldly.
Component selectors turn on the name of the entity and push to the metadata view
controller for that entity.
*/


#import <UIKit/UIKit.h>

#import "OCStrings.h"
#import "OCGameDataController.h"

@interface GameObjectSelectionViewController : UIViewController <UINavigationControllerDelegate, UINavigationBarDelegate, UITableViewDataSource, UITableViewDelegate>

#pragma mark - Game Data

@property (nonatomic, strong, readwrite) OCGameDataController *gameDataController;
@property (nonatomic, strong, readwrite) NSMutableArray *components;
@property (nonatomic, strong, readwrite) NSString *targetEntity;
@property (nonatomic, strong, readwrite) NSString *targetRelationship;
@property (nonatomic, strong, readwrite) NSManagedObject *targetParent;

#pragma mark - Interface elements

@property (weak, nonatomic) IBOutlet UITableView *tableView;

#pragma mark - Action Stack

- (IBAction)newButton:(UIBarButtonItem *)sender;
- (IBAction)editButton:(UIBarButtonItem *)sender;
@end
Something went wrong with that request. Please try again.