Re: Can I use NSString classes SYNCHRONOUSLY?
Re: Can I use NSString classes SYNCHRONOUSLY?
- Subject: Re: Can I use NSString classes SYNCHRONOUSLY?
- From: Dave Dribin <email@hidden>
- Date: Wed, 14 May 2008 11:03:58 -0500
On May 14, 2008, at 10:22 AM, email@hidden wrote:
I'm reading up on NSStream; where delegation is used for
Asynchronous process.
However, I need Synchronous processing.
NSInputStream isn't asynchronous + delegate for reading (are you
confusing it with another class?), but it's still a pain to read until
EOF. Check out dd_readUntilEndOfStream I used on a previous project
(MIT license):
<http://ddribin.googlecode.com/svn/trunk/nsurl/NSInputStream+DDExtensions.m
>
-Dave
_______________________________________________
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