-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NSURL、NSURLComponent #105
Comments
NSURL 和 NSURLComponent一、 NSURL1. 简介
很多像HTTP的协议中会定义有一定的规范结构,例如:username、password、port, 以及hierarchical part 中的 path: 以 URL
二、 NSURLComponentNSURL 和 NSURLComponents 的不同之处在于,URL component 属性是 readwrite 的。它提供了安全直接的方法来修改URL的各个部分。 另外,NSURLComponents 也有 readwrite 属性对每个 component 进行 [percent-encoded]。 NSURLComponents 的典型应用场景就是 URL 解析,获取其中的参数。
FAQQ: How to deal with some special characters in an URL, like chinese?
If you want to retrieve the original characters in an url,
|
No description provided.
The text was updated successfully, but these errors were encountered: