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

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Tutorials > Tutorial Requests

Reply
 
LinkBack Thread Tools Display Modes
Old 10-09-2010, 10:59 PM   #1 (permalink)
Registered Member
 
Join Date: Oct 2010
Posts: 1
Wolfsnap is on a distinguished road
Default Tutorial Request - Multi-View Navigation

Hello all!

Let me start by saying I am an absolute noob with xcode, but it's slowly sinking in. I'm developing an app for our salespeople to use for training people in the use of our equipment controls. These controls consist of a large control panel (with several operation buttons) and a touch screen interface for monitoring the system.

The app I'm try to create consists of a constant main screen (a graphic of the control panel itself with the operational buttons) and a subView for the touchscreen interface. I need both the main screen buttons (which need to be constant regardless of what the touch screen is displaying) as well as the buttons on the touch screen (20 or so different screens, each with their own group of buttons) to be able to control navigation of the touch screen.

I've gone through several tutorials that cover changing and positioning a subView in the rootView, but all of the navigation is in the root view. I ned o be able to change the subView screens via buttons on that subView.

I hope this makes sense, and thanks in advance for any help!

Wolf
Wolfsnap is offline   Reply With Quote
Old 10-21-2010, 09:30 AM   #2 (permalink)
Registered Member
 
Join Date: Sep 2010
Posts: 2
HappyEvil is on a distinguished road
Default

Try this method of view swapping.

This lets you have multiple pages with any amount of buttons that point to pages in any other position. Additionally, because it's controlled by the overall view manager, you can easily have cross page variables and add/remove pages in ANY position without it having much overall effect on the program.

Individual pages can be self managed or managed in the global manager for whatever you chose. Buttons placed on the page can perform actions within the page alone or they can be used to reach any page in the program.

I think this is what you're looking for, if it isn't then I'm not sure.

In this method you have no primary view, you have a view controller and a bunch of pages. You're primary view is whichever page you chose to load up first.

Be aware this is a code only approach but it does work with the interface builder as well with some minor tweaking (I've tried it).
HappyEvil is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 444
17 members and 427 guests
cgokey, dcool, Dj_kades, Droverson, iAppDeveloper, ipodphone, karatebasker, laureix68, LunarMoon, PapaSmurf, patapple, Paul Slocum, peterwilli, pipposanta, QuantumDoja, SLIC, Sloshmonster
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,696
Threads: 94,139
Posts: 402,961
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jasper_muc
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:06 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0