NSScanner? (was Re: NEWBIE: Easier way to do strings?)
NSScanner? (was Re: NEWBIE: Easier way to do strings?)
- Subject: NSScanner? (was Re: NEWBIE: Easier way to do strings?)
- From: mmalcolm crawford <email@hidden>
- Date: Wed, 13 Mar 2002 17:30:33 -0800
On Wednesday, March 13, 2002, at 04:05 PM, Tyler Vano wrote:
I seem to recall a string data type.
CFString? Just like an NSString, but implemented as a pure C struct,
with function calls instead of methods. I don't think it's going to get
you much further though...
Are there any routines for working with these? (extracting
substrings, search and replace, etc.?) If not, how
would I go about writing my own?
Umm, there are such methods in NSString:
http://developer.apple.com/techpubs/macosx/Cocoa/TasksAndConcepts/ProgrammingTopics/
Strings/index.html
There's also NSScanner...
On the subject of which, though, I'm sure I saw a note somewhere
somewhen that NSScanner is deprecated? Is this true?!
If you don't mind an external framework, as recently as February 20
James Montgomerie pointed out:
Mike Ferris' MOKit has a more Cocoa-friendly, Unicode-save
implementation of regular expressions, so you might want to take a look
at it (http://www.lorax.com/FreeStuff/MOKit.html)
And finally, could anyone point me towards a really
good beginner's reference (online) to learning the
Objective-C language? Most of the documents I've found
consist of 20 chapters, each one assuming you've
already read the other 19. =)
The best introduction is at:
http://developer.apple.com/techpubs/macosx/Cocoa/ObjectiveC/index.html
You only really need the chapters three and four get get a good
grounding, but chapter two is well worth reading.
mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.