An open API service indexing awesome lists of open source software.

https://github.com/materik/cocoapod-querystring

Model for parsing and appending query strings to URLs.
https://github.com/materik/cocoapod-querystring

cocoapods querystring swift url

Last synced: 11 months ago
JSON representation

Model for parsing and appending query strings to URLs.

Awesome Lists containing this project

README

          

![](logo.png)

[![](https://img.shields.io/badge/contact-@thematerik-blue.svg?style=flat-square)](http://twitter.com/thematerik)
[![](https://img.shields.io/cocoapods/v/QueryString.svg?style=flat-square)](https://cocoapods.org/pods/QueryString)
[![](https://img.shields.io/travis/materik/cocoapod-querystring.svg?style=flat-square)](https://travis-ci.org/materik/cocoapod-querystring)
![](https://img.shields.io/cocoapods/p/QueryString.svg?style=flat-square)
![](https://img.shields.io/cocoapods/l/QueryString.svg?style=flat-square)

Model for parsing and appending query strings to URLs.

# Install

```bash
pod 'QueryString'
```

# Usage

```swift
let qs = QueryString(key: "query", value: "stockholm")
let url = qs.append(to: "http://google.com")
print(url) // http://google.com?query=stockholm
```