• 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
loading server push
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

loading server push


  • Subject: loading server push
  • From: Jan DeVries <email@hidden>
  • Date: Mon, 5 Dec 2005 19:28:53 +0100

I am very, very new to cocoa; first try. Books are on their way ;-)

My objective is loading server push. i.e a 'Content-Type: multipart/x- mixed-replace'

Think webcam. Repacing image with a new image... This works well in safari. Now i want this in a cocoa app.

I am trying to achieve this with NSURLConnection.
The question: how do you load the resulting data into an NSImage.
I get connectionDidFinishLoading only when the loading is finished. Which does not happen with multipart....
So i guess the question is: How can you detect when a part has been downloaded?

Or should i go for this with webView to? webView though, represents a whole web page where i only want one image in my app and fix its size.

Thank,
Jan

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

This email sent to email@hidden
  • Prev by Date: Re: Optimizing NSTreeController setContent: calls
  • Next by Date: Re: How to get NSText for custom NSCell in NSTable?
  • Previous by thread: Re: Optimizing NSTreeController setContent: calls
  • Next by thread: Do bindings "pay attention" to visibility of control?
  • Index(es):
    • Date
    • Thread