On Tue, Jun 3, 2008 at 12:51 PM, Kyle Sluder
<[EMAIL PROTECTED]> wrote:
> On Tue, Jun 3, 2008 at 11:15 AM, Gordon Apple <[EMAIL PROTECTED]> wrote:
>>    I tried exactly that.  It did nothing but a horrendous crash when I
>> tried to type text.  I couldn't even trace it.  I never even got to the copy
>> part.  I got the same result with a totally empty subclass. Shouldn't it
>> have worked the same?s What gives with that?
>
> It might have something to do with the fact that, according to the
> documentation, NSTextStorage is a "semiconcrete subclass of
> NSMutableAttributedString."  What confuses me about this is that the
> words "concrete" and "abstract" have very well-defined meanings...
> "semiconcrete" is bizarre and meaningless.  Doesn't that just mean
> it's abstract?

I interpret it as meaning that NSTextStorage is concrete in the sense
that you can instantiate it directly. But, you can't inherit its
implementations of NSMutableAtributedString's primitive methods; so,
when subclassing NSTextStorage it's considered an abstract superclass
that requires you to implement the primitive methods.

sherm--

-- 
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to