UINavigationController subclassing
So I have a bit of a problem. I’m going to use the clock app as an example for my problem.
When I want to add a new alarm, I create a blank alarm object with some default values. However, I need to be able to use different nibs for input/selection.
I originally loaded all of the nibs and accessed their values from the main "add view" directly. However, this is too memory-intensive for my application. So, I subclassed UINavigationController so that it could store the new alarm object, and as the input/selection nibs came and went, they could update the new alarm object by saying self.navigationController.newAlarmObject.time = @"Time";.
This, however, isn’t working. If anyone has suggestions as to how I can make this work, or other ways to achieve what I’m trying to do, it’d be much appreciated.
|