Skip to content

Instantly share code, notes, and snippets.

@KirinDave
Created January 28, 2009 21:40
Show Gist options
  • Select an option

  • Save KirinDave/54208 to your computer and use it in GitHub Desktop.

Select an option

Save KirinDave/54208 to your computer and use it in GitHub Desktop.
//
// AnswerManager.h
// TabbedEightBall
//
// Created by Dave Fayram on 1/28/09.
// Copyright 2009 Powerset. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface AnswerManager : NSObject {
NSMutableArray *answers;
NSString *pathToStoredAnswers;
}
@property (retain, nonatomic) NSMutableArray *answers;
- (id)init;
- (void)saveData;
- (void)addItem:(id)obj;
- (void)removeItemAtIndex:(uint)index;
- (id)answerAtIndex:(uint)index;
- (uint)count;
- (id)randomItem;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment