Header, Input, and Choice

Discussion in 'iOS Programming' started by wkburkert, Apr 28, 2012.

  1. wkburkert macrumors newbie

    Apr 28, 2012
    I am very new to iOS programming and I am trying to get started on making an App for scientific calculations but cant seem to find how to do a simple pull-down menu that will allow a user to assign a unit of measurement to a value they just input.

    I will have many inputs, typically four per row. Each input will have a title/header text then below the title/header there will be an input block and, the part I am having the most problem with, a pull-down menu that will allow a user to select a unit of measurement, as an example, inches or millimeters. When the selection is choosen I would like the menu to shrink and display the selected value. Wondering if someone can lead to an example?

    I would like the selected unit of measurement to look like the header text meaning no frame or any indication that the item is a pulldown menu because sometimes some units will not have a unit of measurement because they could be a percentage where I would have the percent symbol below the input. The idea is to have a very uniform display of headers, input blocks, and units.

    I have done this entire app on an android and trying to make the same thing for iOS and find it hard to get started. ANy guidance is greatly appreciated.
  2. jnoxx macrumors 65816


    Dec 29, 2010
    Aartselaar // Antwerp // Belgium
    First block of your text = UIPicker instead of a Drop Down, a Drop Down does not exist unless you use external libraries :)
    Or write your own UITableView with custom headers which drop down etc, but I think that's a bit out of your league for now.
    So I think that's a good start for you there :)
  3. iosdev macrumors newbie

    May 4, 2012
    Show me screen of Android app or make a schema of needed component, maybe UIPickerView not the best component to solve your problem, if you need Android kind select, you need to do it your self(from Nib or better in Code)

    Custom UITableView with delegate to parent class will help.

    If you need more help, send me a message and i'll write a code for you, it's a little late here and i'm lazy now )
  4. PhoneyDeveloper macrumors 68040


    Sep 2, 2008
    You need to look at other apps to find what you want. Look at Apple's Settings.app. Download free apps and look through them.

    Also read Apple's Human Interface Guildelines and the Application Programming Guide. These will help you come up to speed on what standard views look like and what they're for.

Share This Page