• 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 ambiguities
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString ambiguities


  • Subject: Re: NSString ambiguities
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 1 Jul 2010 22:16:32 -0700

On Jul 1, 2010, at 4:02 AM, Ariel Feinerman wrote:

> I wish to get the strings from file, exclude some strings and empty strings
> and write them to file, so do you sure these methods are for that?

Yup, they should work for that. They will help you iterate over the lines in the contents, regardless of what line endings are used.

> Can you explain what you suggest by given an example?

Why not read the documentation for those methods (-paragraphRangeForRange:, getParagraphStart:end:contentsEnd:forRange:) first, and try to write some code using them, before asking for more help?

—Jens_______________________________________________

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

References: 
 >Re: NSString ambiguities (From: Ariel Feinerman <email@hidden>)

  • Prev by Date: Re: Error when closing window with IKImageBrowserView in it
  • Next by Date: Re: Error when closing window with IKImageBrowserView in it
  • Previous by thread: Re: NSString ambiguities
  • Next by thread: Error when closing window with IKImageBrowserView in it
  • Index(es):
    • Date
    • Thread