Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 10-28-2008, 08:28 PM   #1 (permalink)
rendezvouscp
Registered Member
 
Join Date: Oct 2008
Posts: 53
Default 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.
rendezvouscp is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,696
Threads: 89,170
Posts: 380,431
Top Poster: BrianSlick (7,110)
Welcome to our newest member, tarunverma75
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:28 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.