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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T12:29:26+00:00 2026-06-07T12:29:26+00:00

SimpleTest Object: my .h (header) code: #import <Foundation/Foundation.h> @interface SimpleTest : NSObject @property (strong,

  • 0

SimpleTest Object:

my .h (header) code:

#import <Foundation/Foundation.h>
@interface SimpleTest : NSObject
@property (strong, nonatomic) NSString *tested;
@end

my .m code:

#import "SimpleTest.h"
@implementation SimpleTest
@synthesize tested;
@end

Just a simple class. I made this for a test, I actually have a bigger more complex object.

in my storyboard if I pass an object I didn’t make, for example an NSString, in the prepareForSegue from my original ViewController to my DestinationViewController, it works just fine; the destination view controller gets it fine. When I pass the simple object I made from the origin ViewController and set the string, it returns null in the Destination ViewController here is some sample code:

if ([[segue identifier] isEqualToString:@"toInsulinList"]) 
{
    IDataViewController *ivc = [segue destinationViewController];
    ivc.pListObj = self.pListObj; //My complex object, returns null in dest vc 
    ivc.tester = @"Tested"; //this is an NSString in dest vc - works fine
    simpleTest.tested = @"testObj";   
    ivc.simpleTest = self.simpleTest; //my simple object, returns null in dest vc
}

Any guesses on this? Any help is much appreciated.

  • 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-07T12:29:28+00:00Added an answer on June 7, 2026 at 12:29 pm

    The object was nil. Rookier error. 🙁

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

Sidebar

Related Questions

I have an object in a simple test scenario that uses EF Code First
I used a simple test code and created an object in Java. I used
After always running monolithic blocks of code from within my AppController object, I've just
I have a Base64-encoded object with the following header: application/x-xfdl;content-encoding=asc-gzip What is the best
i am using simpletest as my php unit test framework. i put all my
After having some trouble with object deletion, I ran a simple test: Created a
I'm trying to use simpletest to compare two numeric strings, one from an array
I'm creating a new object like this: TestObject->new(@array1, @array2) My new method looks like
Play2's anorm has a nice DSL of result parser: case class User(id:Pk[String], name:String) object
Consider the simple test class: import java.math.BigDecimal; /** * @author The Elite Gentleman *

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.