• 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: Efficiently getting characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Efficiently getting characters


  • Subject: Re: Efficiently getting characters
  • From: Martin Wierschin <email@hidden>
  • Date: Tue, 2 May 2006 16:06:29 -0700

Hello John,

- (void)getCharacters:(unichar *)buffer range:(NSRange)aRange

This method should actually be just fine. The note about efficiency is there for those who are looking to subclass the abstract NSString class. When you have an actual NSString instance (eg: those created by @"whatever" or methods that return strings) it is already a concrete subclass that will likely have an efficient implementation of this method.


~Martin
_______________________________________________
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


References: 
 >Efficiently getting characters (From: John Nairn <email@hidden>)

  • Prev by Date: Re: Efficiently getting characters
  • Next by Date: Re: Efficiently getting characters
  • Previous by thread: Re: Efficiently getting characters
  • Next by thread: Re: Efficiently getting characters
  • Index(es):
    • Date
    • Thread