Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Ryan Burgess

macrumors 6502
Original poster
Jan 26, 2013
320
48
Hi, I've made a few simple apps before (with the help of some people on these forums) and I'm back with more problems.

I want to make an app for laser enthusiasts such as I, where one can type in/select the power and wavelength of their laser, then the program will display a page of information about that laser with a back button to start over again.

I have made a very simple mockup of what the app should look like (I will make it pretty later :D) Included in the screenshots is what I have done.

So far all I want to test is when I click the button labeled "Green" it will go to the next page. I right clicked on the button "Green" and dragged a line to the second view controller and selected "Push". However, when I run the app all I get is an error after clicking the "Green Button". I have included the error message as well.

I have NOT written any code anywhere yet...and I'm assuming that's why this won't work, however I've been researching the internet and can't find a clear answer on how to accomplish this very simple task.

Any help would be GREATLY appreciated! Thanks!
 

Attachments

  • Piece 1 copy.jpg
    Piece 1 copy.jpg
    340.9 KB · Views: 74
  • Piece 2 copy.jpg
    Piece 2 copy.jpg
    408.1 KB · Views: 54
Your screenshot only shows part of the error you're getting.

Also make sure you are dragging it to the view controller, not elsewhere
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.