Re: Searching Book X and Getting Snippets
Re: Searching Book X and Getting Snippets
- Subject: Re: Searching Book X and Getting Snippets
- From: David Dunham <email@hidden>
- Date: Sat, 24 Jan 2009 12:36:37 -0800
On 23 Jan 2009, at 22:45, David Yamartino wrote:
Thanks for your help with my original query about NSString
rangeOfCharacterFromSet:options. From the responses, I see that
there are
many ways to approach my simple-search project. So I'm taking a step
back
and asking a broader question: Here's what I'm trying to do:
A user inputs a search term (like "fruits and nuts"), clicks the
search
button, and the app searches Book X (a .txt file on my computer) and
returns
snippets with the search term highlighted:
You might want to look at the sample code TextEdit, which implements
search.
David Dunham A Sharp, LLC
Voice/Fax: 206 783 7404 http://a-sharp.com
Efficiency is intelligent laziness.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden