Attempts to register a subclass of NSURLProtocol, making it visible to the URL loading system.
Original signature is '+ (BOOL)registerClass:(Class)protocolClass'
Available in Mac OS X v10.2 with Safari 1.0 installed and later.
- protocolClass (Class)
- The subclass of NSURLProtocol to register.
YES if the registration is successful, NO otherwise. The only failure condition is if protocolClass is not a subclass of NSURLProtocol.
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)