On Apr 20, 2016, at 22:16 , Graham Cox <[email protected]> wrote:
> 
> But it’s 10.9+ only. I really need a solution that will work back to 10.7 (or 
> 10.8 at the latest).

Then I’d guess you’d need to construct the entire URL as a string first, then 
use initWithString. Presumably ‘URLByAppendingPathComponent’ %-encodes a # 
because you’ve told it that your substring is a *path* component. If you give 
it a whole string, I’d assume it figures out that it’s got a “fragment” at the 
end.

But I’m just guessing now.

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to