School App Help!

Discussion in 'Mac Programming' started by BeerThePoodle, Mar 17, 2014.

  1. BeerThePoodle macrumors newbie

    Mar 17, 2014
    I'm using Xcode right now and I need to make a app for Science.

    App I want to make:

    I am not making the same app I have some changes.

    I want to add 15 sounds as a selection so when the background colour changes it will also make a noise. Is it possible anyone can help me! Thank you!:apple:
  2. JohnsonK macrumors regular

    Mar 6, 2014
    What have you tried or done so far?

    Or are you asking us to code the app for you? :)
  3. DennisBlah macrumors 6502


    Dec 5, 2013
    The Netherlands
    I think he just wants someone to write this into xcode? :s
  4. BeerThePoodle thread starter macrumors newbie

    Mar 17, 2014
    I made the menu. I inserted the button "Play Game" and it goes to another view where it says "Wait till the background turns green". Can someone help me with this I am struggling really badly. I don't want you to make it for me just to help. If you can thank you!
  5. ArtOfWarfare macrumors G3


    Nov 26, 2007
    We can't help if you haven't shown us what you've tried so far.
  6. BeerThePoodle thread starter macrumors newbie

    Mar 17, 2014
  7. Red Menace macrumors 6502

    Red Menace

    May 29, 2011
    Littleton, Colorado, USA
    You need to actually show us what you have done so far (and preferably not a screenshot), or at least ask a specific question ("help me" isn't very specific).

    What is in your ViewController or Game class files?
  8. chown33 macrumors 604

    Aug 9, 2009
    Your screen shot shows what appears to be an iOS app. This forum is for Mac apps, not iOS apps.

    To write an app that actually runs on your iPhone, as distinct from running in Xcode's iOS simulator, you must pay Apple's $99/year developer fee.

    The link you provided in your 1st post is to a web page with JavaScript. Why don't you write your app in HTML and JavaScript, just like the example you linked to? You don't need Xcode to do that, you don't need to learn Objective-C, and you don't need to pay $99 to Apple to make it run on your iPhone. You will still need to learn JavaScript and HTML, but you have a working example (your link).

    The one thing missing from the linked example is playing a sound. See here:

    Note that playing sounds from JavaScript can be tricky.

    You should read everything at the link I posted, and try every example they provide, on every target platform you intend to use in your science project (i.e. try it on every iOS version, every Mac OS version, and every browser version you intend to support). Keep notes on exactly which method works in which browser and which platform. If there isn't a single universal method, then you'll either have to limit the platforms you support, or you'll have to learn more about how to write HTML or JavaScript that sense what platform it's running on. Welcome to real-world programming.

    If you have no programming experience at all, you will be better served by learning to write JavaScript and HTML, rather than trying to learn Objective-C for iOS and needing to pay $99.

    Finally, you haven't actually told us what platforms you intend to run your app on, what your programming experience is, what date the project must be completed by, what your OS version is, and various other things. I have simply made guesses about your intent based on what you've posted so far.

    If your real intent is to write a Mac-resident program, then there are more ways to do that than there are for targeting iOS. In particular, Mac programs can be written in more languages, and don't need a $99 fee to run them.

    Rather than making further guesses, or needing to infer your intent, please post a clear statement of what your experience is, what platform your app needs to run on, when it must be completed by, and a list of its features. In other words, be specific about what you want to accomplish.

Share This Page