|
From: | Richard Frith-Macdonald |
Subject: | [task #5362] Use initWithBytesNocopy:length:encoding:freeWhenDone: as designated init |
Date: | Tue, 28 Mar 2006 06:46:50 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/417.9 (KHTML, like Gecko) Safari/417.9.2 |
URL: <http://savannah.gnu.org/task/?func=detailitem&item_id=5362> Summary: Use initWithBytesNocopy:length:encoding:freeWhenDone: as designated init Project: GNUstep Submitted by: CaS Submitted on: Tue 03/28/06 at 06:46 Category: Foundation Should Start On: Tue 03/28/06 at 00:00 Should be Finished on: Tue 03/28/06 at 00:00 Priority: 4 Status: None Privacy: Public Assigned to: None Percent Complete: 0% Open/Closed: Open Effort: 0.00 _______________________________________________________ Details: We should restructure the string classes to use the new initWithBytesNocopy:length:encoding:freeWhenDone: method as the designated initialiser so that we make it easier for people to implement subclasses and so that all normal string initialisation can go through on point where validation can be done and where we can decide (on the basis of the byte data provided) which subclass is most appropriate. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/task/?func=detailitem&item_id=5362> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |