Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 10-28-2008, 07:28 PM   #1 (permalink)
rendezvouscp
Registered Member
 
Join Date: Oct 2008
Posts: 44
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
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,353
Threads: 39,148
Posts: 171,625
Top Poster: smasher (2,577)
Welcome to our newest member, pyrrho
Powered by vBadvanced CMPS v3.1.0

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