Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8970861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:48:41+00:00 2026-06-15T17:48:41+00:00

I am a new in iOS Development and I can´t move forwards… Is here

  • 0

I am a new in iOS Development and I can´t move forwards… Is here somebody with experience, who can help me to solve my problem?

I use a Storyboard. First you see a ViewController with buttons. When you click on one of the button, informations about this button appear in a TableViewCell. – until now is it clear.

Than you click on a button “Continue” (than you come back to ViewController with buttons) and choose another button from ViewController.

HOW to do it, that informations from this button comes to a TableView as a second Cell? (so that when you click on for example three of the buttons, they appear as 3 cells under each other in this table?)

My Sample Code is here to download. – (on this website click on the smallest icon “Download”).

Thank you very very much for your help!!!

Iva

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T17:48:42+00:00Added an answer on June 15, 2026 at 5:48 pm

    You need a Model to store your selections/data.

    For example: On MainViewController, when you click on button1, record that in the Model using array or just variable. Then, when you load SecondViewController, check the values in Model and load cells accordingly.

    => Example code for Model

    // Header
    @interface ModelData : NSObject
    
    @property (nonatomic) NSMutableArray selectedProducts;
    @property (nonatomic) NSInteger value1;
    @property (nonatomic) NSInteger value2;
    @property (nonatomic) NSInteger value3;
    
    @end
    
    
    // Implementation
    @implementation ModelData
    
    @synthesize selectedProducts = _selectedProducts;
    @synthesize value1 = _value1;
    @synthesize value2 = _value2;
    @synthesize value3 = _value3;
    
    @end
    

    Various options:

    1. Use NSUserDefaults to store information like settings
    2. Use a Model class as described above – it could be a singleton class
    3. Use CoreData to store and retrieve your data – complicated approach and suitable for dynamic things

    Here is a reference to a good Data Model tutorial (reported by Iva)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Obviously, I'm new to iOS development, but I could really use somebody's help. I
I new in iOS development. Can somebody help me? I have view: .h file:
I am new to ios Development. Can you help me to delete a record
I'm new in iOS development, and met this library linking problem in last few
new to iOS development, i have managed to create a basic app that can
I'm new in iOS development. But anyway now I can: post private messages to
So I'm new to iOS development and am doing all I can to learn
I'm new to iOS development but I have a big web development experience, this
I'm new to iOS development and m curious to know how can i create
New to ios development, looking for some guides, Can I develop ios application on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.