• 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: cocoa-dev digest, Vol 2 #831 - 15 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cocoa-dev digest, Vol 2 #831 - 15 msgs


  • Subject: Re: cocoa-dev digest, Vol 2 #831 - 15 msgs
  • From: Cameron Hayne <email@hidden>
  • Date: Mon, 24 Jun 2002 13:07:38 -0400

Albert Atkinson <email@hidden> wrote:
fileName = [programBundle pathForResource:@"Apple" ofType:@"tiff"];
fileNameThrust = [programBundle pathForResource:@"Apple Thrust" ofType:@"tiff"];

I think you need to 'retain' these two NSStrings.
As a general rule, you need to either alloc or retain all of your ivar pointers.

... Cameron
--
Cameron Hayne (email@hidden)
Hayne of Tintagel
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: How to get notified on PPP connect/disconnect?
  • Next by Date: Re: Corruption of text display in NSTextView
  • Previous by thread: Re: OpenGL Sprites...
  • Next by thread: NSTask problems
  • Index(es):
    • Date
    • Thread