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 Development

Reply
 
LinkBack Thread Tools Display Modes
Old 11-25-2011, 10:17 PM   #1 (permalink)
Registered Member
 
Join Date: Feb 2011
Posts: 5
macintosh0 is on a distinguished road
Default "Book" inside Tab Bar app

Hi, I am trying to create a "book" you can click trough with buttons (not done with the buttons, see the image below)

Here is a image to illustrate what I am trying to do:



I want the same tab bar at the bottom and the same navigation bar at the top on all the pages. How can I do that?

Do I need to create new classes for every page, or is it a smarter way to to this?

All help is appreciated
macintosh0 is offline   Reply With Quote
Old 11-26-2011, 04:04 AM   #2 (permalink)
Nate Tha Great
 
Join Date: Oct 2011
Location: Bay Area
Posts: 9
NathanC is on a distinguished road
Default

Quote:
Originally Posted by macintosh0 View Post
Hi, I am trying to create a "book" you can click trough with buttons (not done with the buttons, see the image below)

Here is a image to illustrate what I am trying to do:



I want the same tab bar at the bottom and the same navigation bar at the top on all the pages. How can I do that?

Do I need to create new classes for every page, or is it a smarter way to to this?

All help is appreciated
If the every page will be the same layout (i.e. just text with a page number label) I would create a Page.h/m singleton (subclass NSObject) to manage the objects. Have some way of loading the data into a "Page" object and added onto an array stack or I guess you could overwrite the same piece but might make for changing pages to ones youve been too slow. As you click through the buttons have the PageController load new data into the labels.

I'm not sure the technical way to phrase it but I'm sure you're smart enough to flesh out the idea a bit more.
NathanC is offline   Reply With Quote
Old 11-26-2011, 05:56 AM   #3 (permalink)
Registered Member
 
Join Date: Feb 2011
Posts: 5
macintosh0 is on a distinguished road
Default

Quote:
Originally Posted by NathanC View Post
If the every page will be the same layout (i.e. just text with a page number label) I would create a Page.h/m singleton (subclass NSObject) to manage the objects. Have some way of loading the data into a "Page" object and added onto an array stack or I guess you could overwrite the same piece but might make for changing pages to ones youve been too slow. As you click through the buttons have the PageController load new data into the labels.

I'm not sure the technical way to phrase it but I'm sure you're smart enough to flesh out the idea a bit more.
Hi, thanks for the answer!

I am planning to have pictures and different text layout on every page.
How coud I create a new view for every page and still keep the tab bar at the bottom?
Or is it an simpler way to do it?
macintosh0 is offline   Reply With Quote
Old 11-26-2011, 08:10 PM   #4 (permalink)
Nate Tha Great
 
Join Date: Oct 2011
Location: Bay Area
Posts: 9
NathanC is on a distinguished road
Default

Quote:
Originally Posted by macintosh0 View Post
Hi, thanks for the answer!

I am planning to have pictures and different text layout on every page.
How coud I create a new view for every page and still keep the tab bar at the bottom?
Or is it an simpler way to do it?
The tab bar will stay at the bottom of the screen regardless, it's the top-most level of an iPhone app. Everything else that you do will conform to using the tab-bar in that part of the app.
NathanC 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: 402
15 members and 387 guests
chiataytuday, Clouds, David-T, dedeys78, Duncan C, e2applets, EvilElf, iekei, ipodphone, leostc, LunarMoon, Murphy, sacha1996, Sami Gh, teebee74
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,676
Threads: 94,127
Posts: 402,912
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jleannex55
Powered by vBadvanced CMPS v3.1.0

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