Using Nib to wire manager classes
I've been working on an Obj-c based game.
I have several singleton manager classes (Sound, Entity, Texture, etc..).
I usually initialized these in applicationDidFinishLaunching and connected them together in code.
I only used the nib to wire together the interface and the appcontroller.
But now I was thinking about putting them in the nib and using it to connect them.
Is there any drawback to this approach? Other than tying me further to the mac - but I am already using obj-c anyway.
Thanks for any feedback
I have several singleton manager classes (Sound, Entity, Texture, etc..).
I usually initialized these in applicationDidFinishLaunching and connected them together in code.
I only used the nib to wire together the interface and the appcontroller.
But now I was thinking about putting them in the nib and using it to connect them.
Is there any drawback to this approach? Other than tying me further to the mac - but I am already using obj-c anyway.
Thanks for any feedback
Possibly Related Threads...
Thread: | Author | Replies: | Views: | Last Post | |
HID Manager In Leopard | Blacktiger | 3 | 5,780 |
Nov 12, 2007 08:42 AM Last Post: Blacktiger |
|
Shark and .app's with File manager... | BinarySpike | 8 | 7,435 |
Apr 2, 2005 08:24 PM Last Post: BinarySpike |
|
Keyboard with Cocoa HID Manager | thisma | 3 | 6,962 |
Sep 20, 2002 11:44 PM Last Post: thisma |