Nov 6, 2008, 03:46 PM
hi folks, i was wondering what do you usually use when you need to download binary stuff from an http server, together with some other data. for example when you make a request and expect to receive a few images in a response, and each image tagged with a caption and a date, for example. i was thinking of an xml response from the server, with the contents of the binary (image) file in a CDATA field, and base64-encoded. where can i find, and how can i use, a base64 decoder in cocoa? or, generally speaking, is there a better alternative than this. thanks.