Re: NSAffineTransform turning into NSCFString
Re: NSAffineTransform turning into NSCFString
- Subject: Re: NSAffineTransform turning into NSCFString
- From: Art Isbell <email@hidden>
- Date: Wed, 27 Jun 2001 11:58:54 -1000
On Wednesday, June 27, 2001, at 05:05 AM, Kyle Mandli wrote:
During the mouseDown method I try to append a new
transformation to the instance of NSAffineTransform in the
class but it gives me -[NSCFString transformPoint:]: selector
not recognized.
I've experienced this behavior when an object has been freed
prematurely (e.g., NSAffineTransform) and a new one allocated at
the previous object's address (e.g., NSCFString). This is
caused by a programming error.
I've also experienced this when I've added or removed an
instance variable from a header but haven't recompiled all
source files that depend on this header. The old Project
Builder (makefiles) didn't automatically keep track of
dependencies, so this could easily happen. Not sure whether the
new Project Builder (JAM) takes care of this automatically.
Cleaning and rebuilding the project solves this problem in the
short term, but something should be done to ensure automatic
recompilation of all dependent source when changes are made,
Art Isbell
Apple iServices Technical Support
http://www.apple.com/iservices/webobjectssupport/
+1-808-591-0836