Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Nraygun

macrumors newbie
Original poster
May 9, 2005
20
0
I created an app using the Utility template in Xcode.

I can add controls to the main view by editing the NIB and they show up. If I add anything to the flipside view, they do not.

I just fire up Xcode, choose new project, choose the Utility template, call it Test, add a label to the FlipsideView.xib using IB, save it then run. This results in a blank flipside view.
I can add controls/labels to the main view with no problem - just the flipside seems to give me problems. I discovered this after I had built my mainview app and now I want to use the flipside to configure parameters.

Is there something I need to do to make the controls(even a simple label) appear in the flipside view?

Using Xcode 3.1.2 on an iMac G5.
 

dejo

Moderator emeritus
Sep 2, 2004
15,982
452
The Centennial State
I just fire up Xcode, choose new project, choose the Utility template, call it Test, add a label to the FlipsideView.xib using IB, save it then run. This results in a blank flipside view.
I just tried this and it worked fine for me. Just be careful where you add your label since the NavBar may overlap it. That is, if you added the label very near the top of the view, the navigation bar may be covering it up.
 

Nraygun

macrumors newbie
Original poster
May 9, 2005
20
0
NavBar overlap! Problem solved

...the NavBar may overlap it. That is, if you added the label very near the top of the view, the navigation bar may be covering it up.

Well, I'll be...that's what it was!

I didn't even think that the controls I was placing were too far up since the NavBar doesn't really show up.

Lessoned learned...thanks!!!
 

Nraygun

macrumors newbie
Original poster
May 9, 2005
20
0
Passing values from flipside to mainview

OK, I got another one.

I'm trying to setup controls on the flipside that control the app on the mainview.

I figured out that I needed to create more instance variables in the FlipsideViewController and I think I need a variable for the control and another to store the value(instead of using that control value directly per the Design pattern recommendation). I think this will adhere to the Model-View-Controller pattern.

How do I access these variables in this MainView?

I've tried flipsideViewController.var with no luck. I've imported FlipsideViewController.h in MainViewController.

Any ideas?
 

Nraygun

macrumors newbie
Original poster
May 9, 2005
20
0
Moved to a new thread

I moved this new question out to a new thread.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.