Re: newbie EXC_BAD_ACCESS
Re: newbie EXC_BAD_ACCESS
- Subject: Re: newbie EXC_BAD_ACCESS
- From: Daniel Child <email@hidden>
- Date: Mon, 21 Mar 2005 16:03:45 -1000
Hi,
I'm not disagreeing with his approach. His four lines of code were
equivalent to my 20 or 25—and had the distinct advantage of actually
working!—but until I am so used to the idiom that I can write extremely
dense code like his, it might be good to break things up a bit.
In Kochan and Hillegas I don't remember seeing any attempts to write +
(class) methods. I'm hoping to see how the same thing could be done
either way, and then understand what's the difference.
Daniel
On Monday, March 21, 2005, at 03:02 PM, Charilaos Skiadas wrote:
I do think though, Daniel, that you would be better off, for
modularity, going with Hamish's suggestion of having your
StrokeDescription class implement a constructor that would return an
autoreleased object with the type and description provided, as in the
strokeDescriptionWithType, and structuring your code as he suggested.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden