Idea for adding values to screen dynamically.

Discussion in 'iOS Programming' started by RookieAppler, Nov 8, 2012.

  1. RookieAppler macrumors member

    Joined:
    Mar 15, 2012
    #1
    Hello, I need some help regarding adding a control to UIViewController screen dynamically. So i have a UI Text Field and a button . I enter some value in the text field, then click button .This button should add the entered value to the core data in the backend ,clear the text field and also show it below, the just added value. I mean show user what he just added. I have to do like that suppose 20 times. So i want like a table with 5 rows and 4 values . So how is this possible in iOS ? I am not getting an idea. Please let me know if any of you knows/done this before.Thanks
     
  2. ArtOfWarfare, Nov 8, 2012
    Last edited: Nov 8, 2012

    ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #2
    I haven't used them yet, but from my understanding of them, Collection Views will cure what ails you:

    http://docs.xamarin.com/ios/Guides/User_Interface/Introduction_to_Collection_Views

    Edit: I just realized why the code examples in the above look so odd... it's because they're using C#/MonoTouch.

    Here's a guide with some examples using Obj-C/Cocoa Touch:

    http://www.techotopia.com/index.php/An_Overview_of_iOS_6_Collection_View_and_Flow_Layout

    Here's a tutorial:

    http://blogs.captechconsulting.com/...s-6-tutorial-getting-started-collection-views
     
  3. jnoxx macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #3
    You will need to break down your question in several parts ^_-
    So you actually got all working, expect the showing data?
    What kind of data do you want? You want a Gridview Controller? (I tend to use Grids alot, because I can modify them the way I want..), these are not standard, but there are GREAT components out there, easy to implement.
     

Share This Page