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 Game Development

Reply
 
LinkBack Thread Tools Display Modes
Old 04-12-2010, 10:08 AM   #1 (permalink)
Registered Member
 
Join Date: Apr 2010
Location: NYC
Posts: 10
pyrocc is on a distinguished road
Default **Best Approach**

Hey all,

I am working on a riddle based game where you solve riddles from all over the world. The problem is this. I do not want to have 30 View Controllers representing the 30 riddles (and their solutions). I want to construct a database that contains the riddles text and solution (which is a lot of code) and have only one generic VC for the riddle screen. Once u click on a riddle, you go to the generic Vc and the database populates the generic screen with the appropriate solution and riddle. I think this would do wonders for loading time. Any ideas?

PS: Maybe loading 30-35 VC isnt so bad?
pyrocc is offline   Reply With Quote
Old 04-13-2010, 02:30 AM   #2 (permalink)
Registered Member
 
Join Date: Aug 2009
Location: Poland
Posts: 11
mobo is on a distinguished road
Default

If the riddles do not utilize big images then you could try to create all views at the start (by [UIImageView alloc] initWithImage... ,add them to the main view and move unused offscreen.


Quote:
Originally Posted by pyrocc View Post
Hey all,

I am working on a riddle based game where you solve riddles from all over the world. The problem is this. I do not want to have 30 View Controllers representing the 30 riddles (and their solutions). I want to construct a database that contains the riddles text and solution (which is a lot of code) and have only one generic VC for the riddle screen. Once u click on a riddle, you go to the generic Vc and the database populates the generic screen with the appropriate solution and riddle. I think this would do wonders for loading time. Any ideas?

PS: Maybe loading 30-35 VC isnt so bad?
mobo is offline   Reply With Quote
Reply

Bookmarks

Tags
controller, database, riddle, view

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: 405
8 members and 397 guests
iOS.Lover, JackReidy, jeroenkeij, Leslie80, Sami Gh, Wikiboo, Yosh_K
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,671
Threads: 94,121
Posts: 402,903
Top Poster: BrianSlick (7,990)
Welcome to our newest member, JackReidy
Powered by vBadvanced CMPS v3.1.0

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