• 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: Tracking down issue; Bad call?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tracking down issue; Bad call?


  • Subject: Re: Tracking down issue; Bad call?
  • From: email@hidden
  • Date: Thu, 11 Dec 2008 11:32:35 -0500

Thank you for the reply.

For clarification:

- (void)awakeFromNib
{
     //...

     sDefDir = NSHomeDirectory();
     [sDefDir retain];

     //...

}

I added the retain per a different response and that cleared up my issue.

Knowing about the retain also added some clarity as to how the overall system operates too...

Thanks guys!

Peace, Love, and Light,

/s/ Jon C. Munson II

Quoting "I. Savant" <email@hidden>:

On Thu, Dec 11, 2008 at 10:20 AM, <email@hidden> wrote:
sDefDir is a class member NSString that is set on awakeFromNIB (set to
NSHomeDirectory).  I know it has a value because it is used to prior to any
of this stuff and works fine.  It is only set in awakeFromNIB and remains
unchanged otherwise.
....
'Course this leads to me ask WHY is sDefDir invalid???  What happened to it
and where did it happen?  I don't have any other place in the code that sets
sDefDir - only awakeFromNIB.

How can we know? You never show us where or how you create "sDefDir".

--
I.S.




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Tracking down issue; Bad call? (From: email@hidden)
 >Re: Tracking down issue; Bad call? (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Tracking down issue; Bad call?
  • Next by Date: Design for showing ridiculously huge number of images in Table View
  • Previous by thread: Re: Tracking down issue; Bad call?
  • Next by thread: Design for showing ridiculously huge number of images in Table View
  • Index(es):
    • Date
    • Thread