Paul Franz <mailto:paul.p.fr...@gmail.com> wrote (Thursday, April 29, 2010 5:26 AM -0400):

I am trying to convert my Java code to Objective-C code and I have run
into a problem.
< clip >
How do you do the samething in Cocoa/Objective-C?

WARNING: Gratuitous, self-serving, book plug coming up ...

Paul,

You might find my book Learn Objective-C for Java Developers (see signature) helpful. I wrote it for developers just like yourself.

Among other things, it describes how to set up and perform asynchronous, event-driven, I/O (which, as others have pointed out, is probably your best solution in this case). The book includes a sample project that demonstrates NSOperationQueue, and as a bonus there's an implementation of a thread-safe FIFO wrapped around an NSArray.



James Bucanek
____________________________________________________________________
Author of Professional Xcode 3                   ISBN: 9780470525227
<http://www.proxcode3.com/>
and Learn Objective-C for Java Developers        ISBN: 9781430223696
<http://objectivec4java.com/>

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to