It's more a general question because I'm just starting iphone programming.
in all my views I have now multiple lines just for the path to the database that is stored in the document folder:
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *docsPath = [paths objectAtIndex:0];
NSString *path1 = [docsPath stringByAppendingPathComponent:@"database.sqlite"];
FMDatabase *db1 = [FMDatabase databaseWithPath:path1];
What is the used way of storing that path once as a 'global' variable, accessible in the whole project? Like the web.config in .net solutions.