Utility template - no controls on flipside - MacRumors Forums
Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 19, 2009, 07:06 AM   #1
Nraygun
macrumors newbie
 
Join Date: May 2005
Utility template - no controls on flipside

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.
Nraygun is offline   0 Reply With Quote
Old Jan 19, 2009, 11:39 AM   #2
dejo
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
Quote:
Originally Posted by Nraygun View Post
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.
dejo is online now   0 Reply With Quote
Old Jan 19, 2009, 05:38 PM   #3
Nraygun
Thread Starter
macrumors newbie
 
Join Date: May 2005
NavBar overlap! Problem solved

Quote:
Originally Posted by dejo View Post
...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 is offline   0 Reply With Quote
Old Jan 19, 2009, 11:07 PM   #4
Nraygun
Thread Starter
macrumors newbie
 
Join Date: May 2005
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 is offline   0 Reply With Quote
Old Jan 20, 2009, 06:36 AM   #5
Nraygun
Thread Starter
macrumors newbie
 
Join Date: May 2005
Moved to a new thread

I moved this new question out to a new thread.
Nraygun is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Dreamweaver Template chillies Web Design and Development 4 May 25, 2014 04:57 AM
Invitation template 911 guzmansg Mac Applications and Mac App Store 0 Apr 2, 2013 12:15 AM
Press Pass Template tardman91 Design and Graphics 5 Oct 3, 2012 12:06 PM
How to use Motion Template Tool?? RealSkyDiver Digital Video 0 Jun 20, 2012 10:26 PM

Forum Jump

All times are GMT -5. The time now is 12:23 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC