Mac OS X Reference Library Apple Developer Connection spyglass button

Version: 1.0

Posted: 2006-03-13

Build Requirements: Xcode 2.1

Runtime Requirements: Mac OS X 10.4

View Source Code:

Download Sample Code (“SpecialPictureProtocol.zip”, 76.8K)



Description

This sample includes a custom NSURLProtocol that creates jpeg images on the fly in memory so they can be displayed in a webView. Also this sample illustrates the recomended technique for sharing information between your webView's WebResourceLoadDelegate object and your custom NSURLProtocol object.

Document Revision History

Date Notes
2006-03-13Use a custom NSURLProtocol to create jpeg images in memory for display in a webView.
Did this document help you? Yes It's good, but... Not helpful...