• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: create NSMutableString with no limit?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: create NSMutableString with no limit?


  • Subject: Re: create NSMutableString with no limit?
  • From: Heinrich Giesen <email@hidden>
  • Date: Sun, 19 Mar 2006 11:02:28 +0100


On 19.03.2006, at 01:01, James W. Walker wrote:

What's the right way to create an NSMutableString with no limit on
its capacity?  The only initialization method listed in the docs is
initWithCapacity, ...

This is not the only initialization method. Remember the enheritance property of OO languages. NSMutableString enherits all methods incl. initialization methods (about 20) from NSString and because NSString enherits from NSObject a simple init could do it.

--
Heinrich Giesen
email@hidden


_______________________________________________ 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
  • Prev by Date: Re: One NSOutlineView, more than one identical items
  • Next by Date: Re: Embedding a Framework within a Framework
  • Previous by thread: Re: create NSMutableString with no limit?
  • Next by thread: Accessing CoreData entities
  • Index(es):
    • Date
    • Thread