I want to make a class that can hold settings for my app. Its pretty basic. I will access it from a few different classes, but only want 1 version of this container class to exist so they all see the same data.
Is there something special i need to flag for this?
Here is what I've done so far: Filters.h
#import <Foundation/Foundation.h>
@interface Filters : NSObject
{
NSString *fuelType;
}
@property (nonatomic, copy) NSString *fuelType;
@end
Filters.m
#import "Filters.h"
@implementation Filters
@synthesize fuelType;
@end
Is there some flag i need to use when i alloc an instance of this class or how should I work this if I need to access the fuelType value from 2 different classes?
Thanks -Code