• 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
GCD / Dispatch IO and NSIncrementalStore
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GCD / Dispatch IO and NSIncrementalStore


  • Subject: GCD / Dispatch IO and NSIncrementalStore
  • From: Brad Gibbs <email@hidden>
  • Date: Wed, 27 Jul 2011 09:47:17 -0400

Hi,

I've been following the Using a GCD Client thread and the thread in iOS5 on devforums, and I have a related question.

I'm working on a Core Data-based app with a server and several clients messaging over a local network. I've been using CocoaAsyncSocket for testing.

I spoke with a Core Data developer at WWDC this year about how NSIncrementalStore could work in my app.  He suggested using dispatch_io in combination with NSIncrementalStore.

My understanding of how this would work is sketchy, at best.  I think the idea is that a client updates an NSIncrementalStoreNode, serializes the changes and sends them to the server using dispatch_io.  My development has been stalled for a while now, waiting for the NDA on Lion to be lifted and waiting for someone to write a blog post or a book covering the topic or waiting for a sample app from Apple.  The approach seems very similar to the approach suggested in a session at WWDC 2010 -- Building a Server-Driven User Experience.  But, what little I've found on NSIncrementalStore seems to imply that the API is meant to be used with some kind of web server back-end.

When the fog surrounding NSIncrementalStore lifts, will this be a viable approach?  Just as the OP in the devforums thread managed to save a lot of time by moving to NSURLConnection, I'm hoping to avoid problems I don't fully understand.


Thanks.

Brad
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions ) (From: Eric Gorr <email@hidden>)
 >Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions ) (From: "Quinn \"The Eskimo!\"" <email@hidden>)
 >Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions ) (From: Eric Gorr <email@hidden>)
 >Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions ) (From: "Quinn \"The Eskimo!\"" <email@hidden>)

  • Prev by Date: Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions )
  • Next by Date: SOCKS proxy support
  • Previous by thread: Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions )
  • Next by thread: Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions )
  • Index(es):
    • Date
    • Thread