要运行示例项目,首先克隆仓库,然后在示例目录下运行 pod install
。
要使用库,请包含 WSURLBuilder 头文件
#import "WSURLBuilder.h"
并开始构建 URL
NSURL *url = [[[[[WSURLBuilder builderWithScheme:@"http"]
withHost:@"google.com"]
withPath:@"search"]
withQueryParam:@"q" value:@"WSURLBuilder"]
build];
Marcin Lukow, [email protected]
WSURLBuilder 在 MIT 许可证下可用。有关更多信息,请参阅 LICENSE 文件。