Re: Converting NSArray of NSString elements into binary?
Re: Converting NSArray of NSString elements into binary?
- Subject: Re: Converting NSArray of NSString elements into binary?
- From: Scott F Bayes <email@hidden>
- Date: Wed, 3 Oct 2007 11:06:47 +0900
You're very welcome.
ScottB
On Oct 2, 2007, at 11:48 , R.L. Grigg wrote:
On Oct 1, 2007, at 7:27 PM, Scott F Bayes wrote:
Replace the %x in fscanf() with %d for decimal text
representation. The %d or %x skips all leading whitespace
including newlines, so shouldn't matter how many numbers you have
on a line.
The Cocoa approach looks like a bit more of a struggle than the
above.
Scott,
I'm beginning to think so too. I just discovered that NSString
componentsSeparatedByString:@" " is not the same thing as
componentsSeparatedByWhiteSpace, which doesn't exist, making the
Cocoa approach not so useful in my situation. :(
Your clever idea to use fscanf with C indexing hadn't occurred to
me. I will pursue this route.
Thanks!
Russ
_______________________________________________
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