Mutable Convenience Methods
Mutable Convenience Methods
- Subject: Mutable Convenience Methods
- From: Jonathon Mah <email@hidden>
- Date: Thu, 21 Feb 2008 02:50:16 +1030
Hi,
I'm wondering if there's agreement on this before I submit it as a bug:
I think mutable subclasses should override the convenience methods of
their superclass to return a mutable version. For example,
[NSMutableArray array] and [NSMutableString string] both return
mutable versions, but [NSMutableParagraphStyle defaultParagraphStyle]
does not. Is this considered a bug in NSMutableParagraphStyle?
Jonathon Mah
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden