Re: Searching Book X and Getting Snippets
Re: Searching Book X and Getting Snippets
- Subject: Re: Searching Book X and Getting Snippets
- From: David Yamartino <email@hidden>
- Date: Sun, 25 Jan 2009 13:27:39 +1000
Hi David,
I looked at all the example code here:
but wasn't able to locate any sample for TextEdit, as you had mentioned.
Could you provide a link? I'm probably looking in the wrong place.
Thanks,
David
On Sun, Jan 25, 2009 at 6:36 AM, David Dunham
<email@hidden> wrote:
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
_______________________________________________
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