objective c - iOS Project Structure for Presentation App


  • I'm gonna build presentation app, which will present a brand product.
  • Presentation will have multiple slides (states) with common background.
  • In some slides I can go back to previous slide

My questions:

1. Do I have to use View Based Application?
2. For each state (slide) should I use separate UIViewControllers?
3. What best structure for presentation app you would suggest?

Thank you!

2 Answers: 

iOS5 SDK introduces Storyboard. You should definitely look into this for your presentation app, here is a tutorial on Using Storyboard.

  1. Do I have to use View Based Application?
  2. For each state (slide) should I use separate UIViewControllers?
  3. What best structure for presentation app you would suggest?
  1. No. The difference between the various app project templates lies mainly in how the view controllers are set up. You can read all the provided code and modify it however you like for your project. If you don't plan to use a navigation controller or a tab bar controller in your app, the view-based app template might be the easiest one to go with, but choose whichever template best suits your needs and don't be shy about changing the code.

  2. Not necessarily. If all the slides are treated the same way, it might make sense to create a single SlideViewController class that can display any slide and knows how to transition to the next or previous slide, which it might do by using animation to move one slide off the screen and the next into position.

  3. I don't think anyone could say what's "best" without a lot more information about your requirements, but personally I'd lean toward either a single view controller instance for all the slides, or a single slide view controller class with one instance per slide. I'd want to treat all slides uniformly -- you don't want to have to figure out which view controller class to use with any given slide.


More Articles

How to run a Video Presentation on Android in loop?

I have a group of Android Tablets and I need them to only run a Video Presentation as Company Gift Card.The idea of this project is the same of usually Company's Gift PENs, where the Company give to their presentation audience the information in the PEN, but this case we will have on an Android Tabl

r - select certain elements to build incrementally ioslides

I'm building a presentation using ioslides in RStudio. I have a following slide:```{r, echo=FALSE}logo<-"logo.jpg"```## Playing with R<IMG style="position:absolute;top:5.5%;right:5%;width:140px;"SRC="`r logo`">Type in the interactive console:```{r, eval=FALSE}x <- 1:10 # "name <- valu

android - MediaRouter connect second time

I am using Android's MediaRouter / Presentation API (the support.v7 version).Everything works fine so far. The only thing that doesn't is:When I quit my activity (e.g.teardown & remove the callbacks), everything still works fine. However, when starting this activity (the previous mediarouter-act

r - Start with highlight mode enabled in ioslides

In ioslides presentation with Rmarkdown, there is an option to enable highlight mode in each slide by pressing h. Is there some way to make the highlight mode enabled by default and disable it by pressing h.

r - How can I incrementally build a plot in an ioslide presentation using Rmarkdown?

I'm trying to build a plot incrementally on one slide using Rmarkdown to create an ioslides (HTML) presentation. I've tried using {.build} but to no avail, and it seems there is no documentation on this in the Rmarkdown community. Does anyone know how to write this code in R?Here is a MWE where I tr

r - Embed javascript in Xaringan presentation

I have an interactive pooling question created using polleverywhere that would like to insert into my Xaringan rmarkdown presentation:<script src="https://www.polleverywhere.com/multiple_choice_polls/U43TXrlame7hw6J/web.js?height=250&results_count_format=percent&width=300"></script&

r - How to Make RStudio Presentation Self-contained?

I'm writing a presentation in R using RStudio. To create new presentation, I select "R Presentation" from the File => New File menu. RStudio creates new document. Here is the template:New Presentation========================================================author: date: First Slide===================

ios - Error: Attempt to present <UIImagePickerController: on <ViewController: while a presentation is in progress

Hey everyone and thank you for reading. I am making an app which you can take pictures and retreive pictures from the camera roll and display it on a view. The problem is that when I try to use the button which brings up the camera roll, I get the error "presentation is in progress" as above in the

git - replaying code for a hands on code presentation

So I need to conduct a workshop where I will be coding live on stage to build a demo app while the audience may follow.First problem is my typing speed is slow and secondly we have a fixed time span in which to complete the presentation.I have seen some youtube videos where presenters will use some

javascript - Make programmatically presentation

I would like to know if there is a way to create presentation (other than prezi's or powerpoint's) programmatically ?I mean maybe a library or something exists in a specific language (html/css or javascript would be great) ?Thanks for the answer :)