A person answering to “buaacss” writes:
> reading Adium code today, found an interesting usage of NSURL:
>
> NSURL *baseURL = [NSURL URLWithString:[NSString
> stringWithFormat:@"adium://%@/adium", [messageStyle.bundle
> bundleIdentifier]]];
> [[webView mainFrame] loadHTMLString:[messageStyle
> baseTemplateForChat:chat] baseURL:baseURL];
>
> [snip]
>
> the question is how to make a self defined protocol instead of http://?
For anyone who's worked on that code and wants to take a whack at writing an
answer to explain it:
http://stackoverflow.com/q/14096893/30461