• 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: NSString and string contains
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString and string contains


  • Subject: Re: NSString and string contains
  • From: j o a r <email@hidden>
  • Date: Sun, 2 Mar 2008 23:01:19 +0100


On Mar 2, 2008, at 10:44 PM, Andrew Merenbach wrote:

You probably want to use enumerators and something like the following code:


...and if you're on 10.5 (or later - even if that's kind of unlikely at this point) you'd use the new FAST enumerator:

for (NSString *string in array)
{
	// Do stuff with the string
}

j o a r


_______________________________________________

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


  • Follow-Ups:
    • Re: NSString and string contains
      • From: Andrew Merenbach <email@hidden>
References: 
 >NSString and string contains (From: Tom Jones <email@hidden>)
 >Re: NSString and string contains (From: Andrew Merenbach <email@hidden>)

  • Prev by Date: Re: NSString and string contains
  • Next by Date: Re: NSString and string contains
  • Previous by thread: Re: NSString and string contains
  • Next by thread: Re: NSString and string contains
  • Index(es):
    • Date
    • Thread