• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Help with threads and queues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with threads and queues


  • Subject: Re: Help with threads and queues
  • From: James Bucanek <email@hidden>
  • Date: Fri, 30 Apr 2010 07:55:17 -0700

Paul Franz <mailto:email@hidden> 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 (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


  • Follow-Ups:
    • Re: Help with threads and queues
      • From: Paul Franz <email@hidden>
References: 
 >Help with threads and queues (From: Paul Franz <email@hidden>)

  • Prev by Date: Re: Help with text input
  • Next by Date: Re: test if folder contains file based on NSURLs
  • Previous by thread: Re: Help with threads and queues
  • Next by thread: Re: Help with threads and queues
  • Index(es):
    • Date
    • Thread