diff options
author | mltownsend <mltownsend@gmail.com> | 2009-10-29 23:40:09 +0000 |
---|---|---|
committer | mltownsend <mltownsend@gmail.com> | 2009-10-29 23:40:09 +0000 |
commit | 8287fc2305b38fdb3ecfa8ad5eef09cd745b80c9 (patch) | |
tree | 9051075a56709d0a63f96338e790a1907f54639f /Source/SPUserManager.h | |
parent | c965c29b6ccf39a96a192f5c4bfffa2c0620cefc (diff) | |
download | sequelpro-8287fc2305b38fdb3ecfa8ad5eef09cd745b80c9.tar.gz sequelpro-8287fc2305b38fdb3ecfa8ad5eef09cd745b80c9.tar.bz2 sequelpro-8287fc2305b38fdb3ecfa8ad5eef09cd745b80c9.zip |
Got rid of a crash when using the User Manager and closing last Table Document. May be leaking now, not sure. Still needs some work.
Diffstat (limited to 'Source/SPUserManager.h')
-rw-r--r-- | Source/SPUserManager.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/SPUserManager.h b/Source/SPUserManager.h index 4af00c6c..4983ac49 100644 --- a/Source/SPUserManager.h +++ b/Source/SPUserManager.h @@ -44,13 +44,9 @@ } @property (nonatomic, retain) MCPConnection *mySqlConnection; - -- (NSPersistentStoreCoordinator *)persistentStoreCoordinator; -- (NSManagedObjectModel *)managedObjectModel; -- (NSManagedObjectContext *)managedObjectContext; - -- (id)initWithConnection:(MCPConnection *)connection; -- (void)initializeChild:(NSManagedObject *)child withItem:(NSDictionary *)item; +@property (nonatomic, retain, readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator; +@property (nonatomic, retain, readonly) NSManagedObjectModel *managedObjectModel; +@property (nonatomic, retain, readonly) NSManagedObjectContext *managedObjectContext; // Add/Remove Users - (IBAction)addUser:(id)sender; |