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

  • SEARCH
  • Home
  • 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 8828799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:41:23+00:00 2026-06-14T07:41:23+00:00

I am trying to pass data from one ViewController to another using storyboard. Please

  • 0

I am trying to pass data from one ViewController to another using storyboard.

Please note this log message:

2012-11-13 22:25:41.711 Modern Notes[8991:15d03] DetailView - (null) 
2012-11-13 22:25:41.714 Modern Notes[8991:15d03] MainView - {
CurrentDate = "2012-11-13 05:12:46 +0000";
NoteInString = "This is the first note. It will appear here while testing the app.";
}

You will see that DetailView – has nothing and that MainView show the contents off an array.
The Array is passed on from the MainView. Now both log Messages are generated by this line:

NSLog(@"DetailView - %@", _notedict);

and

NSLog(@"MainView - %@", noteDetailViewControler.notedict);

Where notedict is the Dictionary that holds the information. As you can see (i think) in theory both Log messages should display this array right??

Now it seems strange to me that DetailView is being shown in the Log before MainView where I think it should be the other way around??

Cheers for any tips and happy to provide any details if needed.

EDIT:

ok, so this is where I am sorting my details out:

in the method:

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {

I have a line

noteDetailViewControler.notedict = [_listNotes objectAtIndex:indexPath.row];

Now I think my problem is that this line is only set locally and is not carried over to another viewcontroller – am I right??

  • 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-14T07:41:24+00:00Added an answer on June 14, 2026 at 7:41 am

    Obviously _notedict is not yet set, or already removed again, when you log it in the DetailView. You need to show us, when (in which method) you initalize the data, when you log it and when you show the mainView / detailView. We can not not help anymore with the information given right now.

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

Sidebar

Related Questions

I'm trying to pass data from one activity to another via Intent.putExtras like this:
I'm trying to pass data from one page to another. www.mints.com?name=something How to read
I'm trying to pass an object from one handler to another using the ChannelContext.attr()
I am trying to pass a data from one click function to another and
I am using sessions to pass user information from one page to another. However,
I am stuck on passing data from one ViewController to another. The scenario is
I am trying to pass Array from one class to another I used detailViewController.nameArray
I'm trying to pass post data from one page to the next but PreviousPage
I am trying to pass a string from one activity to another. I do
I'm trying to pass some data from one activity to a new one but

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.