• 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
Nevermind
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Nevermind


  • Subject: Nevermind
  • From: Dan Huntsinger <email@hidden>
  • Date: Mon, 05 Nov 2001 12:55:49 -0800

I just realized that my last message about NSImage initialization was pretty
dumb. I think I found my problem. The "title" string that I'm releasing
was never actually allocated, and so doesn't need releasing, hence the
access error and crash. I guess was treating the "pathForImageResource"
method like a convenience constructor for the string, when it is not.
Please correct me if I'm wrong.

Thanks,
Dan


  • Follow-Ups:
    • Re: Nevermind
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: NSImage initialization question
  • Next by Date: Re: cocoa newbie questions
  • Previous by thread: Re: NSImage initialization question
  • Next by thread: Re: Nevermind
  • Index(es):
    • Date
    • Thread