• 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: Objective C playing funny, or just me?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objective C playing funny, or just me?


  • Subject: Re: Objective C playing funny, or just me?
  • From: "Erik M. Buck" <email@hidden>
  • Date: Wed, 10 Oct 2001 02:30:34 -0500

> newPath = [NSBezierPath bezierPathWithRect:NSMakeRect(0,0,0,0)];

The above line returns an autoreleased object that is deallocated before
mouseDown is called.

You must retain the path if you want to keep references to it.


References: 
 >Objective C playing funny, or just me? (From: Ruben Westerberg <email@hidden>)

  • Prev by Date: Re: Persistance
  • Next by Date: Re: Persistance
  • Previous by thread: Objective C playing funny, or just me?
  • Next by thread: Re: Objective C playing funny, or just me?
  • Index(es):
    • Date
    • Thread