• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Does retain not work on ids?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does retain not work on ids?


  • Subject: Re: Does retain not work on ids?
  • From: Andy Lee <email@hidden>
  • Date: Mon, 23 May 2005 22:37:26 -0400

On May 23, 2005, at 10:27 PM, Ken Tozier wrote:
- (id) data
{
    return [self objectForKey: @"data"];
}
[...]
    // get retainable properties
    result.data                = [inDescription data];

What steps have you taken to confirm that [inDescription data] is returning a non-nil value? Have you set a breakpoint in the debugger? Have you inserted an NSLog?


Have you examined the code that puts the data in the dictionary in the first place, to make sure it isn't misspelling the key? You might want to put a breakpoint or NSLog there too.

--Andy

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Does retain not work on ids?
      • From: Ken Tozier <email@hidden>
References: 
 >Does retain not work on ids? (From: Ken Tozier <email@hidden>)
 >Re: Does retain not work on ids? (From: Pandaa <email@hidden>)
 >Re: Does retain not work on ids? (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: Does retain not work on ids?
  • Next by Date: Re: Does retain not work on ids?
  • Previous by thread: Re: Does retain not work on ids?
  • Next by thread: Re: Does retain not work on ids?
  • Index(es):
    • Date
    • Thread