loading server push
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