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 8435335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:53:12+00:00 2026-06-10T06:53:12+00:00

It is my first app that I am trying to build in IOS and

  • 0

It is my first app that I am trying to build in IOS and I have some problems. Although I have read similar threads here I was not able to find the answer.

Well here are my classes:

Homeview.h

@interface HomeView : UIViewController{

    NSString *parsed_date;
}

@property (nonatomic,retain) NSString *parsed_date;

@end

Homeview.m

@synthesize parsed_date;
parsed_date=[res objectForKey:@"date"];

and I want date which prints out normally in my homeview to be passed in other view.

Here are my other class:

Otherclass.h

#import <UIKit/UIKit.h>

@interface OtherView : UIViewController{
    NSString* tracks_date;
}
@property (nonatomic,retain) NSString* tracks_date;
@end

Otherclass.m

#import "OtherView.h"
#import "HomeView.h"

@interface OtherView ()

@end

@implementation OtherView
@synthesize tracks_date;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    //preview value of other class
    NSLog(@"Dated previed in OtherView: %@", HomeView.parsed_date); //HERE IS THE ERROR
}

- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

@end

And here is my error:

property parsed_date not found on object of type "HomeView"
  • 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-10T06:53:13+00:00Added an answer on June 10, 2026 at 6:53 am

    The problem is that you are not using an instance of HomeView. You need to instantiate HomeView, and then you can access the property through the new instance.

    It should look a bit like this:

    - (void)viewDidLoad
    {
        [super viewDidLoad];
    
        // Do any additional setup after loading the view.
        HomeView *homeView = [[HomeView alloc] init];
        homeView.parsed_date = ...assign a value to the property
    
        //preview value of other class
        NSLog(@"Dated previed in OtherView: %@", homeView.parsed_date); //read the value
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to build my first iOS app that parses json from a
I'm trying to build an app that features a button on the first view,
I'm trying to build my first facebook app, and it seems that the python
Well I am trying to upload my first app in IOS. I have done
I am trying to simplify the build->archive->submit process for iOS app publishing. We have
I'm trying to build my first GIS app with GeoDjango and I have a
I'm trying to build my first ruby gem that contains some classes I want
I'm trying to create an app (my first) that generates invoices for me. Originally
I am creating an app that requires some settings to be set first before
I have an app, in that app if its the first time the user

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.